annotate original_metadata.xml @ 0:2eef3b6f1c84 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
author iuc
date Tue, 16 Jul 2024 09:23:54 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
1 <tool id="mg_toolkit_original_metadata" name="Metagenomics toolkit Original Metadata" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
2 <description>Download original metadata for a study</description>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
3 <macros>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
4 <import>macros.xml</import>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
5 </macros>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
6 <expand macro="creators" />
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
7 <expand macro="biotools" />
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
8 <expand macro="requirements" />
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
9 <command><![CDATA[
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
10 mkdir output_metadata &&
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
11 mg-toolkit original_metadata -a ${accessions} &&
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
12 mv *.csv output_metadata
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
13 ]]></command>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
14
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
15 <inputs>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
16 <param name="accessions" type="text" label="Accessions" help="Study/project accessions (e.g., ERP001736 SRP000319)" optional="false">
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
17 <validator type="regex" message="Accessions separated with white spaces">^([A-Za-z]{3,4}\d+)(\s[A-Za-z]{3,4}\d+)*$</validator>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
18 </param>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
19 </inputs>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
20 <outputs>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
21 <collection name="output_collection" type="list" label="Original metadata">
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
22 <discover_datasets pattern="(?P&lt;designation&gt;.+).csv" directory="output_metadata" format="csv"/>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
23 </collection>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
24 </outputs>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
25 <tests>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
26 <test>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
27 <param name="accessions" value="ERP001736 SRP000319" />
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
28 <output_collection name="output_collection" type="list">
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
29 <element name="ERP001736">
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
30 <assert_contents>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
31 <has_n_lines n="250" />
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
32 <has_size size="185577" />
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
33 </assert_contents>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
34 </element>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
35 <element name="SRP000319">
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
36 <assert_contents>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
37 <has_n_lines n="30" />
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
38 <has_size size="2855" />
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
39 </assert_contents>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
40 </element>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
41 </output_collection>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
42 </test>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
43 <test>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
44 <param name="accessions" value="ERP001736" />
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
45 <output_collection name="output_collection" type="list">
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
46 <element name="ERP001736">
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
47 <assert_contents>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
48 <has_n_lines n="250" />
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
49 <has_size size="185577" />
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
50 </assert_contents>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
51 </element>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
52 </output_collection>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
53 </test>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
54 </tests>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
55 <help>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
56 <![CDATA[
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
57 The mg-toolkit original-metadata tool is part of the EMG Toolkit provided by EBI Metagenomics.
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
58 This tool allows users to retrieve the original metadata associated with metagenomic studies and analyses.
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
59 It facilitates the extraction of detailed contextual information submitted by researchers,
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
60 aiding in the interpretation and further analysis of metagenomic data.
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
61
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
62 License
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
63 -------
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
64 * `Apache-2.0 license <https://raw.githubusercontent.com/EBI-Metagenomics/emg-toolkit/master/LICENSE>`_
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
65
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
66 ]]>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
67 </help>
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
68 <expand macro="citations" />
2eef3b6f1c84 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/mg_toolkit commit d5891ffcc42b812f9e072b4c58abc5077e947db0
iuc
parents:
diff changeset
69 </tool>