[ensembl-dev] Script from variation api tutorial throwing exceptions

Daniel Cuevas cuevaszd at cs.man.ac.uk
Thu Jul 19 12:44:29 BST 2012


Hi to all,

I am trying to print the flanking sequences from a set of SNPs, so I've
found this script in the variation API tutorial. However, it is throwing
the following exception when I execute it:

-------------------- EXCEPTION --------------------
MSG: End coord + 1 is less than start coord
STACK Bio::EnsEMBL::Slice::subseq ensembl/modules/Bio/EnsEMBL/Slice.pm:632
STACK
Bio::EnsEMBL::Variation::DBSQL::VariationAdaptor::_get_flank_from_core
ensembl-variation/modules/Bio/EnsEMBL/Variation/DBSQL/VariationAdaptor.pm:1395
STACK
Bio::EnsEMBL::Variation::DBSQL::VariationAdaptor::get_flanking_sequence
ensembl-variation/modules/Bio/EnsEMBL/Variation/DBSQL/VariationAdaptor.pm:1024
STACK Bio::EnsEMBL::Variation::Variation::five_prime_flanking_seq
ensembl-variation/modules/Bio/EnsEMBL/Variation/Variation.pm:768
STACK main::get_VariationFeatures bioperl_test4.pl:34
STACK toplevel bioperl_test4.pl:24
Ensembl API version = 67

I've attached the script to this e-mail. Could you please help me to find
the problem?

Thank you in advance,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20120719/0b584309/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bioperl_testf.pl
Type: application/octet-stream
Size: 1590 bytes
Desc: not available
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20120719/0b584309/attachment.obj>


More information about the Dev mailing list