Question: Using SomaticSniper to call variants in specific regions?
gravatar for sichan
4.9 years ago by
sichan90 wrote:


I'm using SomaticSniper version 1.0.4 to call somatic variants in my tumor/normal paired BAMs.  I don't think it's possible to call SomaticSniper in a specific region in my BAMs, correct?  There doesn't seem to be an option for the user to specify a BED file for SomaticSniper to call variants in.

One way to get around this would be to pull out the reads aligning to regions of interest in the paired BAMs, but I'd rather not do that.



sequencing snp next-gen genome • 1.2k views
ADD COMMENTlink modified 4.8 years ago by Sean Davis26k • written 4.9 years ago by sichan90

Looks like it's not possible with SomaticSniper:

C: Find Mutations In A Region

ADD REPLYlink written 4.9 years ago by sichan90
gravatar for Sean Davis
4.8 years ago by
Sean Davis26k
National Institutes of Health, Bethesda, MD
Sean Davis26k wrote:

You could consider using samtools view with a region file and then including that inside a bash IO redirection like so:

somaticsniper .... <( samtools view -R bedfile.bed tumor.bam ) <( samtools view -R bedfile.bed normal.bam )

I have not tried this, but it might do the trick.


ADD COMMENTlink written 4.8 years ago by Sean Davis26k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2175 users visited in the last hour