Mercurial > repos > jjohnson > contig_annotation_tool
diff cat_summarise.xml @ 0:ad7507073c3f draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
author | jjohnson |
---|---|
date | Sun, 24 Nov 2019 21:56:00 -0500 |
parents | |
children | 18ece3d5bcde |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cat_summarise.xml Sun Nov 24 21:56:00 2019 -0500 @@ -0,0 +1,40 @@ +<tool id="cat_summarise" name="CAT summarise" version="@VERSION@.0"> + <description>annotate with taxonomic classification</description> + <macros> + <import>macros.xml</import> + </macros> + <expand macro="requirements" /> + <expand macro="version_command" /> + <command detect_errors="exit_code"><![CDATA[ + CAT summarise -c '$contigs_fasta' -i '$input' + -o output_names_summary.txt + && @TXT2TSV@ -i output_names_summary.txt -o $output + ]]></command> + <inputs> + <param name="input" type="data" format="tabular" label="classification.official_names.txt" + help="The classication must be made with only_official names"/> + <param name="contigs_fasta" type="data" format="fasta" optional="true" label="contigs.fasta" + help="Required if a contig2classification.names"/> + </inputs> + <outputs> + <data name="output" format="tabular"/> + </outputs> + <tests> + <test> + <param name="input" ftype="tabular" value="test_contig.contig2classification.names.txt"/> + <param name="contigs_fasta" ftype="fasta" value="configs.fasta"/> + <output name="output"> + <assert_contents> + <has_text text="Firmicutes" /> + </assert_contents> + </output> + </test> + </tests> + <help><![CDATA[ +**CAT summarise** +Produce a summary report of assignments to the ofifcial taxonomic names. + +@COMMON_HELP@ + ]]></help> + <expand macro="citations" /> +</tool>