bcftools - creating indels
1
0
Entering edit mode
3.5 years ago

Hi, So I am converting fastq files into vcf. I wanted to know while calling variants how to include both SNPs and indels using samtools or bcftools.

Thank you

sequencing SNP indels • 725 views
ADD COMMENT
0
Entering edit mode
3.5 years ago

Your verbiage seems a bit all over.

You can't convert FASTQ to VCF - it is not a conversion problem.

Perhaps you mean to align FASTQ to a reference, create a BAM alignment file, then call SNPs from the BAM file with bcftools.

If so you don't need to specifically ask for indels, they would be produced along the way.

ADD COMMENT
0
Entering edit mode

Hi Albert, You are exactly right, that is what I wanted to do. Sorry should have been more clear. A little follow up on that- $ bcftools call --ploidy 1 -m -v -o results/bcf/SRR2584866_variants.vcf results/bcf/SRR2584866_raw.bcf I am using this command to call SNP is there another command in bcftools to call indels?

ADD REPLY
0
Entering edit mode

when we call a tool a SNP caller it almost always also calls insertions and deletions as well.

SNP calling is technically a misnomer. Most variation callers are SNV callers (bcftools included) and are able to produce all small nucleotide variations including insertions and deletions.

ADD REPLY

Login before adding your answer.

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