Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • genomics_search
    Junior Member
    • Nov 2012
    • 2

    #1

    problem in opening annovar output file in Varsifter

    Hi all ,

    I ran Annovar and got the output from it. It gives output in CSV format.
    Now I need to filter them using Varsifter, which takes the input in VCF format.

    But the problem is that even after adding the header values in the file and saving it in vcf format, it does not opens in Varsifter. It says that "Data line column count is less than required, make sure that text is tab delimited".
    VCF file: https://www.dropbox.com/s/wtns0ots93...G02023.flt.vcf
    Annovar output: https://www.dropbox.com/s/hi32mv99no...me_summary.csv

    I am attaching my vcf file and annovar output in csv format.

    If anyone can help me in this matter, I will be really thankful.


    Thanks.
  • JKTeer
    Junior Member
    • Nov 2012
    • 4

    #2
    Hi,
    This error results from having too few columns in the position lines. The VCF format requires that 8 columns be present (when no info is present, a dot "." should be used). These columns need to separated by the tab character (not just a space).
    How did you add the ANNOVAR output to the VCF file?

    Comment

    • jfb
      Junior Member
      • Nov 2011
      • 7

      #3
      Is there a follow up to this? I also have a VCF file and an ANNOVAR output file and I'm wondering if I have to write my own script to stitch them together or if there is some existing tool for doing this? thanks.

      Comment

      • JKTeer
        Junior Member
        • Nov 2012
        • 4

        #4
        I don't know of any existing tools to insert ANNOVAR output back into a vcf file. My own scripts follow the ANNOVAR author's suggestion of using the VCF line as a comment in the ANNOVAR input, which can then be used to get the right output with the right vcf line. Although I would like to release my scripts at some point, they need some work and testing.
        The main challenge I have found is the conversion of coordinate systems from vcf to annovar and back to vcf.

        Here is my general approach:
        1. Expand VCF file so that each line has only one alternate allele.
        2. Run convert2annovar.pl with --includeinfo --allallele. I retain the original chromosome, position, ref_allele, and alt_allele to use as a key (to get the annovar output with the correct VCF line.)
        3. Run annotate_variation.pl with --separate flag, to get all possible transcripts.
        4. Add ANNOVAR output back into VCF file using chr:pos:ref:alt key. I reformat the ANNOVAR output to be a bit more structured. I also keep track of alternate alleles, so the final file has multiple alternate alleles per line, with the correctly ordered ANNOVAR annotations.
        5. I use a custom JSON file to parse the ANNOVAR outputs, so that alternate alleles are recognized and split by VarSifter, and gene names and variant type (stop, nonsyn, etc.) are pulled out from each transcript. (I can provide an example, but it completely depends on how the ANNOVAR info is formatted in the VCF file.)

        snpEFF might be an easier path to take, as it reads and writes VCF files. Be aware that a new version of snpEFF has been released that changed the output, so you'll have to modify the "snpEFF.vs.json" file as follows (until I release a new VarSifter version):

        Line 38:
        < "Gene_name": 5
        ---
        > "Gene_name": 6

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
          by SEQadmin2



          Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

          Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
          ...
          10-14-2026, 09:55 AM
        • SEQadmin2
          New Genomics Technologies Take Aim at Long-Standing Limits
          by SEQadmin2


          Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

          We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
          ...
          09-28-2026, 10:25 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Yesterday, 11:13 AM
        0 responses
        14 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 10:48 AM
        0 responses
        13 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        34 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        42 views
        0 reactions
        Last Post SEQadmin2  
        Working...