LOAD_GENBANK(1p)
πΈ NAME πΈ
load_genbank.pl β bestie, this is the little script that loads a Bio::DB::GFF database straight from GENBANK files. It lives in the User Contributed Perl Documentation corner of the LOAD_GENBANK(1p) manual, and it is so ready to be your new fave.
β¨ SYNOPSIS β¨
% load_genbank.pl -d genbank -f localfile.gb
% load_genbank.pl -d genbank -a AP003256
π«Ά quick heads up, bestie: the script bp_genbank2gff.pl in the BioPerl distribution is literally the same script as this one. Same vibes, different name. iykyk.
π DESCRIPTION π
okay so. This script loads a Bio::DB::GFF database with all the features chillin' inside either a local genbank file or an accession that gets fetched from genbank. It's giving β¨flexibleβ¨.
There's a whole squad of command-line options that let you control which database to load and whether you're allowed to overwrite a database that already exists. Choose wisely, queen π.
ngl, this script currently only uses MySQL. It's a proof-of-principle situation β it could easily be extended to work with other RDMS that GFF supports through adaptors, but for now? MySQL only. periodt.
π COMMAND-LINE OPTIONS π
bestie, these options can be abbreviated to single-letter options. e.g. -d instead of --database. So cute, so efficient π.
--createβ force creation and initialization of the database. it's giving "build it from scratch, no cap" ποΈ--dsn<dsn>β the data source. default isdbi:mysql:testβ¨--user<user>β username for mysql authentication π--pass<password>β password for mysql authentication π€«--proxy<proxy>β proxy server to use for remote access π--fileβ arguments that follow are Genbank/EMBL file names (this is the default behavior) π--accessionβ arguments that follow are genbank accession numbers π’--stdoutβ write the converted GFF file to stdout rather than loading it π
π¦ SEE ALSO π¦
Bio::DB::GFFbulk_load_gff.plload_gff.pl
go read those, they're iconic too π«Ά
π AUTHOR π
- Scott Cain,
cain@cshl.org - 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 lil' manual page came to you courtesy of perl v5.40.0, dated 2024-10-20, under the LOAD_GENBANK(1p) title. slay, go load some genbank files πΈβ¨π¦
π¦ 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