Mercurial > repos > ecology > eml2eal
comparison eml2eal.xml @ 0:5c0290c4225a draft
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 2d139641e5afb8c75b8aded37bdbd7aecae0fb83
author | ecology |
---|---|
date | Wed, 13 Sep 2023 19:55:50 +0000 |
parents | |
children | 6fc2341a92cb |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5c0290c4225a |
---|---|
1 <tool id="eml2eal" name="EML to EAL" version="0.1.0+galaxy0" profile="22.05"> | |
2 <description> Create EAL templates from EML metadata </description> | |
3 <requirements> | |
4 <requirement type="package" version="3.5.5">r-emlassemblyline</requirement> | |
5 </requirements> | |
6 <command detect_errors="exit_code"><![CDATA[ | |
7 Rscript | |
8 '$__tool_directory__/eml2eal.R' | |
9 '$inputmetadatafile' && | |
10 find . -type f -empty -print -delete | |
11 ]]></command> | |
12 <inputs> | |
13 <param name="inputmetadatafile" type="data" format="xml" label="EML metadata file" help="Insert only metadata using EML standard"/> | |
14 </inputs> | |
15 <outputs> | |
16 <collection name="EML_templates" type="list" label="EML Templates"> | |
17 <discover_datasets pattern= "(?P<designation>.+)\.txt" format="tabular"/> | |
18 </collection> | |
19 </outputs> | |
20 <tests> | |
21 <test expect_num_outputs="1"> | |
22 <param name="inputmetadatafile" value="Assessing_the_importance_of_field_margins_for_bat_species.xml"/> | |
23 <output_collection name="EML_templates" type="list"> | |
24 <element name="annotations" file="annotations.tabular" ftype="tabular"/> | |
25 <element name="attributes_data_blary_al" file="attributes_data_blary_al.tabular" ftype="tabular"/> | |
26 <element name="catvars_data_blary_al" file="catvars_data_blary_al.tabular" ftype="tabular"/> | |
27 <element name="geographic_coverage" file="geographic_coverage.tabular" ftype="tabular" /> | |
28 <element name="keywords" file="keywords.tabular" ftype="tabular" /> | |
29 <element name="personnel" file="personnel.tabular" ftype="tabular" /> | |
30 </output_collection> | |
31 </test> | |
32 </tests> | |
33 <help><![CDATA[ | |
34 .. class:: warningmark | |
35 | |
36 '''TIP''' This tool requires metadata with **XML** format and using **EML** standard | |
37 | |
38 **What it does?** | |
39 -------------------- | |
40 | |
41 This tool produce EAL templates from an EML metadata. These templates can be modified by the users by hand and reemplemented into Galaxy to reproduce an EML metadata with | |
42 the make_eml tool. | |
43 | |
44 **How to use it?** | |
45 -------------------- | |
46 | |
47 To use this tool, you have to upload a metadata written in XML and using EML standard. | |
48 By clicking the **Execute** button, the work will launch and you will be able to get your results in the historic on your right. | |
49 The results will be presented in a Galaxy Collection. You can then either download the files or you can edit them directly on Galaxy by selecting the *Visualize* icon | |
50 on the bottom of the templates outputs and and then selecting *Editor* in the list. | |
51 Once edited, this templates can me reassembled to produce a new EML with the **make_eml** tool in the EMLassemblyline tool section. | |
52 | |
53 ]]></help> | |
54 </tool> |