comparison bed_to_gff.xml @ 10:c42c69aa81f8

fixed manually the upload of version 2.1.0 - deleted accidentally added files to the repo
author vipints <vipin@cbio.mskcc.org>
date Thu, 23 Apr 2015 18:01:45 -0400
parents
children
comparison
equal deleted inserted replaced
9:7d67331368f3 10:c42c69aa81f8
1 <tool id="fml_bed2gff" name="BED-to-GFF" version="2.1.0">
2 <description>converter</description>
3 <command interpreter="python">bed_to_gff.py $inf_bed &gt; $gff_format
4 </command>
5 <inputs>
6 <param format="bed" name="inf_bed" type="data" label="Convert this query" help="Provide genome annotation in 12 column BED format."/>
7 </inputs>
8 <outputs>
9 <data format="gff" name="gff_format" label="${tool.name} on ${on_string}: Converted" />
10 </outputs>
11 <tests>
12 <test>
13 <param name="inf_bed" value="CCDS30770.bed" />
14 <output name="gff_format" file="CCDS30770.gff" />
15 </test>
16 </tests>
17 <help>
18
19 **What it does**
20
21 This tool converts data from a 12 column UCSC wiggle BED format to GFF3 (scroll down for format description).
22
23 --------
24
25 **Example**
26
27 - The following data in UCSC Wiggle BED format::
28
29 chr1 11873 14409 uc001aaa.3 0 + 11873 11873 0 3 354,109,1189, 0,739,1347,
30
31 - Will be converted to GFF3::
32
33 ##gff-version 3
34 chr1 bed2gff gene 11874 14409 0 + . ID=Gene:uc001aaa.3;Name=Gene:uc001aaa.3
35 chr1 bed2gff transcript 11874 14409 0 + . ID=uc001aaa.3;Name=uc001aaa.3;Parent=Gene:uc001aaa.3
36 chr1 bed2gff exon 11874 12227 0 + . Parent=uc001aaa.3
37 chr1 bed2gff exon 12613 12721 0 + . Parent=uc001aaa.3
38 chr1 bed2gff exon 13221 14409 0 + . Parent=uc001aaa.3
39
40 --------
41
42 **Reference**
43
44 **BED-to-GFF** is part of oqtans package and cited as [1]_.
45
46 .. [1] Sreedharan VT, Schultheiss SJ, Jean G et.al., Oqtans: the RNA-seq workbench in the cloud for complete and reproducible quantitative transcriptome analysis. Bioinformatics (2014). `10.1093/bioinformatics/btt731`_
47
48 .. _10.1093/bioinformatics/btt731: http://goo.gl/I75poH
49
50 --------
51
52 **About file formats**
53
54 **BED format** Browser Extensible Data format was designed at UCSC for displaying data tracks in the Genome Browser. It has three required fields and several additional optional ones:
55
56 The first three BED fields (required) are::
57
58 1. chrom - The name of the chromosome (e.g. chr1, chrY_random).
59 2. chromStart - The starting position in the chromosome. (The first base in a chromosome is numbered 0.)
60 3. chromEnd - The ending position in the chromosome, plus 1 (i.e., a half-open interval).
61
62 The additional BED fields (optional) are::
63
64 4. name - The name of the BED line.
65 5. score - A score between 0 and 1000.
66 6. strand - Defines the strand - either '+' or '-'.
67 7. thickStart - The starting position where the feature is drawn thickly at the Genome Browser.
68 8. thickEnd - The ending position where the feature is drawn thickly at the Genome Browser.
69 9. reserved - This should always be set to zero.
70 10. blockCount - The number of blocks (exons) in the BED line.
71 11. blockSizes - A comma-separated list of the block sizes. The number of items in this list should correspond to blockCount.
72 12. blockStarts - A comma-separated list of block starts. All of the blockStart positions should be calculated relative to chromStart. The number of items in this list should correspond to blockCount.
73
74 **GFF format** General Feature Format is a format for describing genes and other features associated with DNA, RNA and Protein sequences. GFF lines have nine tab-separated fields::
75
76 1. seqid - Must be a chromosome or scaffold or contig.
77 2. source - The program that generated this feature.
78 3. type - The name of this type of feature. Some examples of standard feature types are "gene", "CDS", "protein", "mRNA", and "exon".
79 4. start - The starting position of the feature in the sequence. The first base is numbered 1.
80 5. stop - The ending position of the feature (inclusive).
81 6. score - A score between 0 and 1000. If there is no score value, enter ".".
82 7. strand - Valid entries include '+', '-', or '.' (for don't know/care).
83 8. phase - If the feature is a coding exon, frame should be a number between 0-2 that represents the reading frame of the first base. If the feature is not a coding exon, the value should be '.'.
84 9. attributes - All lines with the same group are linked together into a single item.
85
86 --------
87
88 **Copyright**
89
90 BED-to-GFF Wrapper Version 0.6 (Apr 2015)
91
92 2009-2015 Max Planck Society, University of Tübingen &amp; Memorial Sloan Kettering Cancer Center
93
94 </help>
95 </tool>