view bmsb.xml @ 36:956daea2c7fe draft

Uploaded
author greg
date Fri, 16 Dec 2016 10:16:11 -0500
parents 7418fc8f0780
children 3a336de4539a
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
            -a $adult_mort
            -b $adult_accum
            -c $egg_mort
            -d $latitude
            -e $location
            -f $max_clutch_size
            -i $min_clutch_size
            -j $nymph_mort
            -k $old_nymph_accum
            -o $output
            -p $oviposition
            -q $photoperiod
            -s $replications
            -t $se_plot
            -u $year
            -v "$temperature_dataset"
            -y $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_dataset" type="data" format="csv" label="Select dataset containing temperatures" />
        <param name="year" type="integer" value="2004" min="1990" label="Enter the year for the temperature data" />
        <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" value="1" label="Adjustment rate for egg mortality" />
        <param name="nymph_mort" type="integer" value="1" label="Adjustment rate for nymph mortality" />
        <param name="adult_mort" type="integer" value="1" label="Adjustment rate for adult mortality" />
        <param name="oviposition" type="integer" value="1" label="Adjustment oviposition rate" />
        <param name="min_clutch_size" type="integer" value="0" label="Adjustment of minimum clutch size" />
        <param name="max_clutch_size" type="integer" value="0" label="Adjustment of maximum clutch size" />
        <param name="young_nymph_accum" type="integer" value="0" label="Adjustment of DD accumulation (egg->young nymph)" />
        <param name="old_nymph_accum" type="integer" value="0" label="Adjustment of DD accumulation (young nymph->old nymph)" />
        <param name="adult_accum" type="integer" value="0" label="Adjustment of DD accumulation (old nymph->adult)" />
        <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="pdf" label="${tool.name} ${location}:${year} on ${on_string}" />
    </outputs>
    <help>
**What it does**
 
BMSB prototype tool.
    </help>
    <citations>
        <citation></citation>
    </citations>
</tool>