annotate bigwig_to_wig.xml @ 2:bce77c02cc5f draft

Fixed tool dependency errors
author nikos
date Tue, 05 Aug 2014 09:03:05 -0400
parents 561c9a746a81
children
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>
2
bce77c02cc5f Fixed tool dependency errors
nikos
parents: 1
diff changeset
3 <command interpreter="bash">bigwig_to_wig.sh -f $input -b $bin_size -l $mylab > $output </command>
0
99dc4bdb1d35 Uploaded
nikos
parents:
diff changeset
4 <requirements>
2
bce77c02cc5f Fixed tool dependency errors
nikos
parents: 1
diff changeset
5 <requirement type="package" version="1.0">bigWigSummary</requirement>
bce77c02cc5f Fixed tool dependency errors
nikos
parents: 1
diff changeset
6 <requirement type="package" version="1.0">bigWigInfo</requirement>
0
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>