comparison snpeff.py @ 1:2b53f59de80c draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/datatypes/snpeff_datatypes commit e511f2e85cd3d39f34fc0ed6e0ea5bc7b9a11e9e
author iuc
date Thu, 14 Jan 2016 14:51:36 -0500
parents d78b2b2a3388
children
comparison
equal deleted inserted replaced
0:d78b2b2a3388 1:2b53f59de80c
17 MetadataElement( name="annotation", default=[], desc="Annotation Names", readonly=True, visible=True, no_value=[], optional=True) 17 MetadataElement( name="annotation", default=[], desc="Annotation Names", readonly=True, visible=True, no_value=[], optional=True)
18 18
19 def __init__( self, **kwd ): 19 def __init__( self, **kwd ):
20 Text.__init__( self, **kwd ) 20 Text.__init__( self, **kwd )
21 21
22 "" The SnpEff version line was added in SnpEff version 4.1 22 # The SnpEff version line was added in SnpEff version 4.1
23 def getSnpeffVersionFromFile(self, path): 23 def getSnpeffVersionFromFile(self, path):
24 snpeff_version = None 24 snpeff_version = None
25 try: 25 try:
26 fh = gzip.open(path, 'rb') 26 fh = gzip.open(path, 'rb')
27 buf = fh.read(100) 27 buf = fh.read(100)