annotate SMART/galaxy/CollapseReads.xml @ 71:d96f6c9a39e0 draft default tip

Removed pyc files.
author m-zytnicki
date Thu, 07 Apr 2016 09:25:18 -0400
parents 1473ab954708
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
1 <tool id="collapseReads" name="collapse reads">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Merges two genomic features if they have exactly the same genomic coordinates.</description>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
3 <requirements>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
4 <requirement type="set_environment">PYTHONPATH</requirement>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
5 </requirements>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
6 <command interpreter="python">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
7 ../Java/Python/CollapseReads.py -i $formatType.inputFileName
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
8 #if $formatType.FormatInputFileName == 'bed':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
9 -f bed
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
10 #elif $formatType.FormatInputFileName == 'gff':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
11 -f gff
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
12 #elif $formatType.FormatInputFileName == 'gff2':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
13 -f gff2
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
14 #elif $formatType.FormatInputFileName == 'gff3':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
15 -f gff3
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
16 #elif $formatType.FormatInputFileName == 'sam':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
17 -f sam
56
97aa2e42bfdf Uploaded
m-zytnicki
parents: 38
diff changeset
18 #elif $formatType.FormatInputFileName == 'bam':
97aa2e42bfdf Uploaded
m-zytnicki
parents: 38
diff changeset
19 -f bam
38
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
20 #elif $formatType.FormatInputFileName == 'gtf':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
21 -f gtf
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
22 #end if
69
1473ab954708 Corrected bug in &#34;CollapsedReads&#34; XML file.
m-zytnicki
parents: 56
diff changeset
23 $strand
38
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
24 -o $outputFileGff
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
25 </command>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
26
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
27 <inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
28 <conditional name="formatType">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
29 <param name="FormatInputFileName" type="select" label="Input File Format">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
30 <option value="bed">bed</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
31 <option value="gff">gff</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
32 <option value="gff2">gff2</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
33 <option value="gff3">gff3</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
34 <option value="sam">sam</option>
56
97aa2e42bfdf Uploaded
m-zytnicki
parents: 38
diff changeset
35 <option value="bam">bam</option>
38
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
36 <option value="gtf">gtf</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
37 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
38 <when value="bed">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
39 <param name="inputFileName" format="bed" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
40 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
41 <when value="gff">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
42 <param name="inputFileName" format="gff" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
43 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
44 <when value="gff2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
45 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
46 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
47 <when value="gff3">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
48 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
49 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
50 <when value="sam">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
51 <param name="inputFileName" format="sam" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
52 </when>
56
97aa2e42bfdf Uploaded
m-zytnicki
parents: 38
diff changeset
53 <when value="bam">
97aa2e42bfdf Uploaded
m-zytnicki
parents: 38
diff changeset
54 <param name="inputFileName" format="bam" type="data" label="Input File"/>
97aa2e42bfdf Uploaded
m-zytnicki
parents: 38
diff changeset
55 </when>
38
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
56 <when value="gtf">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
57 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
58 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
59 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
60
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
61 <param name="strand" type="boolean" truevalue="-s" falsevalue="" checked="false" label="Merges features even if they are on different strands."/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
62 </inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
63
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
64 <outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
65 <data name="outputFileGff" format="gff3"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
66 </outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
67
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
68 <help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
69 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.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
70
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
71 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.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
72 </help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
73 </tool>