annotate tools/filters/bed_to_bigbed.xml @ 1:cdcb0ce84a1b

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:15 -0500
parents 9071e359b9a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="bed_to_bigBed" name="BED-to-bigBed" version="1.0.0">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>converter</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command>bedToBigBed $input1 $chromInfo $out_file1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 #if $settings.settingsType == "full":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 -blockSize=${settings.blockSize} -itemsPerSlot=${settings.itemsPerSlot} ${settings.unc}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 2&gt;&amp;1 || echo "Error running bedToBigBed." >&amp;2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <requirement type="package">ucsc_tools</requirement>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 </requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <param format="bed" name="input1" type="data" label="Convert">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <validator type="unspecified_build" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <conditional name="settings">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 <param name="settingsType" type="select" label="Converter settings to use" help="Default settings should usually be used.">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <option value="preset">Default</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <option value="full">Full parameter list</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 <when value="preset" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 <when value="full">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <param name="blockSize" size="4" type="integer" value="256" label="Items to bundle in r-tree" help="Default is 256 (blockSize)" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <param name="itemsPerSlot" size="4" type="integer" value="512" label="Data points bundled at lowest level" help="Default is 512 (itemsPerSlot)" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 <param name="unc" type="boolean" truevalue="-unc" falsevalue="" checked="False" label="Do not use compression" help="(unc)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 <data format="bigbed" name="out_file1" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 <param name="input1" value="7.bed" dbkey="hg17" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 <param name="settingsType" value="full" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 <param name="blockSize" value="256" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 <param name="itemsPerSlot" value="512" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 <param name="unc" value="False" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 <output name="out_file1" file="7.bigbed"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 <param name="input1" value="7.bed" dbkey="hg17" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 <param name="settingsType" value="preset" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 <output name="out_file1" file="7.bigbed"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 This tool converts a **sorted** BED file into a bigBed file.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 Currently, the bedFields option to specify the number of non-standard fields is not supported as an AutoSQL file must be provided, which is a format
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 currently not supported by Galaxy.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 </tool>