This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Mask regions with high coverage in pacbio bam file

Hi,
I would like to filter out regions with >50x coverage from a pacbio hifi bamfile such that the resulting filtered bam file has zero coverage in those regions.
I tried variantbam https://github.com/walaj/VariantBam, like so: variant $bam -m 100 -o mini.bam -b but this gives me an error:
removeElem: elem of value -1 is below min bin 0,0,0
Any ideas would be greatly appreciated!
Thanks in advance

hifi bam

0 answers

No answers yet.

Log in to answer this question.