1. kmdaily
  2. galaxy-central (ngs)

Commits

Daniel Blankenberg  committed de06e2e

Add basic VCF4.1 support.

  • Participants
  • Parent commits 95c6e62
  • Branches default

Comments (0)

Files changed (1)

File lib/galaxy_utils/sequence/vcf.py

View file
  • Ignore whitespace
     def __init__( self, vcf_line, metadata, sample_names ):
         VariantCall33.__init__( self, vcf_line, metadata, sample_names)
 
+class VariantCall41( VariantCall40 ):
+    version = 'VCFv4.1'
+
 #VCF Format version lookup dict
 VCF_FORMATS = {}
-for format in [ VariantCall33, VariantCall40 ]:
+for format in [ VariantCall33, VariantCall40, VariantCall41 ]:
     VCF_FORMATS[format.version] = format
 
 class Reader( object ):