bcftools mpileup -r flag
1
0
Entering edit mode
5.2 years ago

Help!

I am trying to use bcftools mpileup to call variants on a set of 13 genomes. I have a reference genome that is assembled into 9 contigs. I am only interested in the SNPs on contig 2. How exactly can I use the -r flag to specify that I only want to look at contig 2?

Looking at tutorials some have regions specifies as follows:

samtools mpileup -uD -r 2L:100,000-150,000

What does the 2L mean here? I understand the 100,000 - 150,000 indicates searching for the 50KB region.

Thanks!

Assembly SNP next-gen • 1.1k views
ADD COMMENT
1
Entering edit mode
5.2 years ago
microfuge ★ 1.9k

2L should mean the chromosome/contig name. Needs to be substituted with the contig name where you want to call SNPS. I think that omitting the coordinates would do the analysis for the entire chromosome/contig.

ADD COMMENT

Login before adding your answer.

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