Commit 9011d3bb authored by Simon Brent's avatar Simon Brent
Browse files

merging changes from branch-ensembl-68

parent c6eb06d6
...@@ -23,11 +23,10 @@ Monika Komorowska, 2012 - monika@ebi.ac.uk ...@@ -23,11 +23,10 @@ Monika Komorowska, 2012 - monika@ebi.ac.uk
use strict; use strict;
use Bio::EnsEMBL::Utils::IO::GFFParser; use Bio::EnsEMBL::Utils::IO::GFFParser;
use FileHandle; use IO::File;
my $file_name = "features.gff"; my $file_name = "features.gff";
my $fh = FileHandle->new; my $fh = IO::File->new($file_name, 'r');
$fh->open("< $file_name");
my $parser = Bio::EnsEMBL::Utils::IO::GFFParser->new($fh); my $parser = Bio::EnsEMBL::Utils::IO::GFFParser->new($fh);
my @header_lines = @{$parser->parse_header()}; my @header_lines = @{$parser->parse_header()};
......
...@@ -4,11 +4,16 @@ ...@@ -4,11 +4,16 @@
'user' => 'ensadmin', 'user' => 'ensadmin',
'pass' => 'XXX', 'pass' => 'XXX',
'host' => 'ens-research', 'host' => 'ens-research',
'zip' => 'test_genome.zip',
# add a line with the dbname and module # add a line with the dbname and module
'databases' => { 'databases' => {
'homo_sapiens' => { 'core' => 'Bio::EnsEMBL::DBSQL::DBAdaptor' } 'homo_sapiens' => {
'core' => 'Bio::EnsEMBL::DBSQL::DBAdaptor',
'empty' => 'Bio::EnsEMBL::DBSQL::DBAdaptor',
},
'circ' => {
'core' => 'Bio::EnsEMBL::DBSQL::DBAdaptor',
}
}, },
# uncomment to use preloaded databases (useful when doing lots of # uncomment to use preloaded databases (useful when doing lots of
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment