annotate bigwig_to_wig.xml @ 1:561c9a746a81 draft

Uploaded
author nikos
date Tue, 05 Aug 2014 07:51:14 -0400
parents 99dc4bdb1d35
children bce77c02cc5f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
1 <tool id="bigwig_to_wig" name="BigWig to Wig" version="1.0.2">
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
2 <description>converter</description>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
3 <command>bigwig_to_wig.sh -f $input -b $bin_size -l $mylab > $output </command>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
4 <requirements>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
5 <requirement type="package">bigWigSummary</requirement>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
6 <requirement type="package">bigWigInfo</requirement>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
7 </requirements>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
8 <inputs>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
9 <param format="bigwig" name="input" type="data" label="BigWig file to convert" />
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
10 <param name="bin_size" size="4" type="integer" value="500" label="Bin size" help="Must be an even integer > 100." />
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
11 <param name="mylab" type="text" value="wiggle_file" label="Output file prefix" help="" />
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
12 </inputs>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
13 <outputs>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
14 <data format="wig" name="output" label="${mylab}_density_bin${bin_size}.wig" />
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
15 </outputs>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
16 <tests>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
17 <test>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
18 <param name="input" value="1.bigwig" />
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
19 <param name="bin_size" value="500" />
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
20 <output name="output" file="1.wig" />
1
561c9a746a81 Uploaded
nikos
parents: 0
diff changeset
21 </test>
0
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
22 </tests>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
23 <help>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
24
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
25 This tool converts a **BigWig** file to fixed step **Wiggle** format.
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
26 Resolution is controlled through the bin size (the higher the size, the lower the resolution).
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
27
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
28 The script this tool is based on is written by Jens Vilstrup Johansen and uses bigWigInfo_ and bigWigSummary_.
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
29
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
30 .. _bigWigInfo: https://github.com/adamlabadorf/ucsc_tools/blob/master/executables/bigWigInfo
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
31 .. _bigWigSummary: https://github.com/adamlabadorf/ucsc_tools/blob/master/executables/bigWigSummary
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
32
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
33 </help>
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
34 </tool>