Permalink
Browse files

Fixed error message related to BAM headers mismatch

  • Loading branch information...
1 parent 237e522 commit c2178b21bd58eafdb8f407112f2fd4f9c9413af6 @yarden committed Mar 14, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 misopy/sam_utils.py
View
@@ -186,8 +186,8 @@ def fetch_bam_reads_in_gene(bamfile, chrom, start, end, gene=None):
else:
chrom_parts = chrom.split("chr")
if len(chrom_parts) <= 1:
- print "Error: chromosome %s must mismatch bamfile %s" \
- %(chrom, bamfile)
+ print "Error: chromosome %s must match bamfile." \
+ %(chrom)
chrom = chrom_parts[1]
try:

0 comments on commit c2178b2

Please sign in to comment.