Entering edit mode
7.1 years ago
Vca80553
•
0
Hi Everyone,
I have generated BAM files after mapping my Illumina reads to a reference genome. Now I want to know how much of the reference genome is covered (aligned/mapped) by reads (e.g. 98% of the reference genome is covered by reads). For that I used Bbmap/pileup.sh. It works fast and it is accurate.
However, the 98% I get is the % of nucleotides covered by at least 1 read. It it possible to modify this, and get % of nucleotides that were covered at least with 5 reads?
Thanx,
Sara
Take a look at the
pileup.sh
command options I have compiled in this thread (search for name pileup) to see if one of those options helps.Hello Vca80553!
It appears that your post has been cross-posted to another site: http://seqanswers.com/forums/showthread.php?t=78704
This is typically not recommended as it runs the risk of annoying people in both communities.
Yes, sorry. I didn't know this. My fault. Will not happen again. Thanx.
Welcome to biostars. Interesting guidelines for posting can be found in the following posts:
For
pileup.sh
Perhaps you can add those two numbers and filter on that to get the info you need.
Tagging: Brian Bushnell
Hi,
Thanx for answering.
I am not sure I understand your answer. (I am pretty new with this, sorry)
The output format gives me something like this for each sample:
The Plus reads and Minus reads give me the total number of mapped reads to the whole reference genome. How can I filter from there?
Sorry. You are right. For some reason I was thinking that the output of
pileup.sh
is per base.