comparison cat_contigs.xml @ 0:11a61934bfb3 draft

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit 863ad85836c80811d1d6b82eaf3ce903b273368a"
author iuc
date Tue, 10 Dec 2019 16:05:34 -0500
parents
children c6c77d840993
comparison
equal deleted inserted replaced
-1:000000000000 0:11a61934bfb3
1 <tool id="cat_contigs" name="CAT contigs" version="@VERSION@.0">
2 <description>annotate with taxonomic classification</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements" />
7 <expand macro="version_command" />
8 <command detect_errors="exit_code"><![CDATA[
9 CAT contigs
10 -c '$contigs_fasta'
11 @CAT_DB@
12 @USE_INTERMEDIATES@
13 @CUSTOM_SETTINGS@
14 @DIAMOND_OPTIONS@
15 && @TXT2TSV@ *.ORF2LCA.txt *.contig2classification.txt
16 @ADD_NAMES@
17 @SUMMARISE@
18 ]]></command>
19 <inputs>
20 <param name="contigs_fasta" type="data" format="fasta" label="Contigs fasta"/>
21 <expand macro="cat_db" />
22 <expand macro="use_intermediates" />
23 <expand macro="custom_settings" />
24 <expand macro="diamond_options" />
25 <expand macro="add_names" />
26 <expand macro="summarise" />
27 <expand macro="select_cat_outputs" />
28 </inputs>
29 <outputs>
30 <expand macro="outputs" />
31 </outputs>
32 <tests>
33 <test>
34 <param name="contigs_fasta" ftype="fasta" value="contigs.fasta"/>
35 <expand macro="test_catdb"/>
36 <param name="select_outputs" value="contig2classification"/>
37 <output name="contig2classification">
38 <assert_contents>
39 <has_text text="contig_38063" />
40 </assert_contents>
41 </output>
42 </test>
43 <test>
44 <param name="contigs_fasta" ftype="fasta" value="contigs.fasta"/>
45 <expand macro="test_catdb"/>
46 <param name="select_outputs" value="predicted_proteins_faa"/>
47 <conditional name="names">
48 <param name="add_names" value="both"/>
49 </conditional>
50 <param name="summarise" value="classification"/>
51 <output name="predicted_proteins_faa">
52 <assert_contents>
53 <has_text text=">contig_9952" />
54 </assert_contents>
55 </output>
56 <output name="orf2lca_names">
57 <assert_contents>
58 <has_text text="Listeria" />
59 </assert_contents>
60 </output>
61 <output name="classification_summary">
62 <assert_contents>
63 <has_text text="Listeria" />
64 </assert_contents>
65 </output>
66 </test>
67 </tests>
68 <help><![CDATA[
69 **CAT contigs**
70
71 Classifiy metagenomics contigs.
72
73 @COMMON_HELP@
74
75 @OUTPUTS_HELP@
76
77
78 **CAT contigs**
79
80 Run Contig Annotation Tool (CAT).
81
82 Required arguments:
83 -c, --contigs_fasta Path to contigs fasta file.
84 -d, --database_folder Path to folder that contains database files.
85 -t, --taxonomy_folder Path to folder that contains taxonomy files.
86
87
88 @OPTIONS_HELP@
89
90 ]]></help>
91 <expand macro="citations" />
92 </tool>