Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VCF-Annovar question

    Hi there,
    I am relatively new and working through stuff. I have looked around and high and low for an answer and could not find one. So here goes.

    I am trying to use annovar to convert a VCF file for analysis. When I run convert2annovar.pl, I get the following error.

    Error: invalid record in VCF file: the GT specifier is not present in the FORMAT string: <chr3 41265950 . ATTCTTTT ATTTT 68.5 . INDEL;IS=10,0.072993;DP=136;VDB=7.627334e-21;AF1=0.5;AC1=1;DP4=8,5,2,20;MQ=44;FQ=68.9;PV4=0.0017,1,1,1 PL 106,0,107>

    Needless to say, I examined my .vcf file and here is a field
    chr3 41274764 . C A 222 . DP=4288;VDB=1.423052e-28;AF1=1;AC1=2;DP4=0,0,2246,2027;MQ=44;FQ=-282 PL 255,255,0

    It is missing the "GT" tag.
    My question is, at what step do I introduce the GT tag.

    Is it with Bowtie alignment or Samtools mpileup or do I have to use separately vcftools to get the GT format in there?

    I know this is a basic question, but I am trying to figure stuff out here. Thanks for the favor of a reply. I felt the vcf documentation was not quite clear about this.

  • #2
    It should be generated in the VCF file produced after samtools mpileup variant calling stage. WHich version of samtools are you using?

    I see this from the samtools webpage:

    The VCF file produced by BCFtools does not strictly conform the VCF spec. For example, the GT genotype information is not always present because for the purpose of BCF, GT is unnecessary and takes disk space. In addition, GT is not the first as is required by the VCF spec. This can be fixed by the bcf-fix.pl script that comes with the source code package, and will be fixed in future (fixed in r880+).
    Last edited by vivek_; 07-31-2013, 10:43 AM. Reason: Added link to webpage

    Comment


    • #3
      Hi Vivek,
      Thanks for the quick reply. I am using samtools-0.1.19. I shall look more into this and try to figure out. I would be glad for any further guidance as well.
      Regards

      Comment


      • #4
        I'm not aware of your variant calling methods but I think the basic idea should be using samtools mpileup on the bam file -> output BCF -> use BCFtools to generate a VCF file (Here use -g option to generate GTs)

        You could also use GATK's unified genotyper on the BAM, which produces a VCF output by default.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Essential Discoveries and Tools in Epitranscriptomics
          by seqadmin


          The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist on Modified Bases...
          Yesterday, 07:01 AM
        • seqadmin
          Current Approaches to Protein Sequencing
          by seqadmin


          Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
          04-04-2024, 04:25 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 04-11-2024, 12:08 PM
        0 responses
        39 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        41 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 09:21 AM
        0 responses
        35 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-04-2024, 09:00 AM
        0 responses
        55 views
        0 likes
        Last Post seqadmin  
        Working...
        X