annotate cooc_tabmut.xml @ 1:579538ff939d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
author iuc
date Mon, 31 Jul 2023 15:23:29 +0000
parents 4be399803856
children eeb5c054ecf8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
1 <tool id="cooc_tabmut" name="Cojac: tabmut" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
2 profile="@PROFILE@">
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
3 <description>
1
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
4 exports co-occurrence results from mutbamscan as a table
0
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
5 </description>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
6 <macros>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
7 <import>macros.xml</import>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
8 </macros>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
9 <expand macro="biotools"/>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
10 <expand macro="requirements"/>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
11 <expand macro="version"/>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
1
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
13 cojac cooc-tabmut
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
14 #if $cooc_data.ext == 'json'
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
15 -j '$cooc_data'
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
16 #else
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
17 -y '$cooc_data'
0
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
18 #end if
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
19 #if $table_orientation.choice == 'lines'
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
20 -l
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
21 #else if $table_orientation.choice == 'multiindex'
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
22 -m
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
23 #end if
1
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
24 #if $out_format == 'tsv':
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
25 -o cooc-table.tsv
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
26 #else:
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
27 -o cooc-table.csv
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
28 #end if
0
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
29 -q
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
30 ]]></command>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
31 <inputs>
1
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
32 <param name="cooc_data" type="data" format="json,yaml" label="Results generated by mutbamscan"/>
0
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
33 <conditional name="table_orientation">
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
34 <param name="choice" type="select" label="Output table orientation">
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
35 <option value="columns">Column-oriented table (default)</option>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
36 <option value="lines">Line-oriented table</option>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
37 <option value="multiindex">Multi-level indexing (amplicons and counts
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
38 categories)
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
39 </option>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
40 </param>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
41 <when value="columns"/>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
42 <when value="lines"/>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
43 <when value="multiindex"/>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
44 </conditional>
1
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
45 <param name="out_format" type="select" label="Type of output to produce">
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
46 <option value="tsv">Tab-separated (TSV)</option>
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
47 <option value="csv">Comma-separated (CSV)</option>
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
48 </param>
0
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
49 </inputs>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
50 <outputs>
1
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
51 <data name="table_tsv" format="tsv" label="${tool.name} on ${on_string}: Mutation coo-ccurrence (TSV table)" from_work_dir="cooc-table.tsv">
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
52 <filter>out_format == 'tsv'</filter>
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
53 </data>
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
54 <data name="table_csv" format="csv" label="${tool.name} on ${on_string}: Mutation coo-ccurrence (CSV table)" from_work_dir="cooc-table.csv">
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
55 <filter>out_format == 'csv'</filter>
0
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
56 </data>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
57 </outputs>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
58 <tests>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
59 <test expect_num_outputs="1">
1
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
60 <param name="cooc_data" value="cooc-test111.json"/>
0
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
61 <conditional name="table_orientation">
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
62 <param name="choice" value="columns"/>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
63 </conditional>
1
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
64 <output name="table_tsv" ftype="tsv">
0
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
65 <assert_contents>
1
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
66 <has_text text="A76"/>
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
67 </assert_contents>
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
68 </output>
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
69 </test>
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
70 <test expect_num_outputs="1">
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
71 <param name="cooc_data" value="cooc-test111.json"/>
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
72 <conditional name="table_orientation">
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
73 <param name="choice" value="columns"/>
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
74 </conditional>
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
75 <param name="out_format" value="csv"/>
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
76 <output name="table_csv" ftype="csv">
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
77 <assert_contents>
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
78 <has_text text="A76"/>
0
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
79 </assert_contents>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
80 </output>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
81 </test>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
82 </tests>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
83 <help><![CDATA[
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
84 @HELP_HEADER@
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
85
1
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
86 Information about **cojac cooc_tabmut** method
579538ff939d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 5b54fc7af13196445abda407054e01dd3e5603c6
iuc
parents: 0
diff changeset
87 ==============================================
0
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
88
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
89 The method exports a JSON or YAML file as a CSV/TSV table for downstream analysis (e.g.: RStudio).
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
90
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
91 ]]></help>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
92 <expand macro="citations"/>
4be399803856 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff changeset
93 </tool>