annotate shuffleBed.xml @ 11:b7f1d9f8f3bc

Uploaded
author xuebing
date Sat, 10 Mar 2012 07:59:27 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
1 <tool id="shufflebed" name="shuffleBed">
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
2 <description>chromosome not weighted by length</description>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
3 <command>shuffleBed -i $input -g $genome $chrom > $outfile
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
4 #if $limit.limit_select=="include":
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
5 -incl $limitfile
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
6 #else if $limit.limit_select=="exclude":
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
7 -excl $limitfile
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
8 #end if
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
9 </command>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
10 <inputs>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
11 <param name="input" format="bed,gff,vcf" type="data" label="Original intervals (BED/GFF/VCF)" />
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
12 <param name="genome" type="select" label="Select genome">
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
13 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/mouse.mm9.genome" selected="true">mm9</option>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
14 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/mouse.mm8.genome">mm8</option>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
15 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/human.hg18.genome">hg18</option>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
16 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/human.hg19.genome">hg19</option>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
17 </param>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
18 <param name="chrom" label="keep intervals on the same chromosome?" type="boolean" truevalue="-chrom" falsevalue="" checked="False"/>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
19 <conditional name="limit">
b7f1d9f8f3bc 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).">
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
21 <option value="none" selected="true">None</option>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
22 <option value="include">within specified regions</option>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
23 <option value="exclude">outside specified regions</option>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
24 </param>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
25 <when value="include">
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
26 <param name="limitfile" type="data" format="interval" label="specify regions"/>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
27 </when>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
28 <when value="exclude">
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
29 <param name="limitfile" type="data" format="interval" label="specify regions"/>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
30 </when>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
31 </conditional>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
32 </inputs>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
33 <outputs>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
34 <data format="input" name="outfile" />
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
35 </outputs>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
36 <help>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
37
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
38 .. class:: infomark
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
39
b7f1d9f8f3bc 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.
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
41
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
42 </help>
b7f1d9f8f3bc Uploaded
xuebing
parents:
diff changeset
43 </tool>