SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
subsetting a bam file with specific alingment length joseph Bioinformatics 4 12-28-2011 07:39 PM
How to generate allele depth at a specific position meher Bioinformatics 11 12-15-2011 12:48 PM
Get allele frequencies for specific coordinates from a .bam file mehc Bioinformatics 1 10-28-2011 12:05 PM
pileup only on a specific position foxyg Bioinformatics 8 12-22-2010 05:46 PM
PubMed: The value of position-specific priors in motif discovery using MEME. Newsbot! Literature Watch 0 05-09-2010 07:00 PM

Reply
 
Thread Tools
Old 12-09-2011, 12:45 PM   #1
Ooinp
Junior Member
 
Location: Germany

Join Date: May 2011
Posts: 6
Default Looking up specific position in bam

Hello,

the problem is: I have a dataset consisting of multiple samples with called variations. If a variant is called in sample A, but not in sample B, I want to know if:

a) The sample agrees with the reference at that position
b) The site is not covered/not sufficiently covered

This is not quite trivial to script, and might be not the fastest solution.
Looking up using samtools tview is too tedious.
Is there a way to do that without scripting?
Ooinp is offline   Reply With Quote
Old 12-09-2011, 01:14 PM   #2
swbarnes2
Senior Member
 
Location: San Diego

Join Date: May 2008
Posts: 912
Default

samtools mpileup will take multiple bams, and either make side-by-side pileups, or side-by-side VCFs (though unfortunately some of the data is consolidated, and not split out by sample)

The multi-vcf is probably closer to what you want, as it will give you some kind of quality score for all the samples at any position where one of them shows a variant.
swbarnes2 is offline   Reply With Quote
Old 12-09-2011, 01:58 PM   #3
Ooinp
Junior Member
 
Location: Germany

Join Date: May 2011
Posts: 6
Default

Thanks, it's a start. In the long term, I want to use the GATK for calling and Annovar for annotating - then the called sets might be different.
Ooinp is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 01:06 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO