comparison insect_phenology_model.xml @ 6:fe3f86012394 draft

Uploaded
author greg
date Wed, 06 Dec 2017 10:07:21 -0500
parents 1878a03f9c9f
children ad26f07a7dd8
comparison
equal deleted inserted replaced
5:1878a03f9c9f 6:fe3f86012394
3 <requirements> 3 <requirements>
4 <requirement type="package" version="1.4.4">r-optparse</requirement> 4 <requirement type="package" version="1.4.4">r-optparse</requirement>
5 </requirements> 5 </requirements>
6 <command detect_errors="exit_code"><![CDATA[ 6 <command detect_errors="exit_code"><![CDATA[
7 Rscript '$__tool_directory__/insect_phenology_model.R' 7 Rscript '$__tool_directory__/insect_phenology_model.R'
8 -a $adult_mort 8 --adult_mortality $adult_mortality
9 -b $adult_accum 9 --adult_accumulation $adult_accumulation
10 -c $egg_mort 10 --egg_mortality $egg_mortality
11 -e '$location' 11 --input '$input'
12 -f $max_clutch_size 12 --insect '$insect'
13 -i $min_clutch_size 13 --insects_per_replication $insects_per_replication
14 -j $nymph_mort 14 --location '$location'
15 -k $old_nymph_accum 15 --max_clutch_size $max_clutch_size
16 -n $input.metadata.data_lines 16 --min_clutch_size $min_clutch_size
17 -o '$output' 17 --nymph_mortality $nymph_mortality
18 -p $oviposition 18 --num_days $input.metadata.data_lines
19 -q $photoperiod 19 --old_nymph_accumulation $old_nymph_accumulation
20 -s $replications 20 --output '$output'
21 -t $se_plot 21 --oviposition $oviposition
22 -v '$input' 22 --photoperiod $photoperiod
23 -y $young_nymph_accum 23 --replications $replications
24 -x '$insect']]></command> 24 --std_error_plot $std_error_plot
25 --young_nymph_accumulation $young_nymph_accumulation]]></command>
25 <inputs> 26 <inputs>
26 <param name="input" type="data" format="csv" label="Temperature data" /> 27 <param name="input" type="data" format="csv" label="Temperature data" />
27 <param name="location" type="text" value="" optional="false" label="Location" /> 28 <param name="location" type="text" value="" optional="false" label="Location" />
28 <param name="insect" type="select" label="Select insect"> 29 <param name="insect" type="select" label="Select insect">
29 <option value="Brown Marmolated Stink Bug" selected="True">Brown Marmolated Stink Bug</option> 30 <option value="Brown Marmolated Stink Bug" selected="True">Brown Marmolated Stink Bug</option>
30 </param> 31 </param>
31 <param name="replications" type="integer" value="10" min="1" label="Number of replications" /> 32 <param name="replications" type="integer" value="10" min="1" label="Number of replications" />
33 <param name="insects_per_replication" type="integer" value="1000" min="1" label="Number of insects with which to start each replication" />
32 <param name="photoperiod" type="float" value="13.5" min="0" label="Critical photoperiod for diapause induction/termination" /> 34 <param name="photoperiod" type="float" value="13.5" min="0" label="Critical photoperiod for diapause induction/termination" />
33 <param name="egg_mort" type="integer" value="1" min="0" label="Adjustment rate for egg mortality" /> 35 <param name="egg_mortality" type="integer" value="1" min="0" label="Adjustment rate for egg mortality" />
34 <param name="nymph_mort" type="integer" value="1" min="0" label="Adjustment rate for nymph mortality" /> 36 <param name="nymph_mortality" type="integer" value="1" min="0" label="Adjustment rate for nymph mortality" />
35 <param name="adult_mort" type="integer" value="1" min="0" label="Adjustment rate for adult mortality" /> 37 <param name="adult_mortality" type="integer" value="1" min="0" label="Adjustment rate for adult mortality" />
36 <param name="oviposition" type="integer" value="1" min="0" label="Adjustment oviposition rate" /> 38 <param name="oviposition" type="integer" value="1" min="0" label="Adjustment oviposition rate" />
37 <param name="min_clutch_size" type="integer" value="0" min="0" label="Adjustment of minimum clutch size" /> 39 <param name="min_clutch_size" type="integer" value="0" min="0" label="Adjustment of minimum clutch size" />
38 <param name="max_clutch_size" type="integer" value="0" min="0" label="Adjustment of maximum clutch size" /> 40 <param name="max_clutch_size" type="integer" value="0" min="0" label="Adjustment of maximum clutch size" />
39 <param name="young_nymph_accum" type="integer" value="0" min="0" label="Adjustment of DD accumulation (egg->young nymph)" /> 41 <param name="young_nymph_accumulation" type="integer" value="0" min="0" label="Adjustment of degree-days accumulation (egg->young nymph)" />
40 <param name="old_nymph_accum" type="integer" value="0" min="0" label="Adjustment of DD accumulation (young nymph->old nymph)" /> 42 <param name="old_nymph_accumulation" type="integer" value="0" min="0" label="Adjustment of degree-days accumulation (young nymph->old nymph)" />
41 <param name="adult_accum" type="integer" value="0" min="0" label="Adjustment of DD accumulation (old nymph->adult)" /> 43 <param name="adult_accumulation" type="integer" value="0" min="0" label="Adjustment of degree-days accumulation (old nymph->adult)" />
42 <param name="se_plot" type="select" label="Plot SE?"> 44 <param name="std_error_plot" type="select" label="Plot standard error?">
43 <option value="1" selected="True">Yes</option> 45 <option value="1" selected="True">Yes</option>
44 <option value="0">No</option> 46 <option value="0">No</option>
45 </param> 47 </param>
46 </inputs> 48 </inputs>
47 <outputs> 49 <outputs>
55 <output name="output" file="output.pdf" ftype="pdf" compare="contains" /> 57 <output name="output" file="output.pdf" ftype="pdf" compare="contains" />
56 </test> 58 </test>
57 </tests> 59 </tests>
58 <help> 60 <help>
59 **What it does** 61 **What it does**
60 62
61 Provides an agent-based stochastic model expressing stage-specific phenology and population dynamics for an insect species across geographic regions. 63 Provides an agent-based stochastic model expressing stage-specific phenology and population dynamics for an insect species across geographic regions.
62 64
63 ----- 65 -----
64 66
65 **Required options** 67 **Required options**
66 68
67 * **Location** - the location associated with the selected temperature data. 69 * **Location** - the location associated with the selected temperature data.
68 * **Temperature data** - select the dataset from your history containing the temperature data. 70 * **Temperature data** - select the dataset from your history containing the temperature data.
71 * **Select insect** - currently only the Brown Marmolated Stink Bug can be analyzed.
69 * **Number of replications** - number of replications. 72 * **Number of replications** - number of replications.
73 * **Number of insects with which to start each replication** - the analysis for each replication will start with this number of insects.
70 * **Critical photoperiod for diapause induction/termination** - critical photoperiod for diapause induction/termination. 74 * **Critical photoperiod for diapause induction/termination** - critical photoperiod for diapause induction/termination.
71 * **Adjustment rate for egg mortality** - adjustment rate for egg mortality. 75 * **Adjustment rate for egg mortality** - adjustment rate for egg mortality.
72 * **Adjustment rate for nymph mortality** - adjustment rate for nymph mortality. 76 * **Adjustment rate for nymph mortality** - adjustment rate for nymph mortality.
73 * **Adjustment rate for adult mortality** - adjustment rate for adult mortality. 77 * **Adjustment rate for adult mortality** - adjustment rate for adult mortality.
74 * **Adjustment oviposition rate** - adjustment oviposition rate. 78 * **Adjustment oviposition rate** - adjustment oviposition rate.
75 * **Adjustment of minimum clutch size** - adjustment of minimum clutch size. 79 * **Adjustment of minimum clutch size** - adjustment of minimum clutch size.
76 * **Adjustment of maximum clutch size** - adjustment of maximum clutch size 80 * **Adjustment of maximum clutch size** - adjustment of maximum clutch size
77 * **Adjustment of DD accumulation (egg->young nymph)** - adjustment of DD accumulation (egg->young nymph). 81 * **Adjustment of degree-days accumulation (egg->young nymph)** - adjustment of degree-days accumulation (egg->young nymph).
78 * **Adjustment of DD accumulation (young nymph->old nymph)** - adjustment of DD accumulation (young nymph->old nymph). 82 * **Adjustment of degree-days accumulation (young nymph->old nymph)** - adjustment of degree-days accumulation (young nymph->old nymph).
79 * **Adjustment of DD accumulation (old nymph->adult)** - adjustment of DD accumulation (old nymph->adult). 83 * **Adjustment of degree-days accumulation (old nymph->adult)** - adjustment of degree-days accumulation (old nymph->adult).
80 * **Plot SE** - add SE lines to plot for eggs, nymphs and adults. 84 * **Plot standard error** - add standard error lines to plot.
81 85
82 </help> 86 </help>
83 <citations> 87 <citations>
84 <citation type="doi">10.3389/fphys.2016.00165</citation> 88 <citation type="doi">10.3389/fphys.2016.00165</citation>
85 <citation type="doi">10.1175/JTECH-D-11-00103.1</citation> 89 <citation type="doi">10.1175/JTECH-D-11-00103.1</citation>
86 <citation type="doi">10.7289/V5D21VHZ</citation> 90 <citation type="doi">10.7289/V5D21VHZ</citation>