Commits

Daniel Blankenberg committed de06e2e

Add basic VCF4.1 support.

Comments (0)

Files changed (1)

lib/galaxy_utils/sequence/vcf.py

     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 ):