Mercurial > repos > vipints > fml_wig2bed
comparison Wig_to_bedGraph/galaxy/Wig2bedGraph.xml @ 0:45f3fa82369f default tip
Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
author | vipints |
---|---|
date | Tue, 07 Jun 2011 18:08:31 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:45f3fa82369f |
---|---|
1 <tool id="fml_wig2bed" name="Wig_to_bedGraph" version="1.0.0"> | |
2 <description>converter</description> | |
3 <command interpreter="perl">wig2bedGraph_converter.pl $inf_wig > $bed_format | |
4 </command> | |
5 <inputs> | |
6 <param format="wig" name="inf_wig" type="data" label="Convert this file" help="Data in fixedStep or variableStep wiggle format."/> | |
7 </inputs> | |
8 <outputs> | |
9 <data format="bed" name="bed_format" /> | |
10 </outputs> | |
11 <tests> | |
12 <test> | |
13 <param name="inf_wig" value="hg17_chrY_pos.wig" /> | |
14 <output name="bed_format" file="hg17_chrY_pos.bed" /> | |
15 </test> | |
16 </tests> | |
17 <help> | |
18 | |
19 **What it does** | |
20 | |
21 This tool converts data in wiggle fixedStep_ or variableStep_ format to four column bedGraph_ format. | |
22 | |
23 .. _fixedStep: http://genome.ucsc.edu/goldenPath/help/wiggle.html | |
24 .. _variableStep: http://genome.ucsc.edu/goldenPath/help/wiggle.html | |
25 .. _bedGraph: http://genome.ucsc.edu/goldenPath/help/bedgraph.html | |
26 | |
27 -------- | |
28 | |
29 **Example** | |
30 | |
31 - The following data in wiggle fixedStep format:: | |
32 | |
33 track type=wiggle_0 name="ARTS+ chrY" description="ARTS - TSS Finder - chrY - positive strand" visibility=full autoScale=on color=0,200,100 maxHeightPixels=300:150:50 graphType=bar yLineMark=0 yLineOnOff=on smoothingWindow=2 | |
34 fixedStep chrom=chrY start=1151 step=50 | |
35 -1.17966 | |
36 -0.56397 | |
37 -0.79706 | |
38 -0.99435 | |
39 -1.11338 | |
40 -1.23153 | |
41 | |
42 - Will be converted to bedGraph format:: | |
43 | |
44 chrY 1150 1151 -1.17966 | |
45 chrY 1200 1201 -0.56397 | |
46 chrY 1250 1251 -0.79706 | |
47 chrY 1300 1301 -0.99435 | |
48 chrY 1350 1351 -1.11338 | |
49 chrY 1400 1401 -1.23153 | |
50 | |
51 -------- | |
52 | |
53 **About formats** | |
54 | |
55 **Wiggle (variableStep)** The data is introduced by a line beginning with the keyword "variableStep", and the arguments "chrom" and "span", which indicate the chromosome on which the features are located, and the width of each feature, in base pairs. This is followed by a series of two-element lines indicating the start position of each feature, and its quantitative value. Values can be any sort of numeric data, including integers, negative numbers and floating point. | |
56 | |
57 **Wiggle (fixedStep)** The data is introduced by a line beginning with the keyword "fixedStep", and the arguments "chrom", "span", "start" and "step". The first two arguments are the same as wiggle variableStep, while "start" and "step" indicate the starting position of the first feature, and the spacing between each feature. This is followed by a numeric value for each step. | |
58 | |
59 **bedGraph** There are four required fields: ref_sequence,start,end and score. Note that here the coordinates are "zero-indexed", half open, which means the start coordinate is zero-indexed and the end coordinate is 1-indexed. | |
60 | |
61 -------- | |
62 | |
63 This tool is a part of the **MLB Group at Friedrich Miescher Laboratory of the Max Planck Society**. Copyright (C) 2010-2011 Max Planck Society | |
64 </help> | |
65 </tool> |