EnglishFrenchSpanish

OnWorks favicon

gtf2gff3p - Online in the Cloud

Run gtf2gff3p in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gtf2gff3p that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gtf2gff3 - Converts GTF formatted files to valid GFF3 files

VERSION


This document describes version 0.1

SYNOPSIS


gtf2gff3 --cfg gtf2gff3_MY_CONFIG.cfg gtf_file > gff3_file

DESCRIPTION


This script will convert GTF formatted files to valid GFF3 formatted files. It will map
the value in column 3 (\"type\" column) to valid SO, but because many non standard term
may appear in that column in GTF files, you may edit the config file to provide your own
GTF feature to SO mapping. The script will also build gene models from exons, CDSs and
other features given in the GTF file. It is currently tested on Ensemble and Twinscan
GTF, and it should work on any other files that follow the same specification. It does
not work on GTF from the UCSC table browser because those files use the same ID for gene
and transcript, so it is impossible to group multiple transcripts to a gene. See the
README that came with the script for more info.

OPTIONS:


--cfg
Provide the filename for a config file. See the configuration file provided with this
script for format details. Use this configuration file to modify the behavior of the
script. If no config file is given it looks for ./gtf2gff3.cfg, ~/gtf2gff3.cfg or
/etc/gtf2gff3.cfg in that order.

--help
Provide a detailed man page style help message and then exit.

DIAGNOSTICS


"ERROR: Missing or non-standard attributes: parse_attributes"
A line in the GTF file did not have any attributes, or it's attributes column was
unparsable.

"ERROR: Non-transcript gene feature not supported. Please contact the author for support:
build_gene"
This warning indicates that a line was skipped because it contained a non-transcript
gene feature, and the code is not currently equipped to handle this type of feature.
This probably isn't too hard to add, so contact me if you get this error and would
like to have these features supported.

"ERROR: Must have at least exons or CDSs to build a transcript: build_trnsc"
Some feature had a transcript_id and yet there were no exons or CDSs associated with
that transcript_id so the script failed to build a transcript.

"ERROR: seq_id conflict: validate_and_finish_trnsc"
Found two features within the same transcript that didn't share the same seq_id.

"ERROR: source conflict: validate_and_finish_trnsc"
Found two features within the same transcript that didn't share the same source.

"ERROR: type conflict: validate_and_finish_trnsc"
Found two features within the same transcript that were expected to share the same
type and yet they didn't.

"ERROR: strand conflict: validate_and_finish_trnsc"
Found two features within the same transcript that didn't share the same strand.

"ERROR: seq_id conflict: validate_and_build_gene"
Found two features within the same gene that didn't share the same seq_id.

"ERROR: source conflict: validate_and_build_gene"
Found two features within the same gene that didn't share the same source.

"ERROR: strand conflict: validate_and_build_gene"
Found two features within the same gene that didn't share the same strand.

"ERROR: gene_id conflict: validate_and_build_gene"
Found two features within the same gene that didn't share the same gene_id.

"FATAL: Can't open GTF file: file_name for reading."
Unable to open the GTF file for reading.

"FATAL: Need exons or CDSs to build transcripts: process_start"
A start_codon feature was annotated and yet there were no exons or CDSs associated
with that transcript_id so the script failed.

"FATAL: Untested code in process_start. Contact the aurthor for support."
The script is written to infer a start codon based on the presence of a 5' UTR, but we
had no example GTF of this type when we wrote the code, so we killed process rather
than run untested code. Contact the author for support.

"FATAL: Invalid feature set: process_start"
We tried to consider all possible ways of infering a start codon or infering a a non-
coding gene, and yet we've failed. Your combination of gene features doesn't make
sense to us. You should never get this error, and if you do, we'd really like to see
the GTF file that generated it. Please contact the author for support.

"FATAL: Need exons or CDSs to build transcripts: process_stop"
A stop_codon feature was annotated and yet there were no exons or CDSs associated with
that transcript_id so the script failed.

"FATAL: Untested code in process_stop. Contact the aurthor for support."
The script is written to infer a stop codon based on the presence of a 3' UTR, but we
had no example GTF of this type when we wrote the code, so we killed process rather
than run untested code. Contact the author for support.

"FATAL: Invalid feature set: process_stop"
We tried to consider all possible ways of infering a stop codon or infering a a non-
coding gene, and yet we've failed. Your combination of gene features doesn't make
sense to us. You should never get this error, and if you do, we'd really like to see
the GTF file that generated it. Please contact the author for support.

"FATAL: Invalid feature set: process_exon_CDS_UTR"
We tried to consider all possible ways of infering exons, CDSs and UTRs and yet we've
failed. Your combination of gene features doesn't make sense to us. You really
should ever get this error, and if you do, we'd really like to see the GTF file that
generated it. Please contact the author for support.

"FATAL: Array reference required: sort_features."
A user shouldn't be able to trigger this error. It almost certainly indicates a
software bug. Please contact the author.

"FATAL: Can't determine strand in: sort_feature_types."
This may indicate that your GTF file does not indicate the strand for features that
require it. It may also indicate a software bug. Please contact the author.

"FATAL: Hash reference required: sort_feature_types."
A user shouldn't be able to trigger this error. It almost certainly indicates a
software bug. Please contact the author.

"FATAL: Invalid value passed to strand: strand."
This may indicate that your GTF file does not indicate the strand for features that
require it. Consider using the DEFAULT_STRAND parameter in the config file. It may
also indicate a software bug. Please contact the author.

CONFIGURATION AND ENVIRONMENT


A configuration file is provided with this script. The script will look for that
configuration file in ./gtf2gff3.cfg, ~/gtf2gff3.cfg or /etc/gtf2gff3.cfg in that order.
If the configuration file is not found in one of those locations and one is not provided
via the --cfg flag it will try to choose some sane defaults, but you really should provide
the configuration file. See the supplied configuration file itself as well as the README
that came with this package for format and details about the configuration file.

DEPENDENCIES


This script requires the following perl packages that are available from CPAN
(www.cpan.org).

Getopt::Long; use Config::Std;

INCOMPATIBILITIES


None reported.

Use gtf2gff3p online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 2
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 3
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • 4
    Apache OpenOffice Extensions
    Apache OpenOffice Extensions
    The official catalog of Apache
    OpenOffice extensions. You'll find
    extensions ranging from dictionaries to
    tools to import PDF files and to connect
    with ext...
    Download Apache OpenOffice Extensions
  • 5
    MantisBT
    MantisBT
    Mantis is an easily deployable, web
    based bugtracker to aid product bug
    tracking. It requires PHP, MySQL and a
    web server. Checkout our demo and hosted
    offerin...
    Download MantisBT
  • 6
    LAN Messenger
    LAN Messenger
    LAN Messenger is a p2p chat application
    for intranet communication and does not
    require a server. A variety of handy
    features are supported including
    notificat...
    Download LAN Messenger
  • More »

Linux commands

  • 1
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 2
    abilint
    abilint
    abilint - validate an abigail ABI
    representation abilint parses the native
    XML representation of an ABI as emitted
    by abidw. Once it has parsed the XML
    represe...
    Run abilint
  • 3
    coresendmsg
    coresendmsg
    coresendmsg - send a CORE API message
    to the core-daemon daemon ...
    Run coresendmsg
  • 4
    core_server
    core_server
    core_server - The primary server for
    SpamBayes. DESCRIPTION: Currently serves
    the web interface only. Plugging in
    listeners for various protocols is TBD.
    This ...
    Run core_server
  • 5
    fwflash
    fwflash
    fwflash - program to flash image file
    to a connected NXT device ...
    Run fwflash
  • 6
    fwts-collect
    fwts-collect
    fwts-collect - collect logs for fwts
    bug reporting. ...
    Run fwts-collect
  • More »

Ad