BioPerl
view release on metacpan or search on metacpan
scripts/Bio-DB-SeqFeature-Store/bp_seqfeature_gff3.pl view on Meta::CPAN
-p --password Password to use to connect to database
-g --gff3opt flag options to gff3_string (i.e.: pass -gffopt 1 to recurse)
WHICH FEATURES: any remaining options after '--' will select
a subset of features. The arguments are identical to those
accepted by Bio::DB::SeqFeature::Store->features().
END
$ADAPTOR ||= 'DBI::mysql';
$DSN ||= $ADAPTOR eq 'DBI::mysql' ? "mysql_read_default_file=$ENV{HOME}/.my.cnf" : '';
my $store = Bio::DB::SeqFeature::Store->new(
-dsn => $DSN,
-adaptor => $ADAPTOR,
-user => $USER,
-pass => $PASS,
)
or die "Couldn't create connection to the database";
# on signals, give objects a chance to call their DESTROY methods
( run in 0.259 second using v1.01-cache-2.11-cpan-05444aca049 )