Skip to content

Instantly share code, notes, and snippets.

@dbolser
Created March 25, 2011 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbolser/887272 to your computer and use it in GitHub Desktop.
Save dbolser/887272 to your computer and use it in GitHub Desktop.
warn "connecting to link intensity GFF\n";
my $intensities = Bio::DB::SeqFeature::Store->
new( -adaptor => 'DBI::mysql',
-dsn => 'dbolser_002:mysql.compbio.dundee.ac.uk',
-user => 'dbolser',
-pass => 'abc123',
-verbose => $verbose,
);
warn Dumper $intensities
if $verbose > 1;
__END__
Gives...
connecting to link intensity GFF
$VAR1 = bless( {
'dumpdir' => '/local/tmp',
'settings_cache' => {
'serializer' => 'Storable',
'compress' => '1',
'autoindex' => '1',
'index_subfeatures' => '1'
},
'namespace' => undef,
'seqfeatureclass' => 'Bio::DB::SeqFeature',
'writeable' => undef,
'is_temp' => undef,
'dbh' => bless( {}, 'DBI::db' )
}, 'Bio::DB::SeqFeature::Store::DBI::mysql' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment