We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 650736b commit 280a95dCopy full SHA for 280a95d
samplot/__init__.py
@@ -1,2 +1,2 @@
1
#!/usr/bin/env python
2
-__version__ = "1.0.17"
+__version__ = "1.0.18"
samplot/samplot.py
@@ -2106,7 +2106,9 @@ def bam_file(bam):
2106
parser.error("alignment file {} is not in SAM/BAM/CRAM format".format(bam))
2107
idx_type = idx_options[options.index(ext)]
2108
#try the type-specific index name
2109
- if not os.path.isfile(bam + "." + idx_type):
+ picard_bam = os.path.splitext(bam)[0]
2110
+ if (not os.path.isfile(bam + "." + idx_type) and
2111
+ not os.path.isfile(picard_bam + "." + idx_type)):
2112
idx_type = idx_options[3]
2113
#try the csi index name
2114
if not os.path.isfile(bam + "." + idx_type):
0 commit comments