view eal_templates.xml @ 4:5faa25ba905e draft default tip

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 4b040fe7867d965fb88ce70cc08081367b62b063
author ecology
date Fri, 27 Sep 2024 12:59:56 +0000
parents 67b2cd9c2954
children
line wrap: on
line source

<tool id="eal_templates" name="Make templates" version="0.1.1+galaxy0" profile="22.05">
    <description>for core features of a data package for EML metadata creation</description>
    <requirements>
        <container type="docker">outils-patrinat.mnhn.fr/metashark:latest</container>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
    
        Rscript 
         '$__tool_directory__/eal_templates.R'
         '$license'
         '$file_type'
         
    ]]></command>
    <inputs>
        <param name="license" type="select" label="Under what license are your data?">
              <option value="CC0">CC0</option>
              <option value="CCBY">CCBY</option>
        </param>
        <param name="file_type" type="select" label="What type of file do you want for abstract, methods, and additional info??">
              <option value=".txt">Text</option>
              <option value=".docx">MS Word</option>
              <option value=".md">Markdown</option>
        </param>
        
    </inputs>
    <outputs>
          <collection name="output" type="list" label="Core features templates">
              <discover_datasets pattern="(?P&lt;designation&gt;.+\.txt)" format="txt"/>
              <discover_datasets pattern="(?P&lt;designation&gt;.+\.docx)" format="docx"/>
              <discover_datasets pattern="(?P&lt;designation&gt;.+\.md)" format="markdown"/>
          </collection>
    </outputs>
    <tests>
        <test>
           <param name="license" value="CCBY"/>
           <param name="file_type" value=".txt"/>
           <output_collection name='output' type = "list" count="6"/>
        </test>
    </tests>
    <help><![CDATA[

**What it does?**
--------------------
This tool produce templates for core features of a data package used to build EML metadata. It produces the following eal files: 

- abstract.txt
- keywords.txt
- methods.txt
- personnel.txt
- intellectual_rights.txt
- additional_info.txt

After that, these files can be edited to add informations about your data and then be used in the make EML tool to produce EML metadata.

**How to use it?**
--------------------
To use this tool, you need to select what type of license are your data under. Then you need to select the type of file you want for your templates.

    ]]></help>
    <citations>
       <citation type="bibtex">@Manual{,
       title = {EMLassemblyline: A tool kit for building EML metadata workflows},
       author = {Colin Smith},
       year = {2022},
       note = {https://github.com/EDIorg/EMLassemblyline,
       https://ediorg.github.io/EMLassemblyline/},
       }</citation>
    </citations>
</tool>