Mercurial > repos > iuc > cooc_pubmut
annotate cooc_pubmut.xml @ 0:d04ea6b052c5 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
author | iuc |
---|---|
date | Thu, 11 Aug 2022 13:49:40 +0000 |
parents | |
children | f193fef5b19d |
rev | line source |
---|---|
0
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
1 <tool id="cooc_pubmut" name="Cojac: pubmut" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
2 profile="@PROFILE@"> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
3 <description> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
4 render a JSON or YAML file to a pretty table |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
5 </description> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
6 <macros> |
d04ea6b052c5
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> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
8 </macros> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
9 <expand macro="biotools"/> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
10 <expand macro="requirements"> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
11 <requirement type="package" version="2.12">pandoc</requirement> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
12 </expand> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
13 <expand macro="version"/> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
14 <command detect_errors="exit_code"><![CDATA[ |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
15 @VOCDIR_COMMAND@ |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
16 #for $input_file in $cooc_file |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
17 #set $cooc_ext = $input_file.ext |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
18 #end for |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
19 cooc-pubmut |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
20 -m '$vocdir' |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
21 -a '$amplicons' |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
22 #if $cooc_ext == 'json' |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
23 -j '$cooc_file' |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
24 #else if $cooc_ext == 'yaml' |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
25 -y '$cooc_file' |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
26 #end if |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
27 -o cooc-table.csv |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
28 -q |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
29 $escape |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
30 #if $add_html |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
31 && pandoc cooc-table.csv -o cooc-table.html |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
32 && mkdir -p '$html.files_path' |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
33 && cp cooc-table.html '$html.files_path' |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
34 #end if |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
35 ]]></command> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
36 <inputs> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
37 <expand macro="vocdir_input"/> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
38 <param name="amplicons" type="data" format="yaml" label="List of query amplicons" |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
39 help="File generated by the Cojac mutbamscan tool"/> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
40 <param name="cooc_file" type="data" format="json,yaml" multiple="true" |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
41 label="Results generated by mutbamscan"/> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
42 <param argument="--escape" type="boolean" truevalue="--escape" falsevalue="" |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
43 checked="false" label="Use escape characters for newlines"/> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
44 <param name="add_html" type="boolean" checked="false" |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
45 label="Convert CSV output table to HTML format"/> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
46 </inputs> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
47 <outputs> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
48 <data name="table" format="csv" |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
49 label="${tool.name} on ${on_string}: Mutation cooccurrence (CSV table)" |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
50 from_work_dir="cooc-table.csv"> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
51 </data> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
52 <data name="html" format="html" |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
53 label="${tool.name} on ${on_string}: Mutation cooccurrence (HTML)" |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
54 from_work_dir="cooc-table.html"> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
55 <filter>add_html</filter> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
56 </data> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
57 </outputs> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
58 <tests> |
d04ea6b052c5
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"> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
60 <conditional name="vocdir_option"> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
61 <param name="choice" value="custom"/> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
62 <param name="voc_file" value="omicron_ba1_mutations.yaml"/> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
63 </conditional> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
64 <param name="amplicons" value="amplicons111.yaml"/> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
65 <param name="cooc_file" value="cooc-test111.json"/> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
66 <output name="table" ftype="csv"> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
67 <assert_contents> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
68 <has_text text="Amplicon 76"/> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
69 <has_text text="Amplicon 81"/> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
70 </assert_contents> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
71 </output> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
72 </test> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
73 </tests> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
74 <help><![CDATA[ |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
75 @HELP_HEADER@ |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
76 |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
77 Information about **cooc-pubmut** method |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
78 ======================================== |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
79 |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
80 The method renders a JSON or YAML file to a table as in the publication. |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
81 You need to open the output CSV in a spreadsheet that understands linebreaks. |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
82 |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
83 ]]></help> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
84 <expand macro="citations"/> |
d04ea6b052c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cojac commit 38ed91999d4bbe3bedc294197926ea332eb6cd5e
iuc
parents:
diff
changeset
|
85 </tool> |