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
          Best Practices for Single-Cell Sequencing Analysis
          by seqadmin



          While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
          06-06-2024, 07:15 AM
        • seqadmin
          Latest Developments in Precision Medicine
          by seqadmin



          Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

          Somatic Genomics
          “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
          05-24-2024, 01:16 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 06-07-2024, 06:58 AM
        0 responses
        14 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 06-06-2024, 08:18 AM
        0 responses
        25 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 06-06-2024, 08:04 AM
        0 responses
        22 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 06-03-2024, 06:55 AM
        0 responses
        16 views
        0 likes
        Last Post seqadmin  
        Working...
        X