Mercurial > repos > iuc > data_manager_salmon_index_builder
comparison data_manager/salmon_index_builder.py @ 3:6437fc47878f draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_salmon_index_builder commit 5f199df1a4ce3c569c3778e3eb67019fc1b0c8db"
author | iuc |
---|---|
date | Sun, 27 Sep 2020 09:03:26 +0000 |
parents | 7d4fd734b078 |
children |
comparison
equal
deleted
inserted
replaced
2:57274fe5e01a | 3:6437fc47878f |
---|---|
25 return sequence_id, sequence_name | 25 return sequence_id, sequence_name |
26 | 26 |
27 | 27 |
28 def build_salmon_index(data_manager_dict, options, params, sequence_id, sequence_name): | 28 def build_salmon_index(data_manager_dict, options, params, sequence_id, sequence_name): |
29 data_table_name = options.data_table_name or DEFAULT_DATA_TABLE_NAME | 29 data_table_name = options.data_table_name or DEFAULT_DATA_TABLE_NAME |
30 target_directory = params['output_data' ][0]['extra_files_path'] | 30 target_directory = params['output_data'][0]['extra_files_path'] |
31 if not os.path.exists(target_directory): | 31 if not os.path.exists(target_directory): |
32 os.mkdir(target_directory) | 32 os.mkdir(target_directory) |
33 args = ['salmon', 'index'] | 33 args = ['salmon', 'index'] |
34 if options.kmer_size != '': | 34 if options.kmer_size != '': |
35 args.append('-k') | 35 args.append('-k') |