annotate SMART/galaxy/restrictTranscriptList.xml @ 40:cd852f3e04ab

Uploaded
author m-zytnicki
date Thu, 30 May 2013 03:03:34 -0400
parents 2c0c0a89fad7
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="restrictTranscriptList" name="restrict transcript list">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Select the features which are located in a given locus.</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"> ../Java/Python/restrictTranscriptList.py -i $formatType.inputFileName
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
7 #if $formatType.FormatInputFileName == 'bed':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
8 -f bed
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
9 #elif $formatType.FormatInputFileName == 'gff':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
10 -f gff
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
11 #elif $formatType.FormatInputFileName == 'gff2':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
12 -f gff2
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
13 #elif $formatType.FormatInputFileName == 'gff3':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
14 -f gff3
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
15 #elif $formatType.FormatInputFileName == 'sam':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
16 -f sam
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
17 #elif $formatType.FormatInputFileName == 'gtf':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
18 -f gtf
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
19 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
20
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
21 #if $OptionChrom.Chrom == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
22 -c $OptionChrom.ChromName
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
23 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
24
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
25 #if $OptionStart.start == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
26 -s $OptionStart.startValue
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
27 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
28
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
29 #if $OptionEnd.end == "Yes":
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
30 -e $OptionEnd.endValue
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
31 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
32
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
33 -o $outputFile
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
34
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
35 </command>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
36
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
37
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
38 <inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
39 <conditional name="formatType">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
40 <param name="FormatInputFileName" type="select" label="Input File Format">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
41 <option value="bed">bed</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
42 <option value="gff">gff</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
43 <option value="gff2">gff2</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
44 <option value="gff3">gff3</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
45 <option value="sam">sam</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
46 <option value="gtf">gtf</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
47 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
48 <when value="bed">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
49 <param name="inputFileName" format="bed" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
50 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
51 <when value="gff">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
52 <param name="inputFileName" format="gff" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
53 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
54 <when value="gff2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
55 <param name="inputFileName" format="gff2" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
56 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
57 <when value="gff3">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
58 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
59 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
60 <when value="sam">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
61 <param name="inputFileName" format="sam" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
62 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
63 <when value="gtf">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
64 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
65 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
66 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
67
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
68 <conditional name="OptionChrom">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
69 <param name="Chrom" type="select" label="chromosome name">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
70 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
71 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
72 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
73 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
74 <param name="ChromName" type="text" value="None"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
75 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
76 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
77 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
78 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
79
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
80 <conditional name="OptionStart">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
81 <param name="start" type="select" label="start region of the locus">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
82 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
83 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
84 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
85 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
86 <param name="startValue" type="integer" value="0"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
87 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
88 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
89 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
90 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
91
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
92 <conditional name="OptionEnd">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
93 <param name="end" type="select" label="end region of the locus">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
94 <option value="Yes">Yes</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
95 <option value="No" selected="true">No</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
96 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
97 <when value="Yes">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
98 <param name="endValue" type="integer" value="0"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
99 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
100 <when value="No">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
101 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
102 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
103 </inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
104
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
105 <outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
106 <data format="gff3" name="outputFile" label="[restrict transcript list] output file"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
107 </outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
108
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
109 <help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
110 Reads a list of genomic coordinates and outputs those which on a given chromosome and / or between two given positions.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
111 </help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
112 <tests>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
113 <test>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
114 <param name="FormatInputFileName" value="gtf" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
115 <param name="inputFileName" value="genes.gtf" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
116 <param name="Chrom" value="Yes"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
117 <param name="ChromName" value="I"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
118 <param name="start" value="No" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
119 <param name="end" value="No" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
120 <output name="outputFile" file="exp_restrictTranscriptList.gff3" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
121 </test>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
122 </tests>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
123
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
124 </tool>