Files
galaxy/tools/encode/random_intervals.xml
T
Daniel Blankenberg 11a2c767c3 Rewrite of dynamic options for select lists. There are no more 'special cases' and new filters are much easier to incorporate, as neeeded.
MAF tool interfaces now support the use of index species and all species existing in cached alignment sets.
Until main is updated and the old maf_location files can be overwritten, these symbolic links are required:
maf_index.loc -> /depot/data2/galaxy/maf_index_new.loc
maf_pairwise.loc -> /depot/data2/galaxy/maf_pairwise_new.loc
2008-05-29 17:38:46 +00:00

57 lines
2.3 KiB
XML

<tool id="random_intervals1" name="Random Intervals">
<description>create a random set of intervals</description>
<command interpreter="python">random_intervals_no_bits.py $regions $input2 $input1 $out_file1 $input2_chromCol $input2_startCol $input2_endCol $input1_chromCol $input1_startCol $input1_endCol $input1_strandCol $use_mask $strand_overlaps ${GALAXY_DATA_INDEX_DIR}</command>
<inputs>
<param name="input1" type="data" format="interval" label="File to Mimick">
<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."/>
</param>
<param name="input2" type="data" format="interval" label="Intervals to Mask"/>
<param name="use_mask" type="select" label="Use mask">
<option value="no_mask">No</option>
<option value="use_mask">Yes</option>
</param>
<param name="strand_overlaps" type="select" label="Allow overlaps">
<option value="all">Any</option>
<option value="strand">Across Strands</option>
<option value="none">None</option>
</param>
<param name="regions" type="select" label="Regions to use">
<options from_file="regions.loc">
<column name="name" index="2"/>
<column name="value" index="1"/>
<column name="dbkey" index="0"/>
<filter type="data_meta" ref="input1" key="dbkey" column="0" />
</options>
</param>
</inputs>
<outputs>
<data name="out_file1" format="input"/>
</outputs>
<help>
.. class:: warningmark
This tool currently only works with data from genome builds hg16 or hg17.
-----
.. class:: infomark
**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.
-----
**Syntax**
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.
**Allow overlaps** options
* **Across Strands** - random regions are allowed to overlap only if they are on different strands.
* **Any** - all overlaps are allowed.
* **None** - no overlapping regions are allowed.
**Regions to use** options
* Bounding region of interest based on the dataset build.
</help>
</tool>