BP_FAST_LOAD_GFF(1p)
๐ BP_FAST_LOAD_GFF(1p) โ or, as the girlies call it, bp_fast_load_gff.pl ๐
okay so welcome to the User Contributed Perl Documentation section bestie, you're in the right place ๐ธ
โจ NAME โจ
bp_fast_load_gff.pl โ fast-load a Bio::DB::GFF database from GFF files. no cap, it's fast.
๐ฆ SYNOPSIS ๐ฆ
% bp_fast_load_gff.pl -d testdb dna1.fa dna2.fa features1.gff features2.gff ...
๐ DESCRIPTION ๐
This script loads a Bio::DB::GFF database with all the features chilling inside a list of GFF files and/or FASTA sequence files. Important: you must use the exact variant of GFF described in Bio::DB::GFF โ no improvising, bestie, it's giving โจspecificโจ.
You've got various command-line options that let you control which database gets loaded, and whether an existing database is allowed to be overwritten. (Rude of you, but okay ๐ )
This script is similar to load_gff.pl, except it's much faster. The catch? It's hard-coded to use MySQL and it probably only works on Unix platforms because it relies on pipes. ๐ฅฒ See bp_load_gff.pl for an incremental loader that works with every database supported by Bio::DB::GFF, and bp_bulk_load_gff.pl for a fast MySQL loader that supports all platforms. Options, options, options ๐
๐ NOTES ๐
If the filename is given as - then the input is taken from standard input. Compressed files (.gz, .Z, .bz2) get automatically uncompressed. We love a self-sufficient icon ๐ซถ
FASTA format files are told apart from GFF files by their filename extensions. Files ending in .fa, .fasta, .fast, .seq, .dna and their uppercase variants are treated as FASTA files. Everything else is treated as a GFF file. And if you wanna load -fasta files from STDIN, use the -f command-line swith with an argument of '-', like this:
gunzip my_data.fa.gz | bp_fast_load_gff.pl -d test -f -
The nature of the load requires that the database be on the local machine, and that the indicated user has the"file"privilege to load the tables, plus enough room in/usr/tmp(or whatever is specified by the$TMPDIRenvironment variable) to hold the tables transiently. ๐จ If your MySQL is version3.22.6and was compiled using the"load local file"option, then you may be able to load remote databases with local data using the--localoption.
About maxfeature: the default value is 100,000,000 bases. If you have features that are close to or greater that 100Mb in length, then the value of maxfeature should be increased to 1,000,000,000. This value must be a power of 10. math girlies rise ๐งฎโจ
If the list of GFF or fasta files exceeds the kernel limit for the maximum number of command-line arguments, use the --long_list /path/to/files option. Slay, problem solved ๐
The adaptor used is dbi::mysqlopt. There is currently no way to change this. It said what it said. periodt. ๐
๐ COMMAND-LINE OPTIONS ๐
Command-line options can be abbreviated to single-letter options. e.g. -d instead of --database. Short and sweet, main character energy.
--database <dsn>โ Mysql database name--createโ Reinitialize/create data tables without asking--localโ Try to load a remote database using local data.--userโ Username to log in as--fastaโ File or directory containing fasta files to load--passwordโ Password to use for authentication--long_listโ Directory containing a very large number of GFF and/or FASTA files--maxfeatureโ Set the value of the maximum feature size (default100Mb; must be a power of 10)--groupโ A list of one or more tag names (comma or space separated) to be used for grouping in the 9th column.--gff3_mungeโ Activate GFF3 name munging (see Bio::DB::GFF)--summaryโ Generate summary statistics for drawing coverage histograms. This can be run on a previously loaded database or during the load.--Temporaryโ Location of a writable scratch directory
๐ฅ SEE ALSO ๐ฅ
Bio::DB::GFF, bulk_load_gff.pl, load_gff.pl
๐ AUTHOR ๐
Lincoln Stein, lstein@cshl.org
Copyright (c) 2002 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 was brought to you by perl v5.30.0, dated 2020-01-13, filed under BP_FAST_LOAD_GFF(1p) ๐ mwah, go load some GFF ๐๐ฆ
๐ฆ where this page comes from
- debian bookworm: libbio-db-gff-perl 1.7.4-1 ยท Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libbio-db-gff-perl 1.7.4-1 ยท Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libbio-db-gff-perl 1.7.4-1 ยท Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libbio-db-gff-perl 1.7.4-1 ยท Artistic-1.0-Perl OR GPL-1.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms