Mercurial > repos > jjohnson > contig_annotation_tool
annotate cat_summarise.xml @ 5:226949352e31 draft default tip
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
author | jjohnson |
---|---|
date | Wed, 27 Nov 2019 12:11:14 -0500 |
parents | 18ece3d5bcde |
children |
rev | line source |
---|---|
0
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
1 <tool id="cat_summarise" name="CAT summarise" version="@VERSION@.0"> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
2 <description>annotate with taxonomic classification</description> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
3 <macros> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
4 <import>macros.xml</import> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
5 </macros> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
7 <expand macro="version_command" /> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
9 CAT summarise -c '$contigs_fasta' -i '$input' |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
10 -o output_names_summary.txt |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
11 && @TXT2TSV@ -i output_names_summary.txt -o $output |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
12 ]]></command> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
13 <inputs> |
5
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
14 <param argument="--input" type="data" format="tabular" label="classification.official_names.txt" |
0
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
15 help="The classication must be made with only_official names"/> |
5
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
16 <param argument="--contigs_fasta" type="data" format="fasta" optional="true" label="contigs.fasta" |
0
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
17 help="Required if a contig2classification.names"/> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
18 </inputs> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
19 <outputs> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
20 <data name="output" format="tabular"/> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
21 </outputs> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
22 <tests> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
23 <test> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
24 <param name="input" ftype="tabular" value="test_contig.contig2classification.names.txt"/> |
3
18ece3d5bcde
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit 3febcc9ba3d3717877c36bf96742209012a13ac4-dirty
jjohnson
parents:
0
diff
changeset
|
25 <param name="contigs_fasta" ftype="fasta" value="contigs.fasta"/> |
0
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
26 <output name="output"> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
27 <assert_contents> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
28 <has_text text="Firmicutes" /> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
29 </assert_contents> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
30 </output> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
31 </test> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
32 </tests> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
33 <help><![CDATA[ |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
34 **CAT summarise** |
5
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
35 |
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
36 Summarise taxonomic asignemts from anamed CAT or BAT classification file. |
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
37 |
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
38 Required arguments: |
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
39 -i, --input_file Path to named CAT contig classification file or BAT |
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
40 bin classification file. Currently only official ranks |
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
41 are supported, and only classification files |
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
42 containing a single classification per contig / bin. |
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
43 |
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
44 Optional arguments: |
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
45 -c, --contigs_fasta |
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
46 Path to contigs fasta file. This is required if you |
226949352e31
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit a1c079107b72dc08612fa664897bb9d627624e52-dirty
jjohnson
parents:
3
diff
changeset
|
47 want to summarise a contig classification file. |
0
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
48 |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
49 @COMMON_HELP@ |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
50 ]]></help> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
51 <expand macro="citations" /> |
ad7507073c3f
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
jjohnson
parents:
diff
changeset
|
52 </tool> |