annotate pyCRAC/pyPileup.xml @ 1:7c9574213c0a draft default tip

Uploaded
author swebb
date Thu, 20 Jun 2013 12:13:43 -0400
parents 19b20927172d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
19b20927172d Uploaded
swebb
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
19b20927172d Uploaded
swebb
parents:
diff changeset
2 <tool id ="pyPileup" name="pyPileup">
19b20927172d Uploaded
swebb
parents:
diff changeset
3 <requirements>
19b20927172d Uploaded
swebb
parents:
diff changeset
4 <requirement type="package">pyCRAC</requirement>
19b20927172d Uploaded
swebb
parents:
diff changeset
5 </requirements>
19b20927172d Uploaded
swebb
parents:
diff changeset
6 <command interpreter="python">
19b20927172d Uploaded
swebb
parents:
diff changeset
7 /usr/local/bin/pyPileup.py
19b20927172d Uploaded
swebb
parents:
diff changeset
8 -f $ftype.input
19b20927172d Uploaded
swebb
parents:
diff changeset
9 --file_type $ftype.file_type
19b20927172d Uploaded
swebb
parents:
diff changeset
10 #if $geneOpt.alignGene == "gene":
19b20927172d Uploaded
swebb
parents:
diff changeset
11 -g $geneOpt.genes
19b20927172d Uploaded
swebb
parents:
diff changeset
12 #end if#
19b20927172d Uploaded
swebb
parents:
diff changeset
13 #if $geneOpt.alignGene == "chr":
19b20927172d Uploaded
swebb
parents:
diff changeset
14 --chr $geneOpt.chr
19b20927172d Uploaded
swebb
parents:
diff changeset
15 #end if#
19b20927172d Uploaded
swebb
parents:
diff changeset
16 #if ($ftype.file_type == "novo" or $ftype.file_type == "sam") and $ftype.disc.discard == "discard":
19b20927172d Uploaded
swebb
parents:
diff changeset
17 --discarded $discarded
19b20927172d Uploaded
swebb
parents:
diff changeset
18 #end if#
19b20927172d Uploaded
swebb
parents:
diff changeset
19 --gtf=$addGTF.gtf
19b20927172d Uploaded
swebb
parents:
diff changeset
20 --tab=$addTab.tab
19b20927172d Uploaded
swebb
parents:
diff changeset
21 #if ($ftype.file_type == "novo" or $ftype.file_type == "sam") and $ftype.addAlignOpt.alignoptions == "edit":
19b20927172d Uploaded
swebb
parents:
diff changeset
22 --align_quality=$ftype.addAlignOpt.align_quality
19b20927172d Uploaded
swebb
parents:
diff changeset
23 --align_score=$ftype.addAlignOpt.align_score
19b20927172d Uploaded
swebb
parents:
diff changeset
24 --distance=$ftype.addAlignOpt.d
19b20927172d Uploaded
swebb
parents:
diff changeset
25 --length=$ftype.addAlignOpt.length
19b20927172d Uploaded
swebb
parents:
diff changeset
26 #if int($ftype.addAlignOpt.max) > 0:
19b20927172d Uploaded
swebb
parents:
diff changeset
27 --max=$ftype.addAlignOpt.max
19b20927172d Uploaded
swebb
parents:
diff changeset
28 #end if#
19b20927172d Uploaded
swebb
parents:
diff changeset
29 $ftype.addAlignOpt.unique
19b20927172d Uploaded
swebb
parents:
diff changeset
30 $ftype.addAlignOpt.blocks
19b20927172d Uploaded
swebb
parents:
diff changeset
31 $ftype.addAlignOpt.mutations
19b20927172d Uploaded
swebb
parents:
diff changeset
32 #if $ftype.disc.discard == "--discarded":
19b20927172d Uploaded
swebb
parents:
diff changeset
33 --discarded $discarded
19b20927172d Uploaded
swebb
parents:
diff changeset
34 #end if#
19b20927172d Uploaded
swebb
parents:
diff changeset
35 #end if#
19b20927172d Uploaded
swebb
parents:
diff changeset
36 #if $addOpt.options == "edit":
19b20927172d Uploaded
swebb
parents:
diff changeset
37 --range=$addOpt.range
19b20927172d Uploaded
swebb
parents:
diff changeset
38 --overlap=$addOpt.overlap
19b20927172d Uploaded
swebb
parents:
diff changeset
39 $addOpt.iclip
19b20927172d Uploaded
swebb
parents:
diff changeset
40 $addOpt.ignore
19b20927172d Uploaded
swebb
parents:
diff changeset
41 -s $addOpt.sequence
19b20927172d Uploaded
swebb
parents:
diff changeset
42 #if int($addOpt.limit) > 0:
19b20927172d Uploaded
swebb
parents:
diff changeset
43 --limit=$addOpt.limit
19b20927172d Uploaded
swebb
parents:
diff changeset
44 #end if#
19b20927172d Uploaded
swebb
parents:
diff changeset
45 #end if#
19b20927172d Uploaded
swebb
parents:
diff changeset
46 -o $output
19b20927172d Uploaded
swebb
parents:
diff changeset
47 </command>
19b20927172d Uploaded
swebb
parents:
diff changeset
48 <version_command>/usr/local/bin/pyPileup.py --version</version_command>
19b20927172d Uploaded
swebb
parents:
diff changeset
49 <inputs>
19b20927172d Uploaded
swebb
parents:
diff changeset
50
19b20927172d Uploaded
swebb
parents:
diff changeset
51
19b20927172d Uploaded
swebb
parents:
diff changeset
52 <conditional name="geneOpt">
19b20927172d Uploaded
swebb
parents:
diff changeset
53 <param name="alignGene" type="select" label="Do you want to align reads to genes or chromosome co-ordinates?">
19b20927172d Uploaded
swebb
parents:
diff changeset
54 <option value="gene" selected="true">Genes</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
55 <option value="chr">Chromosome Co-ordinates</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
56 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
57 <when value="chr">
19b20927172d Uploaded
swebb
parents:
diff changeset
58 <param format="interval" name="chr" type="data" label="Choose a Chromosome Coordinate File" help="Tab delimited text file containing an identifier, chromosome name, start position, end position and strand ('-' or '+')"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
59 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
60 <when value="gene">
19b20927172d Uploaded
swebb
parents:
diff changeset
61 <param format="txt" name="genes" type="data" label="Choose a Gene List -g" help="Single column gene ID file"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
62 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
63 </conditional>
19b20927172d Uploaded
swebb
parents:
diff changeset
64 <conditional name="addGTF">
19b20927172d Uploaded
swebb
parents:
diff changeset
65 <param name="gtfFile" type="select" label="Choose GTF File from">
19b20927172d Uploaded
swebb
parents:
diff changeset
66 <option value="default" selected="true">Defaults</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
67 <option value="other">History</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
68 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
69 <when value="default">
19b20927172d Uploaded
swebb
parents:
diff changeset
70 <param name="gtf" type="select" label="GTF File --gtf" help="GTF file containing gene ID co-ordinates">
19b20927172d Uploaded
swebb
parents:
diff changeset
71 <options from_data_table="pycrac_gtf"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
72 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
73 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
74 <when value="other">
19b20927172d Uploaded
swebb
parents:
diff changeset
75 <param format="GTF" name="gtf" type="data" label="GTF File --gtf" help="GTF file containing gene ID co-ordinates"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
76 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
77 </conditional>
19b20927172d Uploaded
swebb
parents:
diff changeset
78 <conditional name="addTab">
19b20927172d Uploaded
swebb
parents:
diff changeset
79 <param name="tabFile" type="select" label="Choose Genomic Reference Sequence from">
19b20927172d Uploaded
swebb
parents:
diff changeset
80 <option value="default" selected="true">Defaults</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
81 <option value="other">History</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
82 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
83 <when value="default">
19b20927172d Uploaded
swebb
parents:
diff changeset
84 <param name="tab" type="select" label="Genomic Reference Sequence --tab" help="Tab file containing genomic reference sequence">
19b20927172d Uploaded
swebb
parents:
diff changeset
85 <options from_data_table="pycrac_tab"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
86 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
87 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
88 <when value="other">
19b20927172d Uploaded
swebb
parents:
diff changeset
89 <param format="tabular" name="tab" type="data" label="Genomic Reference Sequence --tab" help="Tab file containing genomic reference sequence"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
90 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
91 </conditional>
19b20927172d Uploaded
swebb
parents:
diff changeset
92
19b20927172d Uploaded
swebb
parents:
diff changeset
93
19b20927172d Uploaded
swebb
parents:
diff changeset
94 <conditional name="ftype">
19b20927172d Uploaded
swebb
parents:
diff changeset
95 <param name="file_type" type="select" label="Input File Type --file_type">
19b20927172d Uploaded
swebb
parents:
diff changeset
96 <option value="novo" selected="true">Novo</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
97 <option value="sam">Sam/BAM</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
98 <option value="gtf">GTF</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
99 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
100 <when value="sam">
19b20927172d Uploaded
swebb
parents:
diff changeset
101 <param format="sam,bam" name="input" type="data" label="Input File -f" help="Alignment file of type .sam or .bam" />
19b20927172d Uploaded
swebb
parents:
diff changeset
102 <conditional name="disc">
19b20927172d Uploaded
swebb
parents:
diff changeset
103 <param name="discard" type="select" label="Print discarded reads to a separate file">
19b20927172d Uploaded
swebb
parents:
diff changeset
104 <option value="" selected="true">OFF</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
105 <option value="discard">ON</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
106 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
107 <when value="discard">
19b20927172d Uploaded
swebb
parents:
diff changeset
108 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
109 <when value="">
19b20927172d Uploaded
swebb
parents:
diff changeset
110 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
111 </conditional>
19b20927172d Uploaded
swebb
parents:
diff changeset
112 <conditional name="addAlignOpt">
19b20927172d Uploaded
swebb
parents:
diff changeset
113 <param name="alignoptions" type="select" label="Alignment Options">
19b20927172d Uploaded
swebb
parents:
diff changeset
114 <option value="default" selected="true">Default</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
115 <option value="edit">Edit</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
116 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
117 <when value="edit">
19b20927172d Uploaded
swebb
parents:
diff changeset
118 <param name="mutations" type="select" label="Filter reads by mutations --mutations" help="cross-linking sites are often highlighted by deletions and/or substitutions in the reads. You can use this option to filter reads based on whether they have mutations or not.">
19b20927172d Uploaded
swebb
parents:
diff changeset
119 <option value="" selected="true">Off</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
120 <option value="--mutations=delsonly">deletions</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
121 <option value="--mutations=subsonly">substitutions</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
122 <option value="--mutations=TC">T->C mutations</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
123 <option value="--mutations=allmuts">all mutations</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
124 <option value="--mutations=nomuts">no mutations</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
125 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
126 <param format="integer" name="align_quality" type="integer" label="Align Quality --align_quality " value="0" size="5" >
19b20927172d Uploaded
swebb
parents:
diff changeset
127 <validator type="in_range" min="0" message="Please enter a value >= 0"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
128 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
129 <param format="integer" name="align_score" type="integer" label="Align Score --align_score " value="0" size="5" >
19b20927172d Uploaded
swebb
parents:
diff changeset
130 <validator type="in_range" min="0" message="Please enter a value >= 0"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
131 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
132 <param format="integer" name="max" type="integer" label="Mapped reads to read from input file --max" help="Set to 0 to align all reads." value="0" size="10" >
19b20927172d Uploaded
swebb
parents:
diff changeset
133 <validator type="in_range" min="0" max="100000000" message="Please enter a value between 1 and 100000000 or 0 to align all reads"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
134 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
135 <param format="integer" name="d" type="integer" label="Distance --distance " value="1000" size="6" help="Set the maximum number of bp allowed between two non-overlapping paired reads">
19b20927172d Uploaded
swebb
parents:
diff changeset
136 <validator type="in_range" min="1" message="Please enter a value >= 0"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
137 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
138 <param format="integer" name="length" type="integer" label="Set the maximum length of reads --length" value="1000" size="7" help="Set the read length threshold between 15 and 1000">
19b20927172d Uploaded
swebb
parents:
diff changeset
139 <validator type="in_range" min="15" max="1000" message="Please enter a value between 15 and 1000"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
140 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
141 <param name="unique" type="select" label="Remove reads with multiple alignment locations --unique">
19b20927172d Uploaded
swebb
parents:
diff changeset
142 <option value="" selected="true">OFF</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
143 <option value="--unique">ON</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
144 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
145 <param name="blocks" type="select" label="Only count reads with same start and end coords once --blocks">
19b20927172d Uploaded
swebb
parents:
diff changeset
146 <option value="" selected="true">OFF</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
147 <option value="--blocks">ON</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
148 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
149 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
150 <when value="default">
19b20927172d Uploaded
swebb
parents:
diff changeset
151 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
152 </conditional>
19b20927172d Uploaded
swebb
parents:
diff changeset
153 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
154 <when value="novo">
19b20927172d Uploaded
swebb
parents:
diff changeset
155 <param format="tabular" name="input" type="data" label="Input File -f" help="Alignment file of type .novo" />
19b20927172d Uploaded
swebb
parents:
diff changeset
156 <conditional name="disc">
19b20927172d Uploaded
swebb
parents:
diff changeset
157 <param name="discard" type="select" label="Print discarded reads to a separate file">
19b20927172d Uploaded
swebb
parents:
diff changeset
158 <option value="" selected="true">OFF</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
159 <option value="discard">ON</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
160 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
161 <when value="discard">
19b20927172d Uploaded
swebb
parents:
diff changeset
162 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
163 <when value="">
19b20927172d Uploaded
swebb
parents:
diff changeset
164 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
165 </conditional>
19b20927172d Uploaded
swebb
parents:
diff changeset
166 <conditional name="addAlignOpt">
19b20927172d Uploaded
swebb
parents:
diff changeset
167 <param name="alignoptions" type="select" label="Alignment Options">
19b20927172d Uploaded
swebb
parents:
diff changeset
168 <option value="default" selected="true">Default</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
169 <option value="edit">Edit</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
170 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
171 <when value="edit">
19b20927172d Uploaded
swebb
parents:
diff changeset
172 <param name="mutations" type="select" label="Filter reads by mutations --mutations" help="cross-linking sites are often
19b20927172d Uploaded
swebb
parents:
diff changeset
173 highlighted by deletions and/or substitutions in the reads. You can use this option to filter reads based on whether they have mutations or not.">
19b20927172d Uploaded
swebb
parents:
diff changeset
174 <option value="" selected="true">Off</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
175 <option value="--mutations=delsonly">deletions</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
176 <option value="--mutations=subsonly">substitutions</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
177 <option value="--mutations=TC">T->C mutations</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
178 <option value="--mutations=allmuts">all mutations</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
179 <option value="--mutations=nomuts">no mutations</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
180 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
181 <param format="integer" name="align_quality" type="integer" label="Align Quality --align_quality " value="0" size="5" >
19b20927172d Uploaded
swebb
parents:
diff changeset
182 <validator type="in_range" min="0" message="Please enter a value >= 0"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
183 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
184 <param format="integer" name="align_score" type="integer" label="Align Score --align_score " value="0" size="5" >
19b20927172d Uploaded
swebb
parents:
diff changeset
185 <validator type="in_range" min="0" message="Please enter a value >= 0"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
186 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
187 <param format="integer" name="max" type="integer" label="Mapped reads to read from input file --max" help="Set to 0 to align all reads." value="0" size="10" >
19b20927172d Uploaded
swebb
parents:
diff changeset
188 <validator type="in_range" min="0" max="100000000" message="Please enter a value between 1 and 100000000 or 0 to align all reads"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
189 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
190 <param format="integer" name="d" type="integer" label="Distance --distance " value="1000" size="6" help="Set the maximum number of bp allowed between two non-overlapping paired reads">
19b20927172d Uploaded
swebb
parents:
diff changeset
191 <validator type="in_range" min="1" message="Please enter a value >= 0"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
192 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
193 <param format="integer" name="length" type="integer" label="Set the maximum length of reads --length" value="1000" size="7" help="Set the read length threshold between 15 and 1000">
19b20927172d Uploaded
swebb
parents:
diff changeset
194 <validator type="in_range" min="15" max="1000" message="Please enter a value between 15 and 1000"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
195 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
196 <param name="unique" type="select" label="Remove reads with multiple alignment locations --unique">
19b20927172d Uploaded
swebb
parents:
diff changeset
197 <option value="" selected="true">OFF</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
198 <option value="--unique">ON</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
199 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
200 <param name="blocks" type="select" label="Only count reads with same start and end coords once --blocks">
19b20927172d Uploaded
swebb
parents:
diff changeset
201 <option value="" selected="true">OFF</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
202 <option value="--blocks">ON</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
203 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
204 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
205 <when value="default">
19b20927172d Uploaded
swebb
parents:
diff changeset
206 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
207 </conditional>
19b20927172d Uploaded
swebb
parents:
diff changeset
208 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
209 <when value="gtf">
19b20927172d Uploaded
swebb
parents:
diff changeset
210 <param format="gtf" name="input" type="data" label="Input File -f" help="File of type .gtf" />
19b20927172d Uploaded
swebb
parents:
diff changeset
211 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
212 </conditional>
19b20927172d Uploaded
swebb
parents:
diff changeset
213
19b20927172d Uploaded
swebb
parents:
diff changeset
214 <conditional name="addOpt">
19b20927172d Uploaded
swebb
parents:
diff changeset
215 <param name="options" type="select" label="Standard Options">
19b20927172d Uploaded
swebb
parents:
diff changeset
216 <option value="default" selected="true">Default</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
217 <option value="edit">Edit</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
218 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
219 <when value="edit">
19b20927172d Uploaded
swebb
parents:
diff changeset
220 <param format="integer" name="range" type="integer" label="Range --range" value="0" size="5" help="Manually set the length of the 5' and 3' UTRs 0>50000">
19b20927172d Uploaded
swebb
parents:
diff changeset
221 <validator type="in_range" min="0" max="50000" message="Please enter a value between 0 and 50000"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
222 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
223 <param name="ignore" type="select" label="Ignore strand information? --ignorestrand">
19b20927172d Uploaded
swebb
parents:
diff changeset
224 <option value="" selected="true">No</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
225 <option value="--ignorestrand">Yes</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
226 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
227 <param format="integer" name="overlap" type="integer" label="Overlap --overlap" value="1" size="5" help="Sets the number of nucleotides a read has to overlap with a gene before it is considered a hit. ">
19b20927172d Uploaded
swebb
parents:
diff changeset
228 <validator type="in_range" min="1" message="Please enter a positive integer"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
229 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
230 <param name="sequence" type="select" label="Align reads to --sequence">
19b20927172d Uploaded
swebb
parents:
diff changeset
231 <option value="genomic" selected="true">Genomic Sequence</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
232 <option value="coding">Coding Sequence</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
233 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
234 <param name="iclip" type="select" label="iCLIP mode --iCLIP">
19b20927172d Uploaded
swebb
parents:
diff changeset
235 <option value="" selected="true">OFF</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
236 <option value="--iCLIP">ON</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
237 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
238 <param format="integer" name="limit" type="integer" label="Limit number of reads to count that map to a particular region --limit" value="0" size="15" help="Set to 0 for unlimited reads" >
19b20927172d Uploaded
swebb
parents:
diff changeset
239 <validator type="in_range" min="0" message="Please enter a value greater than 1 or set to 0 for unlimited reads"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
240 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
241 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
242 <when value="default">
19b20927172d Uploaded
swebb
parents:
diff changeset
243 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
244 </conditional>
19b20927172d Uploaded
swebb
parents:
diff changeset
245 <param name="label" type="text" format="txt" size="30" value="pyPileup" label="Enter output file label -o" />
19b20927172d Uploaded
swebb
parents:
diff changeset
246 </inputs>
19b20927172d Uploaded
swebb
parents:
diff changeset
247 <outputs>
19b20927172d Uploaded
swebb
parents:
diff changeset
248 <data format="tabular" name="output" label="${label.value}.pileup"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
249 <data format="txt" name="discarded" label="${label.value}_discarded.txt">
19b20927172d Uploaded
swebb
parents:
diff changeset
250 <filter>(ftype['file_type'] == "novo" or ftype['file_type'] == "sam") and ftype['disc']['discard'] == "discard"</filter>
19b20927172d Uploaded
swebb
parents:
diff changeset
251 </data>
19b20927172d Uploaded
swebb
parents:
diff changeset
252 </outputs>
19b20927172d Uploaded
swebb
parents:
diff changeset
253 <help>
19b20927172d Uploaded
swebb
parents:
diff changeset
254
19b20927172d Uploaded
swebb
parents:
diff changeset
255
19b20927172d Uploaded
swebb
parents:
diff changeset
256 .. class:: infomark
19b20927172d Uploaded
swebb
parents:
diff changeset
257
19b20927172d Uploaded
swebb
parents:
diff changeset
258 **pyPileup**
19b20927172d Uploaded
swebb
parents:
diff changeset
259
19b20927172d Uploaded
swebb
parents:
diff changeset
260 pyPileup is part of the pyCRAC_ package. Produces pileups containing the number of hits, substitutions and deletions for each nucleotide covered by
19b20927172d Uploaded
swebb
parents:
diff changeset
261 reads in specific genes or genomic regions
19b20927172d Uploaded
swebb
parents:
diff changeset
262
19b20927172d Uploaded
swebb
parents:
diff changeset
263 .. _pyCRAC: http://sandergranneman.bio.ed.ac.uk/Granneman_Lab/pyCRAC_software.html
19b20927172d Uploaded
swebb
parents:
diff changeset
264
19b20927172d Uploaded
swebb
parents:
diff changeset
265 ------
19b20927172d Uploaded
swebb
parents:
diff changeset
266
19b20927172d Uploaded
swebb
parents:
diff changeset
267 **Parameter list**
19b20927172d Uploaded
swebb
parents:
diff changeset
268
19b20927172d Uploaded
swebb
parents:
diff changeset
269 File input options::
19b20927172d Uploaded
swebb
parents:
diff changeset
270
19b20927172d Uploaded
swebb
parents:
diff changeset
271 -f FILE, --input_file=FILE
19b20927172d Uploaded
swebb
parents:
diff changeset
272 As input files you can use Novoalign native output,
19b20927172d Uploaded
swebb
parents:
diff changeset
273 SAM, pyMotif or pyReadCounters GTF files as input
19b20927172d Uploaded
swebb
parents:
diff changeset
274 file. By default it expects data from the standard
19b20927172d Uploaded
swebb
parents:
diff changeset
275 input. Make sure to specify the file type of the file
19b20927172d Uploaded
swebb
parents:
diff changeset
276 you want to have analyzed using the --file_type
19b20927172d Uploaded
swebb
parents:
diff changeset
277 option!
19b20927172d Uploaded
swebb
parents:
diff changeset
278 -o OUTPUT_FILE, --output_file=OUTPUT_FILE
19b20927172d Uploaded
swebb
parents:
diff changeset
279 Use this flag to override the standard output file
19b20927172d Uploaded
swebb
parents:
diff changeset
280 names. All pileups will be written to one output file.
19b20927172d Uploaded
swebb
parents:
diff changeset
281 -g FILE, --genes_file=FILE
19b20927172d Uploaded
swebb
parents:
diff changeset
282 here you need to type in the name of your gene list
19b20927172d Uploaded
swebb
parents:
diff changeset
283 file (1 column) or the hittable file
19b20927172d Uploaded
swebb
parents:
diff changeset
284 --chr=FILE
19b20927172d Uploaded
swebb
parents:
diff changeset
285 if you simply would like to align reads against a
19b20927172d Uploaded
swebb
parents:
diff changeset
286 genomic sequence you should generate a tab delimited
19b20927172d Uploaded
swebb
parents:
diff changeset
287 file containing an identifyer, chromosome name, start
19b20927172d Uploaded
swebb
parents:
diff changeset
288 position, end position and strand
19b20927172d Uploaded
swebb
parents:
diff changeset
289 --gtf=annotation_file.gtf
19b20927172d Uploaded
swebb
parents:
diff changeset
290 type the path to the gtf annotation file that you want
19b20927172d Uploaded
swebb
parents:
diff changeset
291 to use
19b20927172d Uploaded
swebb
parents:
diff changeset
292 --tab=tab_file.tab
19b20927172d Uploaded
swebb
parents:
diff changeset
293 type the path to the tab file that contains the
19b20927172d Uploaded
swebb
parents:
diff changeset
294 genomic reference sequence
19b20927172d Uploaded
swebb
parents:
diff changeset
295 --file_type=FILE_TYPE
19b20927172d Uploaded
swebb
parents:
diff changeset
296 use this option to specify the file type (i.e. 'novo',
19b20927172d Uploaded
swebb
parents:
diff changeset
297 'sam', 'gtf'). This will tell the program which
19b20927172d Uploaded
swebb
parents:
diff changeset
298 parsers to use for processing the files. Default =
19b20927172d Uploaded
swebb
parents:
diff changeset
299 'novo'
19b20927172d Uploaded
swebb
parents:
diff changeset
300
19b20927172d Uploaded
swebb
parents:
diff changeset
301 pyPileup specific options::
19b20927172d Uploaded
swebb
parents:
diff changeset
302
19b20927172d Uploaded
swebb
parents:
diff changeset
303 --limit=500
19b20927172d Uploaded
swebb
parents:
diff changeset
304 with this option you can select how many reads mapped
19b20927172d Uploaded
swebb
parents:
diff changeset
305 to a particular gene/ORF/region you want to count.
19b20927172d Uploaded
swebb
parents:
diff changeset
306 Default = All
19b20927172d Uploaded
swebb
parents:
diff changeset
307 --iCLIP
19b20927172d Uploaded
swebb
parents:
diff changeset
308 This turns on the iCLIP mode and the pileups will
19b20927172d Uploaded
swebb
parents:
diff changeset
309 report cross-linking site frequencies in iCLIP data in
19b20927172d Uploaded
swebb
parents:
diff changeset
310 reference sequences
19b20927172d Uploaded
swebb
parents:
diff changeset
311
19b20927172d Uploaded
swebb
parents:
diff changeset
312 Common options::
19b20927172d Uploaded
swebb
parents:
diff changeset
313
19b20927172d Uploaded
swebb
parents:
diff changeset
314 -v, --verbose
19b20927172d Uploaded
swebb
parents:
diff changeset
315 prints all the status messages to a file rather than
19b20927172d Uploaded
swebb
parents:
diff changeset
316 the standard output
19b20927172d Uploaded
swebb
parents:
diff changeset
317 --ignorestrand
19b20927172d Uploaded
swebb
parents:
diff changeset
318 this flag tells the program to ignore strand
19b20927172d Uploaded
swebb
parents:
diff changeset
319 information and all overlapping reads will considered
19b20927172d Uploaded
swebb
parents:
diff changeset
320 sense reads. Useful for analysing ChIP or RIP data
19b20927172d Uploaded
swebb
parents:
diff changeset
321 --zip=FILE
19b20927172d Uploaded
swebb
parents:
diff changeset
322 use this option to compress all the output files in a
19b20927172d Uploaded
swebb
parents:
diff changeset
323 single zip file
19b20927172d Uploaded
swebb
parents:
diff changeset
324 --overlap=1
19b20927172d Uploaded
swebb
parents:
diff changeset
325 sets the number of nucleotides a read has to overlap
19b20927172d Uploaded
swebb
parents:
diff changeset
326 with a gene before it is considered a hit. Default =
19b20927172d Uploaded
swebb
parents:
diff changeset
327 1 nucleotide
19b20927172d Uploaded
swebb
parents:
diff changeset
328 -s genomic, --sequence=genomic
19b20927172d Uploaded
swebb
parents:
diff changeset
329 with this option you can select whether you want the
19b20927172d Uploaded
swebb
parents:
diff changeset
330 reads aligned to the genomic or the coding sequence.
19b20927172d Uploaded
swebb
parents:
diff changeset
331 Default = genomic
19b20927172d Uploaded
swebb
parents:
diff changeset
332 -r 100, --range=100
19b20927172d Uploaded
swebb
parents:
diff changeset
333 allows you to set the length of the UTR regions. If
19b20927172d Uploaded
swebb
parents:
diff changeset
334 you set '-r 50' or '--range=50', then the program will
19b20927172d Uploaded
swebb
parents:
diff changeset
335 set a fixed length (50 bp) regardless of whether the
19b20927172d Uploaded
swebb
parents:
diff changeset
336 GTF file has genes with annotated UTRs.
19b20927172d Uploaded
swebb
parents:
diff changeset
337
19b20927172d Uploaded
swebb
parents:
diff changeset
338 Options for novo, SAM and BAM files::
19b20927172d Uploaded
swebb
parents:
diff changeset
339
19b20927172d Uploaded
swebb
parents:
diff changeset
340 --align_quality=100, --mapping_quality=100
19b20927172d Uploaded
swebb
parents:
diff changeset
341 with these options you can set the alignment quality
19b20927172d Uploaded
swebb
parents:
diff changeset
342 (Novoalign) or mapping quality (SAM) threshold. Reads
19b20927172d Uploaded
swebb
parents:
diff changeset
343 with qualities lower than the threshold will be
19b20927172d Uploaded
swebb
parents:
diff changeset
344 ignored. Default = 0
19b20927172d Uploaded
swebb
parents:
diff changeset
345 --align_score=100
19b20927172d Uploaded
swebb
parents:
diff changeset
346 with this option you can set the alignment score
19b20927172d Uploaded
swebb
parents:
diff changeset
347 threshold. Reads with alignment scores lower than the
19b20927172d Uploaded
swebb
parents:
diff changeset
348 threshold will be ignored. Default = 0
19b20927172d Uploaded
swebb
parents:
diff changeset
349 -l 100, --length=100
19b20927172d Uploaded
swebb
parents:
diff changeset
350 to set read length threshold. Default = 1000
19b20927172d Uploaded
swebb
parents:
diff changeset
351 -m 100000, --max=100000
19b20927172d Uploaded
swebb
parents:
diff changeset
352 maximum number of mapped reads that will be analyzed.
19b20927172d Uploaded
swebb
parents:
diff changeset
353 Default = All
19b20927172d Uploaded
swebb
parents:
diff changeset
354 --unique
19b20927172d Uploaded
swebb
parents:
diff changeset
355 with this option reads with multiple alignment
19b20927172d Uploaded
swebb
parents:
diff changeset
356 locations will be removed. Default = Off
19b20927172d Uploaded
swebb
parents:
diff changeset
357 --blocks
19b20927172d Uploaded
swebb
parents:
diff changeset
358 with this option reads with the same start and end
19b20927172d Uploaded
swebb
parents:
diff changeset
359 coordinates on a chromosome will only be counted once.
19b20927172d Uploaded
swebb
parents:
diff changeset
360 Default = Off
19b20927172d Uploaded
swebb
parents:
diff changeset
361 --discarded=FILE
19b20927172d Uploaded
swebb
parents:
diff changeset
362 prints the lines from the alignments file that were
19b20927172d Uploaded
swebb
parents:
diff changeset
363 discarded by the parsers. This file contains reads
19b20927172d Uploaded
swebb
parents:
diff changeset
364 that were unmapped (NM), of poor quality (i.e. QC) or
19b20927172d Uploaded
swebb
parents:
diff changeset
365 paired reads that were mapped to different chromosomal
19b20927172d Uploaded
swebb
parents:
diff changeset
366 locations or were too far apart on the same
19b20927172d Uploaded
swebb
parents:
diff changeset
367 chromosome. Useful for debugging purposes
19b20927172d Uploaded
swebb
parents:
diff changeset
368 -d 1000, --distance=1000
19b20927172d Uploaded
swebb
parents:
diff changeset
369 this option allows you to set the maximum number of
19b20927172d Uploaded
swebb
parents:
diff changeset
370 base-pairs allowed between two non-overlapping paired
19b20927172d Uploaded
swebb
parents:
diff changeset
371 reads. Default = 1000
19b20927172d Uploaded
swebb
parents:
diff changeset
372 --mutations=delsonly
19b20927172d Uploaded
swebb
parents:
diff changeset
373 Use this option to only track mutations that are of
19b20927172d Uploaded
swebb
parents:
diff changeset
374 interest. For CRAC data this is usually deletions
19b20927172d Uploaded
swebb
parents:
diff changeset
375 (--mutations=delsonly). For PAR-CLIP data this is
19b20927172d Uploaded
swebb
parents:
diff changeset
376 usually T-C mutations (--mutations=TC). Other options
19b20927172d Uploaded
swebb
parents:
diff changeset
377 are: do not report any mutations: --mutations=nomuts.
19b20927172d Uploaded
swebb
parents:
diff changeset
378 Only report specific base mutations, for example only
19b20927172d Uploaded
swebb
parents:
diff changeset
379 in T's, C's and G's :--mutations=[TCG]. The brackets
19b20927172d Uploaded
swebb
parents:
diff changeset
380 are essential. Other nucleotide combinations are also
19b20927172d Uploaded
swebb
parents:
diff changeset
381 possible
19b20927172d Uploaded
swebb
parents:
diff changeset
382
19b20927172d Uploaded
swebb
parents:
diff changeset
383 </help>
19b20927172d Uploaded
swebb
parents:
diff changeset
384 </tool>