Mercurial > repos > rmarenco > hubarchivecreator
comparison TrackHub.py @ 7:a030b8023882 draft
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 05d9161e2ac41a34a9ab5b1bb9fc012f6512e1ec
author | rmarenco |
---|---|
date | Tue, 19 Jul 2016 20:33:12 -0400 |
parents | fb5e60d4d18a |
children | 680fae2362e2 |
comparison
equal
deleted
inserted
replaced
6:816956489fe9 | 7:a030b8023882 |
---|---|
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') | 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) |