Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • LauraSmith
    Junior Member
    • Dec 2011
    • 4

    Is there a tool that converts TXT, BED, GFF format to VCF?

    Hi,

    I would like to ask if there is tool out there that would convert variants in a certain file format (such as .txt, .gff, .bed) to VCF format?

    Thank you for your help.
    Laura
  • mbblack
    Senior Member
    • Aug 2009
    • 245

    #2
    PacBio's SMRT suite has a python script to supposedly go from GFFv4 to VCF.

    But, I recall on the BEDTools discussion board, Aaron Quinlan has mentioned that going from GFF or BED to VCF is not a simple task, unless the input files were originally created to track all the information required for the VCF output. That makes it difficult to write generic scripts for conversion.
    Michael Black, Ph.D.
    ScitoVation LLC. RTP, N.C.

    Comment

    • maubp
      Peter (Biopython etc)
      • Jul 2009
      • 1544

      #3
      Originally posted by mbblack View Post
      PacBio's SMRT suite has a python script to supposedly go from GFFv4 to VCF.
      Was that a typo? Did you mean GFF v3 perhaps?

      Comment

      • mbblack
        Senior Member
        • Aug 2009
        • 245

        #4
        Originally posted by maubp View Post
        Was that a typo? Did you mean GFF v3 perhaps?
        I was just glancing at their website, but I think it means their script is v.4 (or the entire SMRT suite is v.4), not that they've created their own GFF version!

        Open-source community-developed analysis tools for PacBio SMRT Sequencing data, example data sets, and resources
        Last edited by mbblack; 12-05-2011, 12:35 PM.
        Michael Black, Ph.D.
        ScitoVation LLC. RTP, N.C.

        Comment

        • splaisan
          senior molecular biologist
          • Jun 2009
          • 32

          #5
          In my hands, the VCF v3.3 (exotic version if one with weird call syntax for the ALT field) format produced by SMRTv4 accompanying gffToVcf (v3.0 - pbgenomicconsensus) is not conform to the VCF4 specs and when used with VCF compatible tools, leads to errors.

          Here an example from a very simple run
          <pre>
          ##fileformat=VCFv3.3
          ##fileDate=2017121
          ##source=gffToVcf --resolved-tool-contract /opt/pacbio/userdata/jobs_root/000/000096/tasks/genomic_consensus.tasks.gff2vcf-0/resolved-tool-contract.json
          ##INFO=NS,1,Integer,"Number of Samples with Data"
          ##INFO=DP,1,Integer,"Total Depth of Coverage"
          #CHROM POS ID REF ALT QUAL FILTER INFO
          chromosome_2 486515 . C T 93.00 0 NS=1;DP=47
          chromosome_2 487451 . C D1 93.00 0 NS=1;DP=47
          chromosome_2 511331 . . IA 41.00 0 NS=1;DP=52
          chromosome_2 537571 . . IA 55.00 0 NS=1;DP=40
          chromosome_2 636693 . A G 93.00 0 NS=1;DP=31
          chromosome_2 643391 . G T 93.00 0 NS=1;DP=46
          chromosome_2 643959 . A D1 93.00 0 NS=1;DP=50
          </pre>

          Before I adventure in this, does anyone have a GFF3 to VCF4 converter that works on Sequel data?
          Fields required to make a VCF from their GFF3 are there, it is 'only' a matter of operating a smart conversion between the two tabular formats and fixing coordinate issues and alternate allele cases (if present?!).
          Thanks
          http://www.bits.vib.be/index.php

          Comment

          Latest Articles

          Collapse

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 06-09-2026, 11:58 AM
          0 responses
          14 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-05-2026, 10:09 AM
          0 responses
          26 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-04-2026, 08:59 AM
          0 responses
          37 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-02-2026, 12:03 PM
          0 responses
          61 views
          0 reactions
          Last Post SEQadmin2  
          Working...