view EBGeneMultiCondTest.xml @ 0:ddd3dad04441 draft default tip

Uploaded
author yboursin
date Thu, 20 Oct 2016 08:59:24 -0400
parents
children
line wrap: on
line source

<tool id="EBGeneMultiCondTest" name="Gene level DE test across multiple conditions" version="1.0.1">
  <description>Runs EBSeq to find DE genes across multiple (more than two) conditions</description>

    <macros>
        <import>macros.xml</import>
    </macros>

    <expand macro="requirements"/>
    <expand macro="stdio"/>

  <command>R --quiet --slave --file=$__tool_directory__/EBGeneMultiCondTest.R --args $Gene_Expression $First_Row_Sample_Names $Conditions $Patterns $PP_of_each_pattern $Pattern_with_highest_PP $Sizes 1>NUL 2>NUL</command>
  <inputs>
		<param name="Gene_Expression" type="data" format="tabular" label="Gene Expression (tab delimited, please use the unnormalized values, e.g. expected counts from RSEM)"/>
		<param name="First_Row_Sample_Names" type="select" format="text">
			<label>The First Row is Sample Names?</label>
			<option value="y">Yes</option>
			<option value="n">No</option>
			</param>
		<param name="Conditions" type="text" size="60" value="C1,C2,C3" label="Enter which condition each
			sample belongs to (separated by comma, no space please)." 
			help=""/>
		<param name="Patterns" type="data" format="tabular" label="Patterns of Interests"/>
  </inputs>
  <outputs>
		<data format="tabular" name="PP_of_each_pattern" label="PP of each pattern"/>
		<data format="tabular" name="Pattern_with_highest_PP" label="Pattern with highest PP"/>
                <data format="tabular" name="Sizes" label="Normalization factors"/>
  </outputs>

  <help>
The input Conditions should have more than two levels (use "Gene level DE test across two conditions" for exactly two levels). The length of the Condition vector should be exactly the same as the number of columns in the data file (except the gene names column).

The patterns of interests could be obtained by function Get All Possible Patterns (and optionally, if there are too many patterns generated, the function Choose Patterns could be used to choose only subset of the patterns.)

Three output files will be generated. The first file contains the Posterior probability of being each pattern. The second file contains the pattern with highest PP for each gene and the normalized expressions. Genes are with the same order as in input file.
The last file provides the library size factor for each sample.


</help>

    <expand macro="citation" />

</tool>