You can modify the script to give you the start and end coordinates, and do that only for the list of genes you are interested in:
use strict;
use warnings;
use Bio::EnsEMBL::Registry;
use Bio::EnsEMBL::Utils::SeqDumper;
my $registry='Bio::EnsEMBL::Registry';# For EnsemblGenomes$registry->load_registry_from_db(
-host =>'mysql.ebi.ac.uk',
-port => 4157,
-user =>'anonymous',
# -verbose => 1);# For Ensembl# $registry->load_registry_from_db( '-host' => 'ensembldb.ensembl.org',# '-port' => '5306',# '-user' => 'anonymous',# '-db_version' => '65' );
my @list =('SPAC24H6.01c','SPAC2F7.03c','SPAC2F7.04c','SPAC2F7.05c');
my $ga=$registry->get_adaptor('schizosaccharomyces_pombe', 'Core', 'Gene');
my $dumper= Bio::EnsEMBL::Utils::SeqDumper->new();
foreach my $id(@list){
my $gene=$ga->fetch_by_stable_id($id);
next unless (defined $gene);
foreach my $transcript(@{$gene->get_all_Transcripts }){
next unless (defined $transcript);
foreach my $intron( @{$transcript->get_all_Introns()}){
next unless (defined $intron);
print $intron->feature_Slice->display_id,"\n";# $dumper->dump( $intron->feature_Slice(), 'FASTA' );}}}
Follow-on question from: http://biostar.stackexchange.com/questions/17683/s-pombe-intron-coordinates