Multisamples Snp Calling Within A Given Area
1
0
Entering edit mode
12.9 years ago
Zhshqzyc ▴ 520

Hi, This link

gives us the command how to do multisamples calling SNPS. What I want is to call snp within a particular region such as chr8:100000-200000 etc.

Then what is the command? Thanks.

samtools bcftools snp sequence • 2.1k views
ADD COMMENT
2
Entering edit mode
12.9 years ago

See the manual page for mpileup and the -r option

(...)
-r STR  Only generate pileup in region STR
(...)

e.g:

samtools mpileup -C50 -gf ref.fasta -r chr3:1,000-2,000 in1.bam in2.bam
ADD COMMENT
1
Entering edit mode

And the -l option if you have many regions....

ADD REPLY

Login before adding your answer.

Traffic: 2368 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