mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #6950 from mvdbeek/qname_sorted_sniffer
Fix sniffing of readname sorted BAM files
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
[1]
|
||||
Binary file not shown.
Reference in New Issue
Block a user