mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #1930 from mvdbeek/more_bytestring_for_pysam
[16.01] Ensure chrom, start, end as bytestring in BamDataProvider
This commit is contained in:
@@ -890,6 +890,9 @@ class BamDataProvider( GenomeDataProvider, FilterableMixin ):
|
||||
"""
|
||||
|
||||
# Fetch and return data.
|
||||
chrom = str(chrom)
|
||||
start = int(start)
|
||||
end = int(end)
|
||||
try:
|
||||
data = data_file.fetch( start=start, end=end, reference=chrom )
|
||||
except ValueError:
|
||||
|
||||
Reference in New Issue
Block a user