annotate quast-select.xml @ 0:c36a89d3a351 tip

planemo upload
author jpayne
date Wed, 07 Feb 2018 16:37:42 -0500
parents
children
rev   line source
jpayne@0 1 <tool id="quast-select" name="Select Best" version="0.1.0" profile="16.10">
jpayne@0 2 <description>assembly based on a combined QUAST table</description>
jpayne@0 3 <requirements>
jpayne@0 4 <requirement type="package">python</requirement>
jpayne@0 5 </requirements>
jpayne@0 6 <command detect_errors="exit_code"><![CDATA[
jpayne@0 7 #for $asm in $coll
jpayne@0 8 ln -s $asm ./$asm.element_identifier &&
jpayne@0 9 #end for
jpayne@0 10 cp ./\$(python $__tool_directory__/quast_select.py $table $criterion) $output
jpayne@0 11 ]]></command>
jpayne@0 12 <inputs>
jpayne@0 13 <param type="data" format="tsv" name="table" label="Combined QUAST output (from table_union)"/>
jpayne@0 14 <param type="select" label="Select best assembly by..." name="criterion">
jpayne@0 15 <option value="N50">Longest N50</option>
jpayne@0 16 <option value="Largest contig">Longest single contig</option>
jpayne@0 17 <option value="# contigs">Fewest contigs</option>
jpayne@0 18 <option value="# contigs (>= 1000 bp)">Fewest contigs of length 1kbp or longer</option>
jpayne@0 19 <option value="Total length">Total assembly length</option>
jpayne@0 20 <option value="Total length (>= 1000 bp)">Total assembly length of contigs longer than 1kbp</option>
jpayne@0 21 </param>
jpayne@0 22 <param type="data_collection" collection_type="list" format="fasta" name="coll" label="Collection of FASTA assemblies" />
jpayne@0 23 </inputs>
jpayne@0 24 <outputs>
jpayne@0 25 <data format="fasta" name="output" label="Best assembly by ${criterion}" />
jpayne@0 26 </outputs>
jpayne@0 27 <tests>
jpayne@0 28 <test>
jpayne@0 29 <param name="table" value="combined_table.tsv" />
jpayne@0 30 <param name="coll" >
jpayne@0 31 <collection type="list">
jpayne@0 32 <element name="sample1" value="sample1.fasta" />
jpayne@0 33 <element name="sample2" value="sample2.fasta" />
jpayne@0 34 <element name="sample3" value="sample3.fasta" />
jpayne@0 35 <element name="sample4" value="sample4.fasta" />
jpayne@0 36 </collection>
jpayne@0 37 </param>
jpayne@0 38 <param name="criterion" value="N50"/>
jpayne@0 39 <output name="output" value="sample1.fasta" />
jpayne@0 40 </test>
jpayne@0 41 </tests>
jpayne@0 42 <help><![CDATA[
jpayne@0 43 Pick the best assembly from a collection of assemblies and a combined QUAST report.
jpayne@0 44 ]]></help>
jpayne@0 45 </tool>