DOKK / manpages / debian 12 / gbrowse / ucsc_genes2gff.1p.en
UCSC_GENES2GFF(1p) User Contributed Perl Documentation UCSC_GENES2GFF(1p) - Convert UCSC Genome Browser-format gene files into GFF files suitable for loading into gbrowse

  % [options] ucsc_file1 ucsc_file2...


    -src    <string>   Choose a source for the gene, default "UCSC"
    -origin <integer>  Choose a relative position to number from, default
is "1"

This script massages the gene files available from the "tables" link of the UCSC genome browser ( into a form suitable for loading of gbrowse. Warning: it only works with the gene tables. Other tables, such as EST alignments, contours and repeats, have their own formats which will require other scripts to parse.

To use this script, get one or more UCSC tables, either from the "Tables" link on the browser, or from the UCSC Genome Browser FTP site. Give the table file as the argument to this script. You may want to provide an alternative "source" field. Otherwise this script defaults to "UCSC".

  % -src RefSeq refseq_data.ucsc > refseq.gff

The resulting GFF file can then be loaded into a Bio::DB::GFF database using the following command:

  % -d <databasename> refseq.gff


Lincoln Stein <>.

Copyright (c) 2003 Cold Spring Harbor Laboratory

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty.

2022-09-30 perl v5.34.0