diff IdCorrect_2ndLayer_en.xml @ 1:f3fc8d243b1a draft default tip

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/vigiechiro commit 7ef0e58cbcbf41088e359f00b6c86504c773c271
author ecology
date Fri, 26 Apr 2019 12:20:52 -0400
parents 6681b6ba1d7e
children
line wrap: on
line diff
--- a/IdCorrect_2ndLayer_en.xml	Wed Mar 13 11:18:36 2019 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +0,0 @@
-<tool id="vigiechiro_idcorrect_2ndlayer" name="Tadarida data cleaner" version="@VERSION@">
-    <description>clean data from animal detection on acoustic recordings</description>
-    <macros>
-        <import>vigiechiro_macros.xml</import>
-   </macros>
-   <requirements>
-        <requirement type="package" version="1.10.4">r-data.table</requirement>
-        <requirement type="package" version="4.6_12">r-randomforest</requirement>
-    </requirements>
-    <command detect_errors="exit_code"><![CDATA[
-        Rscript 
-         '$__tool_directory__/IdCorrect_2ndLayer.R' '$participation_file' 
-
-         #if $learner.condi_learner == "custom"
-             '$learner.user_learner'
-         #else
-             '$__tool_directory__/ClassifEspC2b_180222.learner'
-         #end if
-         '${participation_file.name}' 
-         '$output'
-]]>
-    </command>
-    <inputs>
-        <param name="participation_file" type="data" format="csv" label="Participation file" help="Summary table of TadaridaC"/>
-        <param name="learner" type="data" label="Choose your leaner" format="rdata"/>
-        <conditional name="learner">
-            <param name="condi_learner" type="select" label="Select a classifier" help="Default is ClassifEspC2b_180222">
-                <option value="c18">ClassifEspC2b_180222</option>
-                <option value="custom">Custom Classifier</option>
-            </param>
-            <when value="c18">
-            </when>
-            <when value="custom">        
-                <param name="user_learner" type="data" label="Choose your classifier" format="rdata"/>
-            </when>
-        </conditional>
-    </inputs>
-    <outputs>
-        <data name="output" from_work_dir="output.tabular" format="tabular"/>
-    </outputs>
-    <tests>
-        <test> 
-            <param name="participation_file" value="IdCor2Layer_Test1_obs.csv"/>
-            <param name="condi_learner" value="default_learner"/>
-            <output name="output" file="IdCor2Layer_Test1_out.tabular"/>
-        </test>
-    </tests>
-    <help><![CDATA[
-
-.. class:: infomark 
-
-==========================
-Tadarida data cleaner
-==========================
-
-**What it does**
-
-This tool intends to correct ids from 1st layer of Tadarida software, and improves data output according to context (= the whole output of a sampling session).
-
-**Arguments**
-
-It should be called with 2 consecutive arguments :
-
-- a summary table of TadaridaC output from vigiechiro.herokuapp.com web portal. 
-- the 2nd layer classifier built on validated id in Vigie-Chiro database (eg : "ClassifEspC2b_180222.learner")
-  ]]></help>
-    <expand macro="vigiechiro_bibref" />
-</tool>