[ensembl-dev] Core API quits with no error messages

Damian dfermin at umich.edu
Fri Aug 26 14:36:32 BST 2011


Hello.


I don't know how to debug this problem with the Core API in perl.

Here is the code:
####################################################
use Bio::EnsEMBL::Registry;

my $reg = 'Bio::EnsEMBL::Registry';
$reg->load_registry_from_db(
         -host => '127.0.0.1',
         -user => 'nesviLab'
);


my $GA = $reg->get_adaptor('Human', 'Core', 'Gene');

my $gene = $GA->fetch_by_stable_id('ENSG00000256461');

my @exons = @{ $gene->get_all_Exons() };

foreach my $e (@exons) {
     print ">" . $e->stable_id() . "\n";
     print $e->seq->seq . "\n\n";
}

exit;

####################################################


When I run this code, the output is the first exon of the array and 
that's it:
 >ENSE00002226834

The sequence of the exon is never written out.
The script does not throw an error and the program does exit.
Running 'top' on my computer shows that the script is not even using up 
CPU cycles.

This only happens with genes on chromosome 1. The above code runs to 
completion with any genes from chromosomes 2..Y
Any idea what's going on? Any and all help is greatly appreciated.

I'm running the Ensembl Core version 62 on RHEL 5.4 (64bit).
Perl version: 5.8.8
MySQL version: 5.0.77

Damian

-- 
------------------------------------------------------------------------------
Damian Fermin, Ph.D.
Pathology Department
University of Michigan
4237 Medical Science I
1301 Catherine
Ann Arbor, MI 48109-0602
734.615.0302

"There is No Gene for the Human Spirit"
	-- GATTACA
------------------------------------------------------------------------------





More information about the Dev mailing list