diff eml_validate.xml @ 0:ad96b20423cf 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 13:01:04 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eml_validate.xml	Fri Sep 27 13:01:04 2024 +0000
@@ -0,0 +1,46 @@
+<tool id="eml_validate" name="Eml validate:" version="0.1.0" profile="21.05">
+    <description>check if your EML file is valid</description>
+    <requirements>
+        <requirement type="package" version="4.3.3">r-base</requirement>
+        <requirement type="package" version="2.0.6.1">r-eml</requirement>
+        <requirement type="package" version="0.5.1">r-emld</requirement>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+     Rscript
+         '$__tool_directory__/eml_validate.R' > report.txt
+         '$inputmetadatafile'
+         '$output'
+    ]]></command>
+    <inputs>
+        <param name="inputmetadatafile" type="data" format="xml" label="EML metadata file" help="Insert only metadata using EML standard."/>
+    </inputs>
+    <outputs>
+       <data name="output" from_work_dir="report.txt" format="txt" label="Informations report"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="inputmetadatafile" value="metadataoutput.xml"/>
+            <output name='output' value="report.txt"/>
+        </test>
+    </tests>
+    <help><![CDATA[
+    
+**What it does?**
+--------------------
+    
+Eml_validate processes an EML document using the XSD schema for the appropriate version of EML and determines if the document is schema-valid as defined by the XSD specification.
+    
+**How to use it?**
+--------------------
+
+You need to input an EML file in xml format. And the tool will produce a text file with the information you need. 
+There are two different cases: 
+1) Your EML file is valid.
+2) Your EML file is not valid, and a list of errors is displayed for you to improve your EML file.
+    
+    ]]></help>
+    <citations>
+       <citation type="doi">10.32614/CRAN.package.emld</citation>
+       <citation type="doi">10.32614/CRAN.package.EML</citation>
+    </citations>
+</tool>