![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Base Quality values in BAM file | donniemarco | Bioinformatics | 2 | 06-22-2011 11:06 AM |
.SAM to .BAM with SAM file header @PG | emilyjia2000 | Bioinformatics | 13 | 06-14-2011 01:21 PM |
Single stranded coverage from sam/bam | ewilbanks | Bioinformatics | 2 | 05-14-2011 12:13 AM |
Base coverage from Bam | ElMichael | Bioinformatics | 4 | 12-01-2010 10:18 AM |
Extracting base coverage and quality values from BAM files | unagaswamy | Bioinformatics | 9 | 11-11-2010 07:55 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: Davis, CA Join Date: Mar 2009
Posts: 82
|
![]()
Hi all,
Does anyone have recommendations for good progams for calculating the per base sequence coverage for mapped reads in sam or bam format? I'd like for the output format to be human readable (not tdf) so I can input into R for downstream analysis. Sorry if this seems basic-- I just haven't been able to lay hands on just the right script and I'm sure there's one out there somewhere that will be faster than something my newbie-self can program! Thanks!!! Lizzy |
![]() |
![]() |
![]() |
#2 |
Nils Homer
Location: Boston, MA, USA Join Date: Nov 2008
Posts: 1,285
|
![]()
"samtools pileup"
|
![]() |
![]() |
![]() |
#3 |
Member
Location: WTSI Join Date: Dec 2010
Posts: 41
|
![]()
I think GATK -T DepthOfCoverage also does the job. I haven't tried the per-base coverage in GATK myself (= ran it with -omitBaseOutput), but I think samtools pileup omits bases with no coverage, so might require additional additional scripting after running the pileup. Please correct me if I'm wrong!
|
![]() |
![]() |
![]() |
#4 |
Member
Location: Vienna Join Date: Nov 2010
Posts: 10
|
![]()
Hi,
You can use genomeCoverageBed from the http://code.google.com/p/bedtools/ which can also read in BAM files. Cheers |
![]() |
![]() |
![]() |
#5 |
Senior Member
Location: NL, Leiden Join Date: Feb 2010
Posts: 245
|
![]()
Hi lizzy,
see my older thread at http://seqanswers.com/forums/showthread.php?t=7679 Hope this helps, Boetsie |
![]() |
![]() |
![]() |
#6 |
Member
Location: Davis, CA Join Date: Mar 2009
Posts: 82
|
![]()
Thanks everyone! I knew you'd all have great suggestions
![]() |
![]() |
![]() |
![]() |
#7 |
Member
Location: Tennessee, USA Join Date: Sep 2010
Posts: 61
|
![]()
Thanks for the great suggestions. I find it very useful.
|
![]() |
![]() |
![]() |
#8 |
Member
Location: Wisconsin Join Date: Jun 2011
Posts: 87
|
![]()
I find "samtools depth" pretty useful. The fact that you can get coverage for a list of target regions and also look for coverage with different base and mapping quality.
|
![]() |
![]() |
![]() |
Thread Tools | |
|
|