Mercurial > repos > ecology > regionalgam_flight_curve
comparison flight-curve.xml @ 0:fff507f00b2b draft default tip
planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/regionalgam commit ffe42225fff8992501b743ebe2c78e50fddc4a4e
author | ecology |
---|---|
date | Thu, 20 Jun 2019 04:03:07 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:fff507f00b2b |
---|---|
1 <tool id="regionalgam_flight_curve" name="Flight curve" version="@VERSION@"> | |
2 <description>compute the regional expected pattern of abundance</description> | |
3 <macros> | |
4 <import>regionalgam_macros.xml</import> | |
5 </macros> | |
6 <requirements> | |
7 <requirement type="package" version="1.8_28">r-mgcv</requirement> | |
8 </requirements> | |
9 <command detect_errors="exit_code"><![CDATA[ | |
10 Rscript '$__tool_directory__/flight-curve.R' | |
11 '$__tool_directory__/dennis-gam-initial-functions.R' | |
12 '$count_file' | |
13 $minvisit | |
14 $minoccur | |
15 '$output' | |
16 ]]> | |
17 </command> | |
18 <inputs> | |
19 <expand macro="rg_count_file"/> | |
20 <param name="minvisit" type="integer" value="3" min="0" label="Minimum number of visits" help="Subset the data with a minimum number of visits." /> | |
21 <param name="minoccur" type="integer" value="2" min="0" label="Minimum number of occurences" help="Subset the data with a minimum number of occurences."/> | |
22 </inputs> | |
23 <outputs> | |
24 <data format="tabular" name="output" from_work_dir="pheno" /> | |
25 </outputs> | |
26 <tests> | |
27 <test> | |
28 <param name="count_file" value="gatekeeper_CM_200320042005"/> | |
29 <param name="minvisit" value="3"/> | |
30 <param name="minoccur" value="2"/> | |
31 <output name="output" ftype="tabular"> | |
32 <assert_contents> | |
33 <has_line line=""species"	"year"	"week"	"DAYNO"	"DAYNO_adj"	"nm""/> | |
34 <has_n_columns n="6"/> | |
35 <has_text_matching expression=""Pyronia tithonus"	2003	[0-9]	[0-9]	[0-9]	[0-9]"/> | |
36 </assert_contents> | |
37 </output> | |
38 </test> | |
39 </tests> | |
40 <help><![CDATA[ | |
41 ========================== | |
42 Regional phenology | |
43 ========================== | |
44 | |
45 This tool is an implementation of the flight_curve function RegionalGAM package: https://github.com/RetoSchmucki/regionalGAM/ | |
46 | |
47 This function computes the annual phenology on a specific region. | |
48 | |
49 The output tabular file can be used to impute expected count values with the abundance index computation tool. | |
50 | |
51 | | |
52 | |
53 **Outputs** | |
54 | |
55 Regional expected pattern computation in a tabular file. | |
56 ]]></help> | |
57 <expand macro="rg_citation"/> | |
58 </tool> |