0
|
1 <tool id="IdCorrect_2ndLayer" name="Tadarida data cleaner" version="0.1">
|
|
2 <description>clean data from animal detection on acoustic recordings</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="1.10.4">r-data.table</requirement>
|
|
5 <requirement type="package" version="4.6_12">r-randomforest</requirement>
|
|
6 </requirements>
|
|
7 <command detect_errors="exit_code"><![CDATA[
|
|
8 Rscript
|
|
9 '$__tool_directory__/IdCorrect_2ndLayer.R' '$participation_file'
|
|
10
|
|
11 #if $learner.condi_learner == "custom":
|
|
12 '$learner.user_learner'
|
|
13 #else
|
|
14 '$__tool_directory__/ClassifEspC2b_180222.learner'
|
|
15 #end if
|
|
16
|
|
17 '${participation_file.name}'
|
|
18
|
|
19 '$output'
|
|
20 ]]>
|
|
21 </command>
|
|
22 <inputs>
|
|
23 <param name="participation_file" type="data" format="csv" label="Participation file"/>
|
|
24 <param name="learner" type="data" label="Choose your leaner" format="rdata"/>
|
|
25
|
|
26 <conditional name="learner">
|
|
27 <param name="condi_learner" type="select" label="Select a classifier" help="Default is ClassifEspC2b_180222">
|
|
28 <option value="c18">ClassifEspC2b_180222</option>
|
|
29 <option value="custom">Custom Classifier</option>
|
|
30 </param>
|
|
31
|
|
32 <when value="c18">
|
|
33 </when>
|
|
34 <when value="custom">
|
|
35 <param name="user_learner" type="data" label="Choose your classifier" format="rdata"/>
|
|
36 </when>
|
|
37 </conditional>
|
|
38
|
|
39 </inputs>
|
|
40 <outputs>
|
|
41 <data name="output" from_work_dir="output.tabular" format="tabular"/>
|
|
42 </outputs>
|
|
43 <tests>
|
|
44 <test>
|
|
45 <param name="participation_file" value="IdCor2Layer_Test1_obs.csv"/>
|
|
46 <param name="condi_learner" value="default_learner"/>
|
|
47 <output name="output" file="IdCor2Layer_Test1_out.tabular"/>
|
|
48 </test>
|
|
49 <test>
|
|
50 <param name="participation_file" value="IdCor2Layer_Test1_obs.csv"/>
|
|
51 <param name="condi_learner" value="custom_learner"/>
|
|
52 <param name="user_learner" value="ClassifEspC2b_171206.learner"/>
|
|
53 <output name="output" file="IdCor2Layer_Test1_out.tabular"/>
|
|
54 </test>
|
|
55
|
|
56 </tests>
|
|
57 <help><![CDATA[
|
|
58
|
|
59 .. class:: infomark
|
|
60
|
|
61 ==========================
|
|
62 Tadarida data cleaner
|
|
63 ==========================
|
|
64
|
|
65 **What it does**
|
|
66
|
|
67 This tool intend to correct ids from 1st layer of Tadarida software, and improve data output according to context (= the whole output of a sampling session).
|
|
68
|
|
69 **Arguments**
|
|
70
|
|
71 It should be called with 2 consecutive arguments :
|
|
72
|
|
73 - a summary table of TadaridaC output from vigiechiro.herokuapp.com web portal.
|
|
74 - the 2nd layer classifier built on validated id in Vigie-Chiro database (eg : "ClassifEspC2b_180222.learner")
|
|
75 ]]></help>
|
|
76 <citations>
|
|
77 <citation type="bibtex">
|
|
78 @article{kerbiriou2015vigie,
|
|
79 title={Vigie-Chiro: 9 ans de suivi des tendances des esp{\`e}ces communes},
|
|
80 author={Kerbiriou, C and Julien, JF and Bas, Y and Marmet, J and Le Viol, I and Lorrilliere, R and Azam, C and Gasc, A and Lois, G},
|
|
81 journal={Symbioses, nouvelle s{\'e}rie},
|
|
82 number={34},
|
|
83 year={2015}
|
|
84 }
|
|
85 </citation>
|
|
86 <citation type="bibtex">
|
|
87 @inproceedings{bas2013automatic,
|
|
88 title={Automatic echolocation calls identification in Europe vs. Neotropics: more species does not mean more difficult},
|
|
89 author={Bas, Yves and Escallon, Antoine and Ferre, Matthieu and Haquart, Alexandre and Rufray, Vincent and Disca, Thierry and Julien, Jean-Fran{\c{c}}ois}
|
|
90 }
|
|
91 </citation>
|
|
92 <citation type="bibtex">
|
|
93 @inproceedings{kerbiriou2010long,
|
|
94 title={Long term trends monitoring of bats, from biodiversity indicator production to species specialization assessment},
|
|
95 author={Kerbiriou, C and Bas, Y and Dufr{\^e}ne, L and Robert, A and Julien, JF},
|
|
96 booktitle={24th Annual Meeting of the Society for Conservation Biology, Edmonton, Canada},
|
|
97 year={2010}
|
|
98 }
|
|
99 </citation>
|
|
100 <citation type="doi">10.5334/jors.154</citation>
|
|
101 </citations>
|
|
102 </tool>
|