annotate cfsan_snp_pipeline_quast_select.xml @ 0:fedc60909fbe draft default tip

Uploaded
author greg
date Tue, 17 Oct 2023 14:13:45 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fedc60909fbe Uploaded
greg
parents:
diff changeset
1 <tool id="cfsan_snp_pipeline_quast_select" name="CFSAN SNP Pipeline: Select best assembly" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
fedc60909fbe Uploaded
greg
parents:
diff changeset
2 <description>based on a combined QUAST table</description>
fedc60909fbe Uploaded
greg
parents:
diff changeset
3 <macros>
fedc60909fbe Uploaded
greg
parents:
diff changeset
4 <import>macros.xml</import>
fedc60909fbe Uploaded
greg
parents:
diff changeset
5 </macros>
fedc60909fbe Uploaded
greg
parents:
diff changeset
6 <expand macro="requirements"/>
fedc60909fbe Uploaded
greg
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
fedc60909fbe Uploaded
greg
parents:
diff changeset
8 #for $fasta_file in $input_collection_fasta
fedc60909fbe Uploaded
greg
parents:
diff changeset
9 ln -s $fasta_file $fasta_file.element_identifier &&
fedc60909fbe Uploaded
greg
parents:
diff changeset
10 #end for
fedc60909fbe Uploaded
greg
parents:
diff changeset
11 mv ./\$(python '$__tool_directory__/cfsan_snp_pipeline_quast_select.py' '$input_quast_tsv' '$criterion') '$output'
fedc60909fbe Uploaded
greg
parents:
diff changeset
12 ]]></command>
fedc60909fbe Uploaded
greg
parents:
diff changeset
13 <inputs>
fedc60909fbe Uploaded
greg
parents:
diff changeset
14 <param name="input_quast_tsv" type="data" format="tabular,tsv" label="Combined QUAST output tabular file"/>
fedc60909fbe Uploaded
greg
parents:
diff changeset
15 <param name="criterion" type="select" label="Select best assembly by">
fedc60909fbe Uploaded
greg
parents:
diff changeset
16 <option value="N50" selected="true">longest N50</option>
fedc60909fbe Uploaded
greg
parents:
diff changeset
17 <option value="Largest contig">longest single contig</option>
fedc60909fbe Uploaded
greg
parents:
diff changeset
18 <option value="# contigs">fewest contigs</option>
fedc60909fbe Uploaded
greg
parents:
diff changeset
19 <option value="# contigs (>= 1000 bp)">fewest contigs of length 1kbp or longer</option>
fedc60909fbe Uploaded
greg
parents:
diff changeset
20 <option value="Total length">total assembly length</option>
fedc60909fbe Uploaded
greg
parents:
diff changeset
21 <option value="Total length (>= 1000 bp)">total assembly length of contigs longer than 1kbp</option>
fedc60909fbe Uploaded
greg
parents:
diff changeset
22 </param>
fedc60909fbe Uploaded
greg
parents:
diff changeset
23 <param name="input_collection_fasta" type="data_collection" collection_type="list" format="fasta" label="Collection of FASTA assemblies"/>
fedc60909fbe Uploaded
greg
parents:
diff changeset
24 </inputs>
fedc60909fbe Uploaded
greg
parents:
diff changeset
25 <outputs>
fedc60909fbe Uploaded
greg
parents:
diff changeset
26 <data name="output" format="fasta" label="Best assembly by ${criterion}"/>
fedc60909fbe Uploaded
greg
parents:
diff changeset
27 </outputs>
fedc60909fbe Uploaded
greg
parents:
diff changeset
28 <tests>
fedc60909fbe Uploaded
greg
parents:
diff changeset
29 <test>
fedc60909fbe Uploaded
greg
parents:
diff changeset
30 <param name="input_quast_tsv" value="quast_report.tsv"/>
fedc60909fbe Uploaded
greg
parents:
diff changeset
31 <param name="input_collection_fasta" >
fedc60909fbe Uploaded
greg
parents:
diff changeset
32 <collection type="list">
fedc60909fbe Uploaded
greg
parents:
diff changeset
33 <element name="SRR3168967" value="SRR3168967.fasta"/>
fedc60909fbe Uploaded
greg
parents:
diff changeset
34 </collection>
fedc60909fbe Uploaded
greg
parents:
diff changeset
35 </param>
fedc60909fbe Uploaded
greg
parents:
diff changeset
36 <param name="criterion" value="N50"/>
fedc60909fbe Uploaded
greg
parents:
diff changeset
37 <!-- the output is the same as the input here -->
fedc60909fbe Uploaded
greg
parents:
diff changeset
38 <output name="output" value="SRR3168967.fasta"/>
fedc60909fbe Uploaded
greg
parents:
diff changeset
39 </test>
fedc60909fbe Uploaded
greg
parents:
diff changeset
40 </tests>
fedc60909fbe Uploaded
greg
parents:
diff changeset
41 <help><![CDATA[
fedc60909fbe Uploaded
greg
parents:
diff changeset
42 **What it does**
fedc60909fbe Uploaded
greg
parents:
diff changeset
43
fedc60909fbe Uploaded
greg
parents:
diff changeset
44 Selects the best assembly from a collection of assemblies and a combined QUAST report.
fedc60909fbe Uploaded
greg
parents:
diff changeset
45 ]]></help>
fedc60909fbe Uploaded
greg
parents:
diff changeset
46 <expand macro="citations"/>
fedc60909fbe Uploaded
greg
parents:
diff changeset
47 </tool>
fedc60909fbe Uploaded
greg
parents:
diff changeset
48