comparison vsnp_build_tables.xml @ 1:b60858c3eb91 draft

Uploaded
author greg
date Thu, 30 Apr 2020 15:31:55 -0400
parents 38a38babcb31
children 85384a9bfba2
comparison
equal deleted inserted replaced
0:38a38babcb31 1:b60858c3eb91
18 #set input_json_dir = 'input_json_dir' 18 #set input_json_dir = 'input_json_dir'
19 mkdir $input_json_dir && 19 mkdir $input_json_dir &&
20 #for $i in $input_type_cond.input_avg_mq_json_collection: 20 #for $i in $input_type_cond.input_avg_mq_json_collection:
21 #set file_name = $i.file_name 21 #set file_name = $i.file_name
22 #set identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier)) 22 #set identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier))
23 ln -s $file_name $input_json_avg_mq_dir/$identifier && 23 ln -s '$file_name' '$input_json_avg_mq_dir/$identifier' &&
24 #end for 24 #end for
25 #for $i in $input_type_cond.input_snps_json_collection: 25 #for $i in $input_type_cond.input_snps_json_collection:
26 #set file_name = $i.file_name 26 #set file_name = $i.file_name
27 #set identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier)) 27 #set identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier))
28 ln -s $file_name $input_json_dir/$identifier && 28 ln -s '$file_name' '$input_json_dir/$identifier' &&
29 #end for 29 #end for
30 #for $i in $input_type_cond.input_newick_collection: 30 #for $i in $input_type_cond.input_newick_collection:
31 #set file_name = $i.file_name 31 #set file_name = $i.file_name
32 #set identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier)) 32 #set identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier))
33 ln -s $file_name $input_newick_dir/$identifier && 33 ln -s '$file_name' '$input_newick_dir/$identifier' &&
34 #end for 34 #end for
35 #end if 35 #end if
36 python '$__tool_directory__/vsnp_build_tables.py' 36 python '$__tool_directory__/vsnp_build_tables.py'
37 --processes $processes 37 --processes \${GALAXY_SLOTS:-4}
38 #if $input_type == "single": 38 #if $input_type == "single":
39 --input_avg_mq_json '$input_avg_mq_json' 39 --input_avg_mq_json '$input_avg_mq_json'
40 --input_snps_json '$input_snps_json' 40 --input_snps_json '$input_snps_json'
41 --input_newick '$input_newick' 41 --input_newick '$input_newick'
42 #end if: 42 #end if:
105 </when> 105 </when>
106 </conditional> 106 </conditional>
107 </when> 107 </when>
108 <when value="no"/> 108 <when value="no"/>
109 </conditional> 109 </conditional>
110 <param name="processes" type="integer" min="1" max="20" value="8" label="Number of processes for job splitting"/>
111 </inputs> 110 </inputs>
112 <outputs> 111 <outputs>
113 <collection name="excel" type="list"> 112 <collection name="excel" type="list">
114 <discover_datasets pattern="__name__" directory="output_excel_dir" format="xlsx" /> 113 <discover_datasets pattern="__name__" directory="output_excel_dir" format="xlsx" />
115 </collection> 114 </collection>
134 <element name="Mbovis-01D6_snps.json" value="Mbovis-01D6_snps.json" dbkey="89"/> 133 <element name="Mbovis-01D6_snps.json" value="Mbovis-01D6_snps.json" dbkey="89"/>
135 </collection> 134 </collection>
136 </param> 135 </param>
137 <param name="input_newick_collection"> 136 <param name="input_newick_collection">
138 <collection type="list"> 137 <collection type="list">
139 <element name="Mbovis-01_snps.json" value="Mbovis-01_snps.json" dbkey="89"/> 138 <element name="Mbovis-01_snps.newick" value="Mbovis-01_snps.newick" dbkey="89"/>
140 <element name="Mbovis-01D_snps.fasta" value="Mbovis-01D_snps.fasta" dbkey="89"/> 139 <element name="Mbovis-01D_snps.newick" value="Mbovis-01D_snps.newick" dbkey="89"/>
141 <element name="Mbovis-01D6_snps.fasta" value="Mbovis-01D6_snps.fasta" dbkey="89"/> 140 <element name="Mbovis-01D6_snps.newick" value="Mbovis-01D6_snps.newick" dbkey="89"/>
142 </collection> 141 </collection>
143 </param> 142 </param>
144 <param name="input_avg_mq_json_collection"> 143 <param name="input_avg_mq_json_collection">
145 <collection type="list"> 144 <collection type="list">
146 <element name="Mbovis-01_snps.json" value="Mbovis-01_avg_mq.json" dbkey="89"/> 145 <element name="Mbovis-01_snps.json" value="Mbovis-01_avg_mq.json" dbkey="89"/>
188 187
189 **Required Options** 188 **Required Options**
190 189
191 * **Choose the category for the files to be analyzed** - select "Single files" or "Collections of files", then select the appropriate history items (single SNPs json, average MQ json and newick files, or collections of each) based on the selected option. 190 * **Choose the category for the files to be analyzed** - select "Single files" or "Collections of files", then select the appropriate history items (single SNPs json, average MQ json and newick files, or collections of each) based on the selected option.
192 * **Use Genbank file** - Select "yes" to annotate the tables using the information in the Genbank file. Locally cached files, if available, provide the most widely used annotations, but more custom Genbank files can be chosen from the current history. 191 * **Use Genbank file** - Select "yes" to annotate the tables using the information in the Genbank file. Locally cached files, if available, provide the most widely used annotations, but more custom Genbank files can be chosen from the current history.
193 * **Number of processes for job splitting** - Select the number of processes for splitting the job to shorten execution time.
194 </help> 192 </help>
195 <citations> 193 <citations>
196 <citation type="bibtex"> 194 <citation type="bibtex">
197 @misc{None, 195 @misc{None,
198 journal = {None}, 196 journal = {None},