comparison TrackHub.py @ 9:4f9847539a28 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1b241bbccfc1b90ce2626dc4f49788bb9e693a80
author rmarenco
date Wed, 20 Jul 2016 12:29:08 -0400
parents 680fae2362e2
children acc233161f50
comparison
equal deleted inserted replaced
8:680fae2362e2 9:4f9847539a28
24 24
25 self.extra_files_path = extra_files_path 25 self.extra_files_path = extra_files_path
26 self.outputFile = outputFile 26 self.outputFile = outputFile
27 27
28 inputFastaFile = open(inputFastaFile, 'r') 28 inputFastaFile = open(inputFastaFile, 'r')
29 self.outputZip = zipfile.ZipFile(os.path.join(extra_files_path, 'myHub.zip'), 'w', allowZip64=True) 29 #self.outputZip = zipfile.ZipFile(os.path.join(extra_files_path, 'myHub.zip'), 'w', allowZip64=True)
30 30
31 # Create the structure of the Assembly Hub 31 # Create the structure of the Assembly Hub
32 # TODO: Merge the following processing into a function as it is also used in twoBitCreator 32 # TODO: Merge the following processing into a function as it is also used in twoBitCreator
33 baseNameFasta = os.path.basename(inputFastaFile.name) 33 baseNameFasta = os.path.basename(inputFastaFile.name)
34 suffixTwoBit, extensionTwoBit = os.path.splitext(baseNameFasta) 34 suffixTwoBit, extensionTwoBit = os.path.splitext(baseNameFasta)