view bmsb.xml @ 31:aefd45f2fa43 draft

Uploaded
author greg
date Thu, 15 Dec 2016 11:04:41 -0500
parents 53d2ac56c953
children 7418fc8f0780
line wrap: on
line source

<?xml version="."?>
<tool id="bmsb_model" name="Brown Marmorated Stink Bug" version="1.0.0">
    <description></description>
    <requirements>
         <requirement type="package" version="1.3.0">r-optparse</requirement>
    </requirements>
    <command>
        <![CDATA[
            Rscript $__tool_directory__/BMSB.R
            -adult_mort $adult_mort
            -adult_nymph_accum $adult_nymph_accum
            -egg_mort $egg_mort
            -latitude $latitude
            -location $location
            -max_clutch_size $max_clutch_size
            -min_clutch_size $min_clutch_size
            -nymph_mort $nymph_mort
            -old_nymph_accum $old_nymph_accum
            -output $output
            -oviposition $oviposition
            -photoperiod $photoperiod
            -replications $replications
            -se_plot $se_plot
            -sim_year $sim_year
            -start_year $start_year
            -temperature_datasets "$temperature_datasets"
            -young_nymph_accum $young_nymph_accum
        ]]>
    </command>
    <inputs>
        <param name="location" type="select" label="Select a location">
            <option value="asheville" selected=True>Asheville</option>
            <option value="wenatchee">Wenatchee</option>
        </param>
        <param name="latitude" type="float" value="35.60" label="Latitude of selected location">
        <param name="temperature_datasets" type="data" format="csv" multiple="true" label="Select datasets containing temperatures" help="One or more datasets can be selected"/>
        <param name="start_year" type="integer" min="1990" label="Enter a starting year" />
        <param name="replications" type="integer" value="3" label="Number of replications" />
        <param name="photoperiod" type="float" value="13.5" label="Critical photoperiod for diapause induction/termination">
        <param name="egg_mort" type="integer" label="Adjustment rate for egg mortality" />
        <param name="nymph_mort" type="integer" label="Adjustment rate for nymph mortality" />
        <param name="adult_mort" type="integer" label="Adjustment rate for adult mortality" />
        <param name="oviposition" type="integer" label="Adjustment oviposition rate" />
        <param name="min_clutch_size" type="integer" label="Adjustment of minimum clutch size" />
        <param name="max_clutch_size" type="integer" label="Adjustment of maximum clutch size" />
        <param name="young_nymph_accum" type="integer" label="Adjustment of DD accumulation (egg->young nymph)" />
        <param name="old_nymph_accum" type="integer" label="Adjustment of DD accumulation (young nymph->old nymph)" />
        <param name="adult_nymph_accum" type="integer" label="Adjustment of DD accumulation (old nymph->adult)" />
        <param name="sim_year" type="integer" min="1990" label="Simulation year" />
        <param name="se_plot" type="select" label="Plot SE?">
            <option value="0" selected=True>No</option>
            <option value="1">Yes</option>
        </param>
    </inputs>
    <outputs>
        <data name="output" format="RData" label="${tool.name}: ${location}, ${sim_year} on ${on_string}" />
    </outputs>
    <help>
**What it does**
 
BMSB prototype tool.
    </help>
    <citations>
        <citation></citation>
    </citations>
</tool>