SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
GATK: sorting vcf file given a reference file jorge Bioinformatics 4 01-14-2015 12:16 PM
Samtools mpileup/bcftools cristae8 Bioinformatics 3 05-02-2012 12:43 PM
Does bcftools generate valid VCF files? keo Bioinformatics 5 02-08-2012 11:13 AM
GATK: VCF file for Local realignment around indels jorge Bioinformatics 2 10-10-2011 11:15 PM
Converting Dindel VCF file to GATK BED file MolecularToast Bioinformatics 2 09-24-2011 06:38 PM

Reply
 
Thread Tools
Old 09-25-2011, 04:33 PM   #1
ericarcher
Junior Member
 
Location: San Diego, CA

Join Date: Aug 2011
Posts: 2
Default Conflict between mpileup/bcftools and GATK in VCF file

I'm using samtools mpileup | bcftools view to generate VCF files for reads mapped to a mitogenome reference. I would like to use the GATK VariantsToTable walker to create an importable table of the base distribution and qualities at each site. The problem I'm having is that for sites with coverage below 3 (DP=1 or DP=2), the VCF file that gets created has an 'X' in the ALT field rather than a '.'. When I put these files through GATK's VariantsToTable, I get the following error:

##### ERROR MESSAGE: The provided VCF file is malformed at line nmber 27: Unparsable vcf record with allele X

Here are some example lines from my VCF file:

#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT z0000064_mtdna-test
gi|170027011|gb|EU557096.1| 17 . T X 0.404 . DP=1;AF1=0;AC1=0;DP4=0,1,0,0;MQ=23;FQ=-8.25 GT:PLP:GQ 0/0:0,3,23:1:13
gi|170027011|gb|EU557096.1| 18 . T X 0.206 . DP=2;AF1=0;AC1=0;DP4=1,1,0,0;MQ=31;FQ=-10.9 GT:PLP:GQ 0/0:0,6,60:2:19
gi|170027011|gb|EU557096.1| 19 . T . 16.2 . DP=3;AF1=0;AC1=0;DP4=1,2,0,0;MQ=27;FQ=-13.7 PLP 0:3
gi|170027011|gb|EU557096.1| 20 . T . 16.2 . DP=3;AF1=0;AC1=0;DP4=1,2,0,0;MQ=27;FQ=-13.7 PLP 0:3
ericarcher 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 12:15 AM.


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