annotate insect_phenology_model.xml @ 41:f4d683709b7f draft

Uploaded
author greg
date Wed, 11 Apr 2018 13:26:56 -0400
parents d8e6304dc5e4
children 64132300c62e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
24fa0d35a8bf Uploaded
greg
parents: 2
diff changeset
1 <tool id="insect_phenology_model" name="Insect phenology model" version="1.1.0">
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
2 <description>expressing stage-specific phenology and population dynamics</description>
244c373f2a34 Uploaded
greg
parents:
diff changeset
3 <requirements>
4
e7b1fc0133bb Uploaded
greg
parents: 3
diff changeset
4 <requirement type="package" version="1.4.4">r-optparse</requirement>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
5 </requirements>
2
07444af6824f Uploaded
greg
parents: 0
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
7 #import os
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
8 #set output_data_dir = "output_data_dir"
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
9 #set output_plots_dir = "output_plots_dir"
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
10 #set error_file = $os.path.join($output_data_dir, "04_combined_generations.csv")
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
11 #set life_stages = list()
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
12 #set plot_adult_life_stage = $plot_adult_life_stage_cond.plot_adult_life_stage
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
13 #set plot_nymph_life_stage = $plot_nymph_life_stage_cond.plot_nymph_life_stage
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
14 #if str($plot_egg_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
15 $life_stages.append("Egg")
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
16 #end if
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
17 #if str($plot_nymph_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
18 $life_stages.append("Nymph")
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
19 #end if
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
20 #if str($plot_adult_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
21 $life_stages.append("Adult")
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
22 #end if
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
23 #if str($plot_egg_life_stage) == "yes" and str($plot_nymph_life_stage) == "yes" and str($plot_adult_life_stage) == "yes":
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
24 $life_stages.append("Total")
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
25 #end if
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
26 #set life_stages = ",".join($life_stages)
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
27 mkdir output_data_dir &&
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
28 mkdir output_plots_dir &&
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
29 Rscript '$__tool_directory__/insect_phenology_model.R'
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
30 --adult_mortality $adult_mortality
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
31 --adult_accumulation $adult_accumulation
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
32 --egg_mortality $egg_mortality
37
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
33 --input_ytd '$input_ytd'
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
34 --input_norm '$input_norm'
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
35 --insect '$insect'
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
36 --insects_per_replication $insects_per_replication
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
37 --life_stages '$life_stages'
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
38 #if str($plot_adult_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
39 --life_stages_adult '$plot_adult_life_stage_cond.life_stages_adult'
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
40 #end if
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
41 #if str($plot_nymph_life_stage) == "yes":
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
42 --life_stages_nymph '$plot_nymph_life_stage_cond.life_stages_nymph'
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
43 #end if
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
44 --location '$location'
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
45 --max_clutch_size $max_clutch_size
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
46 --min_clutch_size $min_clutch_size
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
47 --nymph_mortality $nymph_mortality
37
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
48 --num_days_ytd $input_ytd.metadata.data_lines
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
49 --old_nymph_accumulation $old_nymph_accumulation
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
50 --oviposition $oviposition
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
51 --photoperiod $photoperiod
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
52 --replications $replications
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
53 --plot_generations_separately $plot_generations_separately
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
54 --plot_std_error $plot_std_error
26
93209c167a61 Uploaded
greg
parents: 22
diff changeset
55 --young_nymph_accumulation $young_nymph_accumulation
29
dd0f1b7528aa Uploaded
greg
parents: 28
diff changeset
56 &>ipm_log.txt;
dd0f1b7528aa Uploaded
greg
parents: 28
diff changeset
57 if [[ $? -ne 0 ]]; then
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
58 cp ipm_log.txt '$error_file';
29
dd0f1b7528aa Uploaded
greg
parents: 28
diff changeset
59 exit 1;
dd0f1b7528aa Uploaded
greg
parents: 28
diff changeset
60 fi]]></command>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
61 <inputs>
37
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
62 <param name="input_ytd" type="data" format="csv" label="Year-to-date temperature data">
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
63 <validator type="expression" message="Year-to-date temperature data must have 6 columns">value is not None and value.metadata.columns==6</validator>
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
64 </param>
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
65 <param name="input_norm" type="data" format="csv" label="30 year normals temperature data">
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
66 <validator type="expression" message="30 year normals temperature data must have 10 columns and 366 rows">value is not None and value.metadata.columns==10 and value.metadata.data_lines==366</validator>
b7dcecf5476a Uploaded
greg
parents: 33
diff changeset
67 </param>
2
07444af6824f Uploaded
greg
parents: 0
diff changeset
68 <param name="location" type="text" value="" optional="false" label="Location" />
5
1878a03f9c9f Uploaded
greg
parents: 4
diff changeset
69 <param name="insect" type="select" label="Select insect">
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
70 <option value="BMSB" selected="True">Brown Marmorated Stink Bug</option>
5
1878a03f9c9f Uploaded
greg
parents: 4
diff changeset
71 </param>
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
72 <param name="replications" type="integer" value="10" min="2" label="Number of replications" />
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
73 <param name="insects_per_replication" type="integer" value="1000" min="1" label="Number of insects with which to start each replication" />
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
74 <param name="photoperiod" type="float" value="13.5" min="0" label="Critical photoperiod for diapause induction/termination" />
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
75 <param name="egg_mortality" type="integer" value="1" min="0" label="Adjustment rate for egg mortality" />
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
76 <param name="nymph_mortality" type="integer" value="1" min="0" label="Adjustment rate for nymph mortality" />
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
77 <param name="adult_mortality" type="integer" value="1" min="0" label="Adjustment rate for adult mortality" />
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
78 <param name="oviposition" type="integer" value="1" min="0" label="Adjustment oviposition rate" />
244c373f2a34 Uploaded
greg
parents:
diff changeset
79 <param name="min_clutch_size" type="integer" value="0" min="0" label="Adjustment of minimum clutch size" />
244c373f2a34 Uploaded
greg
parents:
diff changeset
80 <param name="max_clutch_size" type="integer" value="0" min="0" label="Adjustment of maximum clutch size" />
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
81 <param name="young_nymph_accumulation" type="integer" value="0" min="0" label="Adjustment of degree-days accumulation (egg->young nymph)" />
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
82 <param name="old_nymph_accumulation" type="integer" value="0" min="0" label="Adjustment of degree-days accumulation (young nymph->old nymph)" />
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
83 <param name="adult_accumulation" type="integer" value="0" min="0" label="Adjustment of degree-days accumulation (old nymph->adult)" />
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
84 <param name="plot_generations_separately" type="select" label="Plot generations separately?">
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
85 <option value="yes" selected="True">Yes</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
86 <option value="no">No</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
87 </param>
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
88 <param name="plot_egg_life_stage" type="select" label="Plot egg life stage?">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
89 <option value="yes" selected="true">Yes</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
90 <option value="no">No</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
91 </param>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
92 <conditional name="plot_nymph_life_stage_cond">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
93 <param name="plot_nymph_life_stage" type="select" label="Plot nymph life stage?">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
94 <option value="yes" selected="true">Yes</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
95 <option value="no">No</option>
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
96 </param>
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
97 <when value="yes">
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
98 <param name="life_stages_nymph" type="select" multiple="true" label="Select nymph life stage">
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
99 <option value="Total" selected="true">All</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
100 <option value="Young">Young</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
101 <option value="Old">Old</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
102 </param>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
103 </when>
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
104 <when value="no"/>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
105 </conditional>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
106 <conditional name="plot_adult_life_stage_cond">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
107 <param name="plot_adult_life_stage" type="select" label="Plot adult life stage?">
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
108 <option value="yes" selected="true">Yes</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
109 <option value="no">No</option>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
110 </param>
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
111 <when value="yes">
17
6f31ade9a0f4 Uploaded
greg
parents: 14
diff changeset
112 <param name="life_stages_adult" type="select" multiple="true" label="Select adult life stage">
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
113 <option value="Total" selected="true">All</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
114 <option value="Pre-vittelogenic">Pre-vittelogenic</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
115 <option value="Vittelogenic">Vittelogenic</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
116 <option value="Diapausing">Diapausing</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
117 </param>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
118 </when>
13
8f7d918586bc Uploaded
greg
parents: 12
diff changeset
119 <when value="no"/>
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
120 </conditional>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
121 <param name="plot_std_error" type="select" label="Plot standard error?">
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
122 <option value="yes" selected="True">Yes</option>
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
123 <option value="no">No</option>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
124 </param>
244c373f2a34 Uploaded
greg
parents:
diff changeset
125 </inputs>
244c373f2a34 Uploaded
greg
parents:
diff changeset
126 <outputs>
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
127 <collection name="output_data_collection" type="list" label="${tool.name} (data), on ${on_string}">
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
128 <discover_datasets pattern="__name__" directory="output_data_dir" format="csv" />
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
129 </collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
130 <collection name="output_plots_collection" type="list" label="${tool.name} (plots), on ${on_string}">
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
131 <discover_datasets pattern="__name__" directory="output_plots_dir" format="pdf" />
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
132 </collection>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
133 </outputs>
244c373f2a34 Uploaded
greg
parents:
diff changeset
134 <tests>
244c373f2a34 Uploaded
greg
parents:
diff changeset
135 <test>
40
d8e6304dc5e4 Uploaded
greg
parents: 37
diff changeset
136 <param name="input_ytd" value="state_college_partial.csv" ftype="csv" />
d8e6304dc5e4 Uploaded
greg
parents: 37
diff changeset
137 <param name="input_norm" value="30_year_normals.csv" ftype="csv" />
3
24fa0d35a8bf Uploaded
greg
parents: 2
diff changeset
138 <param name="location" value="State College PA" />
12
bd5e35775e20 Uploaded
greg
parents: 9
diff changeset
139 <param name="replications" value="2" />
22
58255c06d24b Uploaded
greg
parents: 18
diff changeset
140 <param name="plot_generations_separately" value="no" />
58255c06d24b Uploaded
greg
parents: 18
diff changeset
141 <param name="plot_egg_life_stage" value="no" />
58255c06d24b Uploaded
greg
parents: 18
diff changeset
142 <param name="life_stages_nymph" value="Young" />
58255c06d24b Uploaded
greg
parents: 18
diff changeset
143 <param name="life_stages_adult" value="Pre-vittelogenic" />
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
144 <output_collection name="output_data_collection" type="list">
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
145 <element name="04_combined_generations.csv" file="output_combined1.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
146 </output_collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
147 <output_collection name="output_plots_collection" type="list">
28
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
148 <element name="02_young_nymph_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
149 <element name="05_pre-vittelogenic_adult_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
22
58255c06d24b Uploaded
greg
parents: 18
diff changeset
150 </output_collection>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
151 </test>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
152 <test>
40
d8e6304dc5e4 Uploaded
greg
parents: 37
diff changeset
153 <param name="input_ytd" value="state_college_ytd.csv" ftype="csv" />
d8e6304dc5e4 Uploaded
greg
parents: 37
diff changeset
154 <param name="input_norm" value="30_year_normals.csv" ftype="csv" />
22
58255c06d24b Uploaded
greg
parents: 18
diff changeset
155 <param name="location" value="State College PA" />
58255c06d24b Uploaded
greg
parents: 18
diff changeset
156 <param name="replications" value="2" />
58255c06d24b Uploaded
greg
parents: 18
diff changeset
157 <param name="plot_generations_separately" value="no" />
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
158 <output_collection name="output_data_collection" type="list">
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
159 <element name="04_combined_generations.csv" file="output_combined2.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
160 </output_collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
161 <output_collection name="output_plots_collection" type="list">
28
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
162 <element name="01_egg_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
163 <element name="04_total_nymph_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
164 <element name="08_total_adult_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
165 <element name="09_total_pop.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
22
58255c06d24b Uploaded
greg
parents: 18
diff changeset
166 </output_collection>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
167 </test>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
168 <test>
40
d8e6304dc5e4 Uploaded
greg
parents: 37
diff changeset
169 <param name="input_ytd" value="state_college_partial.csv" ftype="csv" />
d8e6304dc5e4 Uploaded
greg
parents: 37
diff changeset
170 <param name="input_norm" value="30_year_normals.csv" ftype="csv" />
22
58255c06d24b Uploaded
greg
parents: 18
diff changeset
171 <param name="location" value="State College PA" />
58255c06d24b Uploaded
greg
parents: 18
diff changeset
172 <param name="replications" value="2" />
58255c06d24b Uploaded
greg
parents: 18
diff changeset
173 <param name="plot_egg_life_stage" value="no" />
58255c06d24b Uploaded
greg
parents: 18
diff changeset
174 <param name="life_stages_nymph" value="Old" />
58255c06d24b Uploaded
greg
parents: 18
diff changeset
175 <param name="plot_adult_life_stage" value="no" />
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
176 <output_collection name="output_data_collection" type="list">
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
177 <element name="01_generation_P.csv" file="output_p_3.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
178 <element name="02_generation_F1.csv" file="output_f1_3.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
179 <element name="03_generation_F2.csv" file="output_f2_3.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
180 <element name="04_combined_generations.csv" file="output_combined3.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
181 </output_collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
182 <output_collection name="output_plots_collection" type="list">
28
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
183 <element name="03_old_nymph_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
22
58255c06d24b Uploaded
greg
parents: 18
diff changeset
184 </output_collection>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
185 </test>
58255c06d24b Uploaded
greg
parents: 18
diff changeset
186 <test>
40
d8e6304dc5e4 Uploaded
greg
parents: 37
diff changeset
187 <param name="input_ytd" value="state_college_ytd.csv" ftype="csv" />
d8e6304dc5e4 Uploaded
greg
parents: 37
diff changeset
188 <param name="input_norm" value="30_year_normals.csv" ftype="csv" />
22
58255c06d24b Uploaded
greg
parents: 18
diff changeset
189 <param name="location" value="State College PA" />
58255c06d24b Uploaded
greg
parents: 18
diff changeset
190 <param name="replications" value="2" />
33
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
191 <output_collection name="output_data_collection" type="list">
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
192 <element name="01_generation_P.csv" file="output_p_4.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
193 <element name="02_generation_F1.csv" file="output_f1_4.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
194 <element name="03_generation_F2.csv" file="output_f2_4.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
195 <element name="04_combined_generations.csv" file="output_combined4.csv" ftype="csv" compare="contains"/>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
196 </output_collection>
ef5add7dea47 Uploaded
greg
parents: 32
diff changeset
197 <output_collection name="output_plots_collection" type="list">
28
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
198 <element name="01_egg_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
199 <element name="04_total_nymph_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
200 <element name="08_total_adult_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
afe6d8bac0c0 Uploaded
greg
parents: 26
diff changeset
201 <element name="09_total_pop_by_generation.pdf" file="plot.pdf" ftype="pdf" compare="contains"/>
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
202 </output_collection>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
203 </test>
244c373f2a34 Uploaded
greg
parents:
diff changeset
204 </tests>
244c373f2a34 Uploaded
greg
parents:
diff changeset
205 <help>
244c373f2a34 Uploaded
greg
parents:
diff changeset
206 **What it does**
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
207
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
208 Provides an agent-based stochastic model expressing stage-specific phenology and population dynamics for an insect species across geographic regions.
244c373f2a34 Uploaded
greg
parents:
diff changeset
209
244c373f2a34 Uploaded
greg
parents:
diff changeset
210 -----
244c373f2a34 Uploaded
greg
parents:
diff changeset
211
244c373f2a34 Uploaded
greg
parents:
diff changeset
212 **Required options**
244c373f2a34 Uploaded
greg
parents:
diff changeset
213
244c373f2a34 Uploaded
greg
parents:
diff changeset
214 * **Location** - the location associated with the selected temperature data.
244c373f2a34 Uploaded
greg
parents:
diff changeset
215 * **Temperature data** - select the dataset from your history containing the temperature data.
7
ad26f07a7dd8 Uploaded
greg
parents: 6
diff changeset
216 * **Select insect** - currently only the Brown Marmorated Stink Bug can be analyzed.
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
217 * **Number of replications** - number of replications.
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
218 * **Number of insects with which to start each replication** - the analysis for each replication will start with this number of insects.
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
219 * **Critical photoperiod for diapause induction/termination** - critical photoperiod for diapause induction/termination.
244c373f2a34 Uploaded
greg
parents:
diff changeset
220 * **Adjustment rate for egg mortality** - adjustment rate for egg mortality.
244c373f2a34 Uploaded
greg
parents:
diff changeset
221 * **Adjustment rate for nymph mortality** - adjustment rate for nymph mortality.
244c373f2a34 Uploaded
greg
parents:
diff changeset
222 * **Adjustment rate for adult mortality** - adjustment rate for adult mortality.
244c373f2a34 Uploaded
greg
parents:
diff changeset
223 * **Adjustment oviposition rate** - adjustment oviposition rate.
244c373f2a34 Uploaded
greg
parents:
diff changeset
224 * **Adjustment of minimum clutch size** - adjustment of minimum clutch size.
244c373f2a34 Uploaded
greg
parents:
diff changeset
225 * **Adjustment of maximum clutch size** - adjustment of maximum clutch size
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
226 * **Adjustment of degree-days accumulation (egg->young nymph)** - adjustment of degree-days accumulation (egg->young nymph).
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
227 * **Adjustment of degree-days accumulation (young nymph->old nymph)** - adjustment of degree-days accumulation (young nymph->old nymph).
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
228 * **Adjustment of degree-days accumulation (old nymph->adult)** - adjustment of degree-days accumulation (old nymph->adult).
9
d9371485aaf5 Uploaded
greg
parents: 7
diff changeset
229 * **Plot generations separately** - select "Yes" to plot P, F1 and F2 as separate lines or "no" to pool across generations, resulting in a total for the selected life states.
14
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
230 * **Plot egg life stage** - select "Yes" to plot the egg life stage. If all life stages (egg, nymph and adult) are selected for plotting, one output for the total will be produced.
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
231 * **Plot nymph life stage** - select "Yes" to plot the nymph life stage. If all life stages (egg, nymph and adult) are selected for plotting, one output for the total will be produced.
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
232
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
233 * **Select nymph life stage** - select the nymph life stage for plotting.
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
234
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
235 * **Plot adult life stage** - select "Yes" to plot the adult life stage. If all life stages (egg, nymph and adult) are selected for plotting, one output for the total will be produced.
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
236
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
237 * **Select adult life stage** - select the adult life stage for plotting.
4aadc28100b0 Uploaded
greg
parents: 13
diff changeset
238
6
fe3f86012394 Uploaded
greg
parents: 5
diff changeset
239 * **Plot standard error** - add standard error lines to plot.
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
240 </help>
244c373f2a34 Uploaded
greg
parents:
diff changeset
241 <citations>
244c373f2a34 Uploaded
greg
parents:
diff changeset
242 <citation type="doi">10.3389/fphys.2016.00165</citation>
3
24fa0d35a8bf Uploaded
greg
parents: 2
diff changeset
243 <citation type="doi">10.1175/JTECH-D-11-00103.1</citation>
24fa0d35a8bf Uploaded
greg
parents: 2
diff changeset
244 <citation type="doi">10.7289/V5D21VHZ</citation>
0
244c373f2a34 Uploaded
greg
parents:
diff changeset
245 </citations>
244c373f2a34 Uploaded
greg
parents:
diff changeset
246 </tool>