Merge pull request #6950 from mvdbeek/qname_sorted_sniffer

Fix sniffing of readname sorted BAM files
This commit is contained in:
John Chilton
2018-10-31 10:40:10 -04:00
committed by GitHub
4 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -557,7 +557,7 @@ class BamQuerynameSorted(BamInputSorted):
file_ext = "qname_sorted.bam"
def sniff(self, file_name):
return super(BamQuerynameSorted, self).sniff(file_name) and not self.dataset_content_needs_grooming(file_name)
return BamNative().sniff(file_name) and not self.dataset_content_needs_grooming(file_name)
def dataset_content_needs_grooming(self, file_name):
"""
+1
View File
@@ -0,0 +1 @@
0
+1
View File
@@ -0,0 +1 @@
[1]
Binary file not shown.