annotate compare_humann2_output.xml @ 2:9c24aa6d9a1f draft default tip

planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 9fcfd73aaf19aa65e2087ae003998f21971b6f9b-dirty
author bebatut
date Wed, 20 Apr 2016 09:15:07 -0400
parents 22e031055f18
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
1 <tool id="compare_humann2_output" name="Compare outputs of HUMAnN2 for several samples" version="0.1.0">
2
9c24aa6d9a1f planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 9fcfd73aaf19aa65e2087ae003998f21971b6f9b-dirty
bebatut
parents: 1
diff changeset
2 <description>and extract similar and specific information</description>
0
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
3
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
4 <requirements>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
5 </requirements>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
6
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
7 <stdio>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
8 <exit_code range="1:" />
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
9 <exit_code range=":-1" />
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
10 </stdio>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
11
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
12 <version_command></version_command>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
13
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
14 <command><![CDATA[
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
15 mkdir specifics
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
16 &&
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
17
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
18 python $__tool_directory__/compare_humann2_output.py
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
19 #for $sample in $samples:
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
20 --sample_name "${sample.sample_name}"
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
21 --charact_input_file "${sample.input}"
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
22 --specific_output_file "specifics/specific_to_${sample.sample_name}.txt"
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
23 #end for
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
24
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
25 --most_abundant_characteristics_to_extract $charact_nb
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
26 --more_abundant_output_file $more_abundant_output_file
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
27 --similar_output_file $similar_output_file
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
28 > $log
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
29
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
30 ]]></command>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
31
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
32 <inputs>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
33 <repeat name="samples" title="Add sample and input file (HUMAnN2 output after normalization)" >
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
34 <param name="sample_name" type="text" label="Name of the sample" help="(--sample_name)"/>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
35 <param name="input" format="txt,tabular" type="data" label="Input file corresponding to HUMAnN2 output" help="The HUMAnN2 output file contains relative abundance of gene families or pathways (after normalization, --charact_input_file)"/>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
36 </repeat>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
37
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
38 <param name="charact_nb" type="integer" value="10" label="Number of most abundant characteristics to extract for each sample" help="(--most_abundant_characteristics_to_extract)"/>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
39 </inputs>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
40
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
41 <outputs>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
42 <data name="more_abundant_output_file" format="tabular"
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
43 label="${tool.name} on ${on_string}: More abundant characteristics for each sample" />
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
44 <data name="similar_output_file" format="tabular"
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
45 label="${tool.name} on ${on_string}: Similar characteristics and the relative abundances for all samples" />
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
46 <data name="log" format="txt"
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
47 label="${tool.name} on ${on_string}: Log" />
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
48 <collection name="specific_files" type="list">
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
49 <discover_datasets pattern="__designation_and_ext__" directory="specifics"/>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
50 </collection>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
51
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
52 </outputs>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
53
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
54 <tests>
1
22e031055f18 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit c16428041ae3d60b61b6570035c9268726730543-dirty
bebatut
parents: 0
diff changeset
55 <test>
22e031055f18 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit c16428041ae3d60b61b6570035c9268726730543-dirty
bebatut
parents: 0
diff changeset
56 <param name="samples_0|sample_name" value="sample1"/>
2
9c24aa6d9a1f planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 9fcfd73aaf19aa65e2087ae003998f21971b6f9b-dirty
bebatut
parents: 1
diff changeset
57 <param name="samples_0|input" value="sample_1_pathway_abundances.tabular"/>
1
22e031055f18 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit c16428041ae3d60b61b6570035c9268726730543-dirty
bebatut
parents: 0
diff changeset
58 <param name="samples_1|sample_name" value="sample2"/>
2
9c24aa6d9a1f planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 9fcfd73aaf19aa65e2087ae003998f21971b6f9b-dirty
bebatut
parents: 1
diff changeset
59 <param name="samples_1|input" value="sample_2_pathway_abundances.tabular"/>
1
22e031055f18 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit c16428041ae3d60b61b6570035c9268726730543-dirty
bebatut
parents: 0
diff changeset
60 <param name="charact_nb" value="10"/>
2
9c24aa6d9a1f planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 9fcfd73aaf19aa65e2087ae003998f21971b6f9b-dirty
bebatut
parents: 1
diff changeset
61 <output name="more_abundant_output_file" file="more_abundant_pathways.tabular"/>
9c24aa6d9a1f planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 9fcfd73aaf19aa65e2087ae003998f21971b6f9b-dirty
bebatut
parents: 1
diff changeset
62 <output name="similar_output_file" file="sample_similar_pathways.tabular"/>
9c24aa6d9a1f planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 9fcfd73aaf19aa65e2087ae003998f21971b6f9b-dirty
bebatut
parents: 1
diff changeset
63 <output name="log" file="sample_comparison_log.txt"/>
1
22e031055f18 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit c16428041ae3d60b61b6570035c9268726730543-dirty
bebatut
parents: 0
diff changeset
64 <output_collection name="specific_files" type="list">
2
9c24aa6d9a1f planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 9fcfd73aaf19aa65e2087ae003998f21971b6f9b-dirty
bebatut
parents: 1
diff changeset
65 <element name="specific_to_sample1" file="sample_1_specific_pathways.txt" />
9c24aa6d9a1f planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 9fcfd73aaf19aa65e2087ae003998f21971b6f9b-dirty
bebatut
parents: 1
diff changeset
66 <element name="specific_to_sample2" file="sample_2_specific_pathways.txt" />
1
22e031055f18 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit c16428041ae3d60b61b6570035c9268726730543-dirty
bebatut
parents: 0
diff changeset
67 </output_collection>
22e031055f18 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit c16428041ae3d60b61b6570035c9268726730543-dirty
bebatut
parents: 0
diff changeset
68 </test>
0
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
69 </tests>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
70
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
71 <help><![CDATA[
1
22e031055f18 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit c16428041ae3d60b61b6570035c9268726730543-dirty
bebatut
parents: 0
diff changeset
72 **What it does**
22e031055f18 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit c16428041ae3d60b61b6570035c9268726730543-dirty
bebatut
parents: 0
diff changeset
73
22e031055f18 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit c16428041ae3d60b61b6570035c9268726730543-dirty
bebatut
parents: 0
diff changeset
74 This tool compare HUMANnN2 outputs with gene families or pathways and their relative abundances between several samples. Several files are extracted:
0
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
75
1
22e031055f18 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit c16428041ae3d60b61b6570035c9268726730543-dirty
bebatut
parents: 0
diff changeset
76 * Similar gene families or pathways between the samples and the relative abundances of these similar characteristics
0
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
77
1
22e031055f18 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit c16428041ae3d60b61b6570035c9268726730543-dirty
bebatut
parents: 0
diff changeset
78 * Most abundant gene families or pathways for each sample and the corresponding relative abundance in all samples
2
9c24aa6d9a1f planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 9fcfd73aaf19aa65e2087ae003998f21971b6f9b-dirty
bebatut
parents: 1
diff changeset
79
1
22e031055f18 planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit c16428041ae3d60b61b6570035c9268726730543-dirty
bebatut
parents: 0
diff changeset
80 * Specific gene families and pathways for each samples and the relative abundances of these specific characteristics
0
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
81
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
82 ]]></help>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
83
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
84 <citations>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
85 </citations>
035a848cb73e planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/compare_humann2_output commit 5c45ed58045ce1686aa069403f8a9426ea20bac5-dirty
bebatut
parents:
diff changeset
86 </tool>