annotate tools/mytools/shuffleBed.xml @ 0:9071e359b9a3

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:37:19 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="shufflebed" name="shuffleBed">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>chromosome not weighted by length</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command>shuffleBed -i $input -g $genome $chrom > $outfile
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 #if $limit.limit_select=="include":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 -incl $limitfile
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 #else if $limit.limit_select=="exclude":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 -excl $limitfile
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <param name="input" format="bed,gff,vcf" type="data" label="Original intervals (BED/GFF/VCF)" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <param name="genome" type="select" label="Select genome">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/mouse.mm9.genome" selected="true">mm9</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/mouse.mm8.genome">mm8</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/human.hg18.genome">hg18</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/human.hg19.genome">hg19</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <param name="chrom" label="keep intervals on the same chromosome?" type="boolean" truevalue="-chrom" falsevalue="" checked="False"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <conditional name="limit">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 <param name="limit_select" type="select" label="restrictions for the shuffling" help="Instead of randomly placing features in a genome, one can specify regions features should or should not be randomly placed (e.g. genes.bed or repeats.bed).">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 <option value="none" selected="true">None</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 <option value="include">within specified regions</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <option value="exclude">outside specified regions</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 <when value="include">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 <param name="limitfile" type="data" format="interval" label="specify regions"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 <when value="exclude">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <param name="limitfile" type="data" format="interval" label="specify regions"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 <data format="input" name="outfile" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 .. class:: infomark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 Every chromosome are choosed with equal probability, regardless their size. Please use the tool 'random intervals' instead for general randomization.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 </tool>