Mercurial > repos > bcclaywell > microbiome_community_suite
diff community.xml @ 0:12b4f093e6c4 draft default tip
planemo upload commit 2774930eebe258ecd56c8f1c5ddabf5092282ab9
author | bcclaywell |
---|---|
date | Mon, 12 Oct 2015 16:46:15 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/community.xml Mon Oct 12 16:46:15 2015 -0400 @@ -0,0 +1,70 @@ +<tool id="community" name="Community" version="0.0.16"> + <description>'Community' Data Input</description> + <requirements> + <requirement type="package" version="3.1.2">R</requirement> + <requirement type="package" version="2014-05-02">microbiome_community</requirement> + </requirements> + <command interpreter="Rscript --vanilla">community.R + #if str($CountsFile).strip() != "": + --CountsFile="$CountsFile" + #end if + #if str($SamplesFile).strip() != "": + --SamplesFile="$SamplesFile" + #end if + #if str($K).strip() != "": + --K="$K" + #end if + #if str($A).strip() != "": + --A="$A" + #end if + #if str($Transform).strip() != "": + --Transform="$Transform" + #end if + #if str($SampleName).strip() != "": + --SampleName="$SampleName" + #end if + #if str($ColumnClasses).strip() != "": + --ColumnClasses="$ColumnClasses" + #end if + #if str($OutputFile).strip() != "": + --OutputFile="$OutputFile" + #end if + +2>&1</command> + <inputs> + <param optional="false" name="CountsFile" type="data" help="Name of a CSV file containing OTU samples." label="[required] Counts File"> + <validator type="empty_field" message="This field is required."/> + </param> + <param optional="false" name="SamplesFile" type="data" help="Name of a CSV file containing sample data." label="[required] Samples File"> + <validator type="empty_field" message="This field is required."/> + </param> + <param optional="true" name="K" type="float" value="0" help="The parameters 'K' and 'A' together define a 'K over A' filter. The filter can be used to include only some taxa. The idea is that a taxonomic entity is only included if at least 'A' reads are present in at least 'K' samples. The default is A = K = 0, i.e., include all taxa. Specify 'K' in the box above." label="K"> + <validator type="empty_field" message="This field is required."/> + </param> + <param optional="true" name="A" type="float" value="0" help="Include only taxa with at least K samples greater than A, as described for the parameter K." label="A"> + <validator type="empty_field" message="This field is required."/> + </param> + <param optional="true" name="Transform" type="select" help="(Optional) A transformation applied to all count data, after the 'K Over A' filter has been run. Possible values include "log" (actually, log(x + .5) to avoid logarithms of zero counts) and "asinh" (inverse hyperboloic sine, a log-like transformation with better behavior near zero)." label="Transform" force_select="FALSE"> + <validator type="empty_field" message="This field is required."/> + <option value="none">none</option> + <option value="log">log</option> + <option value="asinh">asinh</option> + </param> + <param optional="true" name="SampleName" type="text" help="(Optional) Samples File column name containing names by which samples are identified in all subsequent calculations. If two rows have the same Sample Name, then corresponding counts in the Counts File are added together." size="60" label="Sample Name"> + <validator type="empty_field" message="This field is required."/> + </param> + <param optional="true" name="ColumnClasses" type="text" help="(Optional) Comma-separated names specifying how each column is to be represented. There must be as many names, and in the same order, as there are columns in the file. Typical values include: logical, integer, numeric, character, factor, Date. Use 'factor' to indicate a variable with discrete levels, e.g., sex (with levels Male, Female) tissue type (with levels Tumor, Normal), etc. When 'Date' is used, dates should be formatted consistently as year-month-day or year/month/day, e.g., 2014-03-26; poorly formed dates will be converted to 'NA' values." size="60" label="Column Classes"> + <validator type="empty_field" message="This field is required."/> + </param> + </inputs> + <outputs> + <data format="rda" name="OutputFile" label="community.rda"/> + </outputs> + <help> +**Description** + +Input a CSV file of integer-valued counts of each taxon (row) in +each sample (column), and a CSV file of annotations on each +sample. The result is used in down-stream analysis. +</help> +</tool>