annotate rcx-tk.xml @ 0:54401f9d1a30 draft default tip

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
author recetox
date Thu, 01 Aug 2024 12:37:10 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
1 <tool id="rcx-tk" name="rcx-tk" version="0.1.0+galaxy0" python_template_version="3.5" profile="23.05">
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
2 <edam_topics>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
3 <edam_topic>topic_3172</edam_topic>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
4 <edam_topic>topic_0091</edam_topic>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
5 <edam_topic>topic_3520</edam_topic>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
6 </edam_topics>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
7 <edam_operations>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
8 <edam_operation>operation_0336</edam_operation>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
9 <edam_operation>operation_3695</edam_operation>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
10 </edam_operations>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
11 <requirements>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
12 <requirement type="package" version="0.1.0">rcx-tk</requirement>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
13 </requirements>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
14 <creator>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
15 <person
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
16 givenName="Zargham"
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
17 familyName="Ahmad"
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
18 url="https://github.com/zargham-ahmad"
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
19 identifier="0000-0000-0000-0000"/>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
20 <person
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
21 givenName="Kristina"
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
22 familyName="Gomoryova"
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
23 url="https://github.com/KristinaGomoryova"
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
24 identifier="0000-0003-4407-3917" />
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
25 <person
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
26 givenName="Helge"
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
27 familyName="Hecht"
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
28 url="https://github.com/hechth"
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
29 identifier="0000-0001-6744-996X" />
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
30 <organization
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
31 url="https://www.recetox.muni.cz/"
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
32 email="GalaxyToolsDevelopmentandDeployment@space.muni.cz"
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
33 name="RECETOX MUNI" />
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
34 </creator>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
35 <command><![CDATA[
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
36 #if $input_file.ext == "tabular"
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
37 #set $input_file_new = 'input.tsv'
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
38 #else
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
39 #set $input_file_new = 'input.' + str($input_file.ext)
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
40 #end if
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
41 cp ${input_file} ${input_file_new} &&
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
42 python3 -m rcx_tk --method ${method} ${input_file_new} 'output.tsv'
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
43 ]]></command>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
44 <inputs>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
45 <param name="input_file" type="data" format="csv,tabular,tsv,xls,xlsx,txt" label="Input data" help="Input data"/>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
46 <param name="method" type="select" label="Method" help="Which data is processed: metadata or alkane file.">
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
47 <option value="metadata" selected="true">metadata</option>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
48 <option value="alkanes">alkanes</option>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
49 </param>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
50 </inputs>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
51 <outputs>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
52 <data name="output_file" format="tabular" from_work_dir = "output.tsv" label="Processed data"/>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
53 </outputs>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
54 <tests>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
55 <test>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
56 <param name="input_file" value="input_metadata.tabular"/>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
57 <param name="method" value="metadata"/>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
58 <output name="output_file" file="output_metadata.tsv"/>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
59 </test>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
60 <test>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
61 <param name="input_file" value="input_alkanes.txt"/>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
62 <param name="method" value="alkanes"/>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
63 <output name="output_file" file="output_alkanes.tsv"/>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
64 </test>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
65 </tests>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
66 <help><![CDATA[
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
67 rcx-tk is a tool to process a metadata and/or alkane files. The main steps are columns rearrangement, validation of the file names, and derivation of new columns, such as sampleName, sequenceIdentifier, sampleIdentifier and localOrder.
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
68
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
69 On the input, a metadata or alkane file in any tabular format is expected. On the output, a tsv file is provided.
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
70 ]]></help>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
71 <citations>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
72 <citation type="doi">10.5281/zenodo.4471245</citation>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
73 </citations>
54401f9d1a30 planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/rcx-tk/ commit 11666faa557169cc43b234ecba2a38451dec87a4
recetox
parents:
diff changeset
74 </tool>