Entering edit mode
4.7 years ago
rimgubaev
▴
340
Hello everyone! I wonder if somebody could recommend how to calculate the number of positions covered by at least 10 times in bam file? To calculate the number of positions covered by at least once in the bam file I used this oneliner:
bedtools genomecov -ibam my_alignment.bam -bg | awk '{ s+=($3-$2) } END { print s }'
But I have no idea how to modify it, so please help!
Thank you, that works well!