0
|
1 <?xml version="."?>
|
|
2 <tool id="insect_phenology_model" name="Insect phenology model" version="1.0.0">
|
|
3 <description>expressing stage-specific phenology and population dynamics</description>
|
|
4 <requirements>
|
12
|
5 <requirement type="package" version="1.3.2">r-optparse</requirement>
|
0
|
6 </requirements>
|
10
|
7 <command detect_errors="exit_code"><![CDATA[
|
0
|
8 Rscript '$__tool_directory__/insect_phenology_model.R'
|
|
9 -a $adult_mort
|
|
10 -b $adult_accum
|
|
11 -c $egg_mort
|
20
|
12 -e '$location'
|
0
|
13 -f $max_clutch_size
|
|
14 -i $min_clutch_size
|
|
15 -j $nymph_mort
|
|
16 -k $old_nymph_accum
|
13
|
17 -n $temperature_data.metadata.data_lines
|
11
|
18 -o '$output'
|
0
|
19 -p $oviposition
|
|
20 -q $photoperiod
|
|
21 -s $replications
|
|
22 -t $se_plot
|
|
23 -u $year
|
|
24 -v '$temperature_data'
|
|
25 -y $young_nymph_accum
|
|
26 ]]></command>
|
|
27 <inputs>
|
13
|
28 <param name="location" type="select" label="Global Historical Climatology Network Station">
|
|
29 <options from_file="ghcnd_stations.txt">
|
20
|
30 <column name="name" index="1"/>
|
|
31 <column name="value" index="0"/>
|
|
32 <column name="state" index="2"/>
|
13
|
33 </options>
|
|
34 </param>
|
0
|
35 <param name="temperature_data" type="data" format="csv" label="Temperature data" />
|
10
|
36 <param name="year" type="integer" value="2017" min="1995" label="Temperature data year" />
|
0
|
37 <param name="replications" type="integer" value="10" min="1" label="Number of replications" />
|
|
38 <param name="photoperiod" type="float" value="13.5" min="0" label="Critical photoperiod for diapause induction/termination" />
|
|
39 <param name="egg_mort" type="integer" value="1" min="0" label="Adjustment rate for egg mortality" />
|
|
40 <param name="nymph_mort" type="integer" value="1" min="0" label="Adjustment rate for nymph mortality" />
|
|
41 <param name="adult_mort" type="integer" value="1" min="0" label="Adjustment rate for adult mortality" />
|
|
42 <param name="oviposition" type="integer" value="1" min="0" label="Adjustment oviposition rate" />
|
|
43 <param name="min_clutch_size" type="integer" value="0" min="0" label="Adjustment of minimum clutch size" />
|
|
44 <param name="max_clutch_size" type="integer" value="0" min="0" label="Adjustment of maximum clutch size" />
|
|
45 <param name="young_nymph_accum" type="integer" value="0" min="0" label="Adjustment of DD accumulation (egg->young nymph)" />
|
|
46 <param name="old_nymph_accum" type="integer" value="0" min="0" label="Adjustment of DD accumulation (young nymph->old nymph)" />
|
|
47 <param name="adult_accum" type="integer" value="0" min="0" label="Adjustment of DD accumulation (old nymph->adult)" />
|
|
48 <param name="se_plot" type="select" label="Plot SE?">
|
|
49 <option value="1" selected="True">Yes</option>
|
|
50 <option value="0">No</option>
|
|
51 </param>
|
|
52 </inputs>
|
|
53 <outputs>
|
13
|
54 <data name="output" format="pdf" label="${tool.name} ${location}, ${year} on ${on_string}" />
|
0
|
55 </outputs>
|
|
56 <tests>
|
|
57 <test>
|
|
58 <param name="temperature_data" value="asheville2014.csv" ftype="csv" />
|
|
59 <param name="location" value="asheville:35.58" />
|
|
60 <param name="year" value="2014" />
|
|
61 <param name="replications" value="3" />
|
|
62 <output name="output" file="output.pdf" ftype="pdf" compare="contains" />
|
|
63 </test>
|
|
64 </tests>
|
|
65 <help>
|
|
66 **What it does**
|
|
67
|
|
68 Provides an agent-based stochastic model expressing stage-specific phenology and population dynamics for an insect species across geographic regions.
|
|
69
|
|
70 -----
|
|
71
|
|
72 **Required options**
|
|
73
|
|
74 * **Location** - the location associated with the selected temperature data.
|
|
75 * **Temperature data** - select the dataset from your history containing the temperature data.
|
|
76 * **Temperature data year** - the year during which the temperature data was recorded.
|
|
77 * **Number of replications** - number of replications.
|
|
78 * **Critical photoperiod for diapause induction/termination** - critical photoperiod for diapause induction/termination.
|
|
79 * **Adjustment rate for egg mortality** - adjustment rate for egg mortality.
|
|
80 * **Adjustment rate for nymph mortality** - adjustment rate for nymph mortality.
|
|
81 * **Adjustment rate for adult mortality** - adjustment rate for adult mortality.
|
|
82 * **Adjustment oviposition rate** - adjustment oviposition rate.
|
|
83 * **Adjustment of minimum clutch size** - adjustment of minimum clutch size.
|
|
84 * **Adjustment of maximum clutch size** - adjustment of maximum clutch size
|
|
85 * **Adjustment of DD accumulation (egg->young nymph)** - adjustment of DD accumulation (egg->young nymph).
|
|
86 * **Adjustment of DD accumulation (young nymph->old nymph)** - adjustment of DD accumulation (young nymph->old nymph).
|
|
87 * **Adjustment of DD accumulation (old nymph->adult)** - adjustment of DD accumulation (old nymph->adult).
|
|
88 * **Plot SE** - add SE lines to plot for eggs, nymphs and adults.
|
|
89
|
|
90 </help>
|
|
91 <citations>
|
|
92 <citation type="doi">10.3389/fphys.2016.00165</citation>
|
17
|
93 <citation type="doi">10.1175/JTECH-D-11-00103.1</citation>
|
13
|
94 <citation type="doi">10.7289/V5D21VHZ</citation>
|
0
|
95 </citations>
|
|
96 </tool>
|