comparison data_manager/data_manager_snpEff_download.py @ 11:def511e8e005 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_snpeff commit 00d1775d87af54665ec1871f021bcec6b4b7a15a"
author iuc
date Tue, 24 Nov 2020 07:27:28 +0000
parents c6fbc5421697
children
comparison
equal deleted inserted replaced
10:c6fbc5421697 11:def511e8e005
127 # Create SnpEff Reference Data 127 # Create SnpEff Reference Data
128 for genome_version, organism in zip(options.genome_version.split(','), getOrganismNames(options.genome_version, options.organism).split(',')): 128 for genome_version, organism in zip(options.genome_version.split(','), getOrganismNames(options.genome_version, options.organism).split(',')):
129 download_database(data_manager_dict, target_directory, genome_version, organism) 129 download_database(data_manager_dict, target_directory, genome_version, organism)
130 130
131 # save info to json file 131 # save info to json file
132 with open(filename, 'w'): 132 with open(filename, 'w') as fh:
133 json.dump(data_manager_dict, fh, sort_keys=True) 133 json.dump(data_manager_dict, fh, sort_keys=True)
134 134
135 135
136 if __name__ == "__main__": 136 if __name__ == "__main__":
137 main() 137 main()