annotate original_metadata.xml @ 0:ae351724edfc draft default tip

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