BED2GFF3(1p)
π BED2GFF3(1p) β the manual, but make it cute π
okay bestie, gather round, because this is the BED2GFF3(1p) page and it's literally from the User Contributed Perl Documentation section, and it's about turning UCSC Genome Browser gene files into GFF files that gbrowse can actually eat. no cap. π§¬β¨
πΈ NAME πΈ
ucsc_genes2gff.pl β bestie, this script converts UCSC Genome Browser-format gene files into GFF files that are suitable for loading into gbrowse. that's the whole vibe. π
β¨ SYNOPSIS β¨
run it like this, okay?
% uscsc_genes2gff.pl [options] ucsc_file1 ucsc_file2...
and here are the options, they're giving very much minimal but mighty:
-src<string>β choose a source for the gene, default is"UCSC"π-origin<integer>β choose a relative position to number from, default is"1"π’
π¦ DESCRIPTION π¦
so what this script actually does: it massages the gene files you can grab from the "tables" link of the UCSC genome browser (genome.ucsc.edu) into a form suitable for loading into gbrowse. glow-up arc, honestly. β¨
warning tho, fr fr: 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. so don't come for this script with an EST file, it will simply not eat. π
to use it, you get one or more UCSC tables β either from the "Tables" link on the browser, or from the UCSC Genome Browser FTP site. then you just hand the table file to this script as the argument. you may want to provide an alternative "source" field. otherwise this script defaults to "UCSC". π
like so:
% pucsc_genes2gff.pl -src RefSeq refseq_data.ucsc > refseq.gff
and then the resulting GFF file can be loaded into a Bio::DB::GFF database using the following command:
% bulk_load_gff.pl -d <databasename> refseq.gff
and that's it, that's the pipeline, main character energy from start to finish. π
π SEE ALSO π
go read these too, iykyk:
Bio::DB::GFFbulk_load_gff.plload_gff.pl
π AUTHOR π
Lincoln Stein <lstein@cshl.org>. π«Ά
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. π
and that's the whole page, bestie!! this one shipped as part of perl v5.40.0, dated 2024-10-20, under the name BED2GFF3(1p) β go forth and convert those genes, you absolute icon ππΈβ¨
π¦ where this page comes from
- ubuntu questing: gbrowse 2.56+dfsg-12build4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms