Mercurial > repos > yufei-luo > s_mart
view SMART/galaxy/GetDifferentialExpression.xml @ 42:2abc37c27164
Deleted selected files
author | m-zytnicki |
---|---|
date | Wed, 18 Sep 2013 07:45:59 -0400 |
parents | 2c0c0a89fad7 |
children |
line wrap: on
line source
<tool id="GetDifferentialExpression" name="get differential expression"> <description>Get the differential expression between 2 conditions using Fisher's exact test, on regions defined by a third file.</description> <requirements> <requirement type="set_environment">PYTHONPATH</requirement> </requirements> <command interpreter="python"> ../Java/Python/GetDifferentialExpression.py -i $formatType.inputFileName1 #if $formatType.FormatInputFileName1 == 'bed': -f bed #elif $formatType.FormatInputFileName1 == 'gff': -f gff #elif $formatType.FormatInputFileName1 == 'gff2': -f gff2 #elif $formatType.FormatInputFileName1 == 'gff3': -f gff3 #elif $formatType.FormatInputFileName1 == 'sam': -f sam #elif $formatType.FormatInputFileName1 == 'gtf': -f gtf #end if -j $formatType2.inputFileName2 #if $formatType2.FormatInputFileName2 == 'bed': -g bed #elif $formatType2.FormatInputFileName2 == 'gff': -g gff #elif $formatType2.FormatInputFileName2 == 'gff2': -g gff2 #elif $formatType2.FormatInputFileName2 == 'gff3': -g gff3 #elif $formatType2.FormatInputFileName2 == 'sam': -g sam #elif $formatType2.FormatInputFileName2 == 'gtf': -g gtf #end if -k $formatTypeRef.inputFileNameRef #if $formatTypeRef.FormatInputFileNameRef == 'bed': -l bed #elif $formatTypeRef.FormatInputFileNameRef == 'gff': -l gff #elif $formatTypeRef.FormatInputFileNameRef == 'gff2': -l gff2 #elif $formatTypeRef.FormatInputFileNameRef == 'gff3': -l gff3 #elif $formatTypeRef.FormatInputFileNameRef == 'sam': -l sam #elif $formatTypeRef.FormatInputFileNameRef == 'gtf': -l gtf #end if -o $outputFileGff $simple $adjusted #if $optionSimplePara.simplePara == 'Yes': -S $optionSimplePara.paraValue #end if #if $optionFixedSizeFactor.FSF == 'Yes': -x $optionFixedSizeFactor.FSFValue #end if #if $optionFDR.FDR == 'Yes': -d $optionFDR.FDRValue #end if </command> <inputs> <conditional name="formatType"> <param name="FormatInputFileName1" type="select" label="Input File Format 1"> <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="inputFileName1" format="bed" type="data" label="Input File 1"/> </when> <when value="gff"> <param name="inputFileName1" format="gff" type="data" label="Input File 1"/> </when> <when value="gff2"> <param name="inputFileName1" format="gff2" type="data" label="Input File 1"/> </when> <when value="gff3"> <param name="inputFileName1" format="gff3" type="data" label="Input File 1"/> </when> <when value="sam"> <param name="inputFileName1" format="sam" type="data" label="Input File 1"/> </when> <when value="gtf"> <param name="inputFileName1" format="gtf" type="data" label="Input File 1"/> </when> </conditional> <conditional name="formatType2"> <param name="FormatInputFileName2" type="select" label="Input File Format 2"> <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="inputFileName2" format="bed" type="data" label="Input File 2"/> </when> <when value="gff"> <param name="inputFileName2" format="gff" type="data" label="Input File 2"/> </when> <when value="gff2"> <param name="inputFileName2" format="gff2" type="data" label="Input File 2"/> </when> <when value="gff3"> <param name="inputFileName2" format="gff3" type="data" label="Input File 2"/> </when> <when value="sam"> <param name="inputFileName2" format="sam" type="data" label="Input File 2"/> </when> <when value="gtf"> <param name="inputFileName2" format="gtf" type="data" label="Input File 2"/> </when> </conditional> <conditional name="formatTypeRef"> <param name="FormatInputFileNameRef" type="select" label="Input Ref 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="inputFileNameRef" format="bed" type="data" label="Input Ref File"/> </when> <when value="gff"> <param name="inputFileNameRef" format="gff" type="data" label="Input Ref File"/> </when> <when value="gff2"> <param name="inputFileNameRef" format="gff2" type="data" label="Input Ref File"/> </when> <when value="gff3"> <param name="inputFileNameRef" format="gff3" type="data" label="Input Ref File"/> </when> <when value="sam"> <param name="inputFileNameRef" format="sam" type="data" label="Input Ref File"/> </when> <when value="gtf"> <param name="inputFileNameRef" format="gtf" type="data" label="Input Ref File"/> </when> </conditional> <param name="simple" type="boolean" truevalue="-s" falsevalue="" checked="false" label="Normalize using the number of reads in each condition"/> <param name="adjusted" type="boolean" truevalue="-a" falsevalue="" checked="false" label="Normalize using the number of reads of interquartile expression region"/> <conditional name="optionSimplePara"> <param name="simplePara" type="select" label="provide the number of reads" > <option value="Yes">Yes</option> <option value="No" selected="true">No</option> </param> <when value="Yes"> <param name="paraValue" type="text" value="None" label="provide the number of reads" /> </when> <when value="No"> </when> </conditional> <conditional name="optionFixedSizeFactor"> <param name="FSF" type="select" label="Give the magnification factor for the normalization using fixed size sliding windows in reference regions (leave empty for no such normalization)"> <option value="Yes">Yes</option> <option value="No" selected="true">No</option> </param> <when value="Yes"> <param name="FSFValue" type="integer" value="0" /> </when> <when value="No"> </when> </conditional> <conditional name="optionFDR"> <param name="FDR" type="select" label="use FDR"> <option value="Yes">Yes</option> <option value="No" selected="true">No</option> </param> <when value="Yes"> <param name="FDRValue" type="float" value="0.0"/> </when> <when value="No"> </when> </conditional> </inputs> <outputs> <data name="outputFileGff" format="gff3" label="[GetDifferentialExpression]out file"/> </outputs> <help> This tool compares two sets of data and find the differential expression. One very important component of the tool is the reference set. Actually, to use the tool, you need the two input sets of data, of course, and the reference set. The reference set is a set of genomic coordinates and, for each interval, it will count the number of feature on each sample and compute the differential expression. For each reference interval, it will output the direction of the regulation (up or down, with respect to the first input set), and a *p*-value from a Fisher exact test. This reference set seems boring. Why not computing the differential expression without this set? The answer is: the differential expression of what? I cannot guess it. Actually, you might want to compare the expression of genes, of small RNAs, of transposable elements, of anything... So the reference set can be a list of genes, and in this case, you can compute the differential expression of genes. But you can also compute many other things. Suppose that you cluster the data of your two input samples (you can do it with the *clusterize* and the *mergeTranscriptLists* tools). You now have a list of all the regions which are transcribed in at least one of the input samples. This can be your reference set. This reference set is interesting since you can detect the differential expression of data which is outside any annotation. Suppose now that you clusterize using a sliding window the two input samples (you can do it with the *clusterizeBySlidingWindows* and the *mergeSlidingWindowsClusters* tools). You can now select all the regions of a given size which contain at least one read in one of the two input samples (do it with *selectByTag* and the tag **nbElements**). Again, this can be an other interesting reference set. In most cases, the sizes of the two input samples will be different, so you should probably normalize the data, which is an available option. The ---rather crude--- normalization increases the number of data in the least populated sample and decreases the number of data in the most populated sample to the average number of data. </help> </tool>