Mercurial > repos > yufei-luo > s_mart
diff SMART/galaxy/computeCoverage.xml @ 36:44d5973c188c
Uploaded
author | m-zytnicki |
---|---|
date | Tue, 30 Apr 2013 15:02:29 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SMART/galaxy/computeCoverage.xml Tue Apr 30 15:02:29 2013 -0400 @@ -0,0 +1,110 @@ +<tool id="ComputeCoverage" name="compute coverage"> + <description>Compute the coverage of a set with respect to another set.</description> + <command interpreter="python"> + ../Java/Python/ComputeCoverage.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 + + $ReportIntron + -o $outputFileGff + + </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> + + <param name="ReportIntron" type="boolean" truevalue="-t" falsevalue="" checked="false" label="Include introns."/> + + </inputs> + + <outputs> + <data name="outputFileGff" format="gff3" label="[computeCoverage] OUTPUT file"/> + </outputs> + + <help> +This tool considers a query and a reference files, and gives the coverage of the query file by the reference. The output file is similar to the query file, where a tag **coverage** has been added. + </help> +</tool> +