annotate tools/encode/random_intervals.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="random_intervals1" name="Random Intervals">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>create a random set of intervals</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">random_intervals_no_bits.py $regions $input2 $input1 $out_file1 ${input2.metadata.chromCol} ${input2.metadata.startCol} ${input2.metadata.endCol} ${input1.metadata.chromCol} ${input1.metadata.startCol} ${input1.metadata.endCol} ${input1.metadata.strandCol} $use_mask $strand_overlaps ${GALAXY_DATA_INDEX_DIR}</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 <param name="input1" type="data" format="interval" label="File to Mimick">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 <validator type="unspecified_build" message="Unspecified build, this tool works with data from genome builds hg16 or hg17. Click the pencil icon in your history item to set the genome build."/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <param name="input2" type="data" format="interval" label="Intervals to Mask"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <param name="use_mask" type="select" label="Use mask">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <option value="no_mask">No</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <option value="use_mask">Yes</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <param name="strand_overlaps" type="select" label="Allow overlaps">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <option value="all">Any</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <option value="strand">Across Strands</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <option value="none">None</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <param name="regions" type="select" label="Regions to use">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <options from_file="regions.loc">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 <column name="name" index="2"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 <column name="value" index="1"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 <column name="dbkey" index="0"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <filter type="data_meta" ref="input1" key="dbkey" column="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <validator type="no_options" message="This tool currently only works with ENCODE data from genome builds hg16 or hg17."/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 </options>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <data name="out_file1" format="input"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 .. class:: warningmark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 This tool currently only works with ENCODE data from genome builds hg16 or hg17.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 .. class:: infomark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 **Note:** If you do not wish to mask a set of intervals, change the Use Mask option to No, this option will override any Mask files selected.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 **Syntax**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 This tool will attempt to create a random set of intervals that mimic those found within your source file. You may also specify a set of intervals to mask.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 **Allow overlaps** options
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 * **Across Strands** - random regions are allowed to overlap only if they are on different strands.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 * **Any** - all overlaps are allowed.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 * **None** - no overlapping regions are allowed.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 **Regions to use** options
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 * Bounding region of interest based on the dataset build.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 </tool>