Range violation or bug?

79 views
Skip to first unread message

AndrewW

unread,
Feb 20, 2018, 5:25:25 PM2/20/18
to sambamba-discussion
Hi everyone,

I just tried this interesting sambamba tools and got an error as Range violation as detail below. Can you help? Thanks. Andrew


$sambamba depth region -c 0 -L count.r.bed my_Aligned.sortedByCoord.out.bam -o out.txt
core.exception.RangeError@sambamba/depth.d(916): Range violation


my tested count.r.bed for human GRCh38 as
chr1:1-299
chr2:300-600
chrM:500-700
 

but it seemed ok in terminal like those below


$sambamba depth region -L chr1:1-299 my_Aligned.sortedByCoord.out.bam
# chrom    chromStart    chromEnd    readCount    meanCoverage    sampleName

$sambamba depth region -L chrM:500-700 my_Aligned.sortedByCoord.out.bam
# chrom    chromStart    chromEnd    readCount    meanCoverage    sampleName
Processing reference #25 (chrM)
chrM    499    700    2973    432.905    *

Reply all
Reply to author
Forward
0 new messages