annotate mytools/shuffleBed.xml @ 7:f0dc65e7f6c0

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