q30 using multicovergebam greater the target length
0
0
Entering edit mode
4.4 years ago
bioguy24 ▴ 230

I am using bedtools 2.29 multibam to output the bases in a bed that are at a minimum of q30 and am would like to output the total reads as well. Is this possible in one command? Column 4 is the target length and column 6 is the q30. Thank you :).

file.bed

chr9    135766724   135772151   5428    +   TSC1
chr9    135772560   135772742   183 +   TSC1
chr9    135772799   135773007   209 +   TSC1

command

multiBamCov -q 30 -bams sorted.bam -bed file.bed  > q30

output

chr9    135766724   135772151   5428    +   TSC1    2846
chr9    135772560   135772742   183 +   TSC1    644
chr9    135772799   135773007   209 +   TSC1    529
multibam coverage • 560 views
ADD COMMENT

Login before adding your answer.

Traffic: 3230 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6