Mercurial > repos > yufei-luo > s_mart
diff SMART/galaxy/plotTranscriptList.xml @ 6:769e306b7933
Change the repository level.
author | yufei-luo |
---|---|
date | Fri, 18 Jan 2013 04:54:14 -0500 |
parents | |
children | 440ceca58672 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SMART/galaxy/plotTranscriptList.xml Fri Jan 18 04:54:14 2013 -0500 @@ -0,0 +1,141 @@ +<tool id="plotTranscriptList" name="plot transcript list"> + <description>Plot some information from a list of transcripts. </description> + <command interpreter="python"> + ../Java/Python/plotTranscriptList.py -i $formatType.inputFileName + #if $formatType.FormatInputFileName == 'bed': + -f bed + #elif $formatType.FormatInputFileName == 'gff': + -f gff + #elif $formatType.FormatInputFileName == 'gff2': + -f gff2 + #elif $formatType.FormatInputFileName == 'gff3': + -f gff3 + #elif $formatType.FormatInputFileName == 'sam': + -f sam + #elif $formatType.FormatInputFileName == 'gtf': + -f gtf + #end if + + -x $xVal + -y $yVal + #if $optionz.z == 'Yes': + -z $optionz.zVal + #end if + + -X $XVal + -Y $YVal + -Z $ZVal + + #if $optionxLab.xLab == 'Yes': + -n $optionxLab.labVal + #end if + #if $optionyLab.yLab == 'Yes': + -m $optionyLab.labVal + #end if + + #if $optionyLog.log == 'Yes': + -l $optionyLog.logVal + #end if + + -s $shape + -b $bucket + + -o $outputFilePNG + </command> + + <inputs> + <conditional name="formatType"> + <param name="FormatInputFileName" type="select" label="Input File Format"> + <option value="bed">bed</option> + <option value="gff">gff</option> + <option value="gff2">gff2</option> + <option value="gff3">gff3</option> + <option value="sam">sam</option> + <option value="gtf">gtf</option> + </param> + <when value="bed"> + <param name="inputFileName" format="bed" type="data" label="Input File"/> + </when> + <when value="gff"> + <param name="inputFileName" format="gff" type="data" label="Input File"/> + </when> + <when value="gff2"> + <param name="inputFileName" format="gff2" type="data" label="Input File"/> + </when> + <when value="gff3"> + <param name="inputFileName" format="gff3" type="data" label="Input File"/> + </when> + <when value="sam"> + <param name="inputFileName" format="sam" type="data" label="Input File"/> + </when> + <when value="gtf"> + <param name="inputFileName" format="gtf" type="data" label="Input File"/> + </when> + </conditional> + + <param name="xVal" type="text" value="None" label="tag for the x value [compulsory option]"/> + <param name="yVal" type="text" value="None" label="tag for the y value [compulsory option]"/> + + <conditional name="optionz"> + <param name="z" type="select" label="tag for the z value "> + <option value="Yes">Yes</option> + <option value="No" selected="true">No</option> + </param> + <when value="Yes"> + <param name="zVal" type="text" value="None"/> + </when> + <when value="No"> + </when> + </conditional> + + <param name="XVal" type="float" value="0.0" label="value for x when tag is not present "/> + + <param name="YVal" type="float" value="0.0" label="value for y when tag is not present"/> + + <param name="ZVal" type="float" value="0.0" label="value for z when tag is not present"/> + + <conditional name="optionxLab"> + <param name="xLab" type="select" label="label on the x-axis "> + <option value="Yes">Yes</option> + <option value="No" selected="true">No</option> + </param> + <when value="Yes"> + <param name="labVal" type="text" value=" "/> + </when> + <when value="No"> + </when> + </conditional> + <conditional name="optionyLab"> + <param name="yLab" type="select" label="label on the y-axis "> + <option value="Yes">Yes</option> + <option value="No" selected="true">No</option> + </param> + <when value="Yes"> + <param name="labVal" type="text" value=" "/> + </when> + <when value="No"> + </when> + </conditional> + + <conditional name="optionyLog"> + <param name="log" type="select" label="use log on x- or y-axis (write 'x', 'y' or 'xy')"> + <option value="Yes">Yes</option> + <option value="No" selected="true">No</option> + </param> + <when value="Yes"> + <param name="logVal" type="text" value=" "/> + </when> + <when value="No"> + </when> + </conditional> + + <param name="shape" type="text" value="barplot" label="shape of the plot [format: choice (barplot, line, points, heatPoints)]"/> + <param name="bucket" type="float" value="1.0" label="bucket size (for the line plot)"/> + + </inputs> + + <outputs> + <data name="outputFilePNG" format="png" label="[plotTranscriptList]out file"/> + </outputs> + +</tool>