annotate SMART/galaxy/CollapseReads.xml @ 36:44d5973c188c

Uploaded
author m-zytnicki
date Tue, 30 Apr 2013 15:02:29 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
1 <tool id="collapseReads" name="collapse reads">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Merges two genomic features if they have exactly the same genomic coordinates.</description>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
3 <command interpreter="python">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
4 ../Java/Python/CollapseReads.py -i $formatType.inputFileName
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
5 #if $formatType.FormatInputFileName == 'bed':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
6 -f bed
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
7 #elif $formatType.FormatInputFileName == 'gff':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
8 -f gff
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
9 #elif $formatType.FormatInputFileName == 'gff2':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
10 -f gff2
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
11 #elif $formatType.FormatInputFileName == 'gff3':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
12 -f gff3
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
13 #elif $formatType.FormatInputFileName == 'sam':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
14 -f sam
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
15 #elif $formatType.FormatInputFileName == 'gtf':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
16 -f gtf
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
17 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
18 -$strand
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
19 -o $outputFileGff
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
20 </command>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
21
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
22 <inputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
23 <conditional name="formatType">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
24 <param name="FormatInputFileName" type="select" label="Input File Format">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
25 <option value="bed">bed</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
26 <option value="gff">gff</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
27 <option value="gff2">gff2</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
28 <option value="gff3">gff3</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
29 <option value="sam">sam</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
30 <option value="gtf">gtf</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
31 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
32 <when value="bed">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
33 <param name="inputFileName" format="bed" type="data" label="Input File"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
34 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
35 <when value="gff">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
36 <param name="inputFileName" format="gff" type="data" label="Input File"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
37 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
38 <when value="gff2">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
39 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
40 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
41 <when value="gff3">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
42 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
43 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
44 <when value="sam">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
45 <param name="inputFileName" format="sam" type="data" label="Input File"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
46 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
47 <when value="gtf">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
48 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
49 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
50 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
51
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
52 <param name="strand" type="boolean" truevalue="-s" falsevalue="" checked="false" label="Merges features even if they are on different strands."/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
53 </inputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
54
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
55 <outputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
56 <data name="outputFileGff" format="gff3"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
57 </outputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
58
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
59 <help>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
60 Merge two input genomic coordinates iff they are exactly the same. If two or more genomic coordinates are merged, the tag **nbElements** is updated accordingly. As a consequence, all the reads which are exactly the same appear as one genomic coordinate.
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
61
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
62 This is especially useful for short RNA sequencing (where you want to count the number of read per miRNA, siRNA, etc.) or 5' capped short reads.
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
63 </help>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
64 </tool>