<br>Hi to all,<br><div class="gmail_quote"><div><br></div><div>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:<br>
<br><div><div>-------------------- EXCEPTION --------------------</div>
<div>MSG: End coord + 1 is less than start coord</div><div>STACK Bio::EnsEMBL::Slice::subseq ensembl/modules/Bio/EnsEMBL/Slice.pm:632</div><div>STACK Bio::EnsEMBL::Variation::DBSQL::VariationAdaptor::_get_flank_from_core ensembl-variation/modules/Bio/EnsEMBL/Variation/DBSQL/VariationAdaptor.pm:1395</div>

<div>STACK Bio::EnsEMBL::Variation::DBSQL::VariationAdaptor::get_flanking_sequence ensembl-variation/modules/Bio/EnsEMBL/Variation/DBSQL/VariationAdaptor.pm:1024</div><div>STACK Bio::EnsEMBL::Variation::Variation::five_prime_flanking_seq ensembl-variation/modules/Bio/EnsEMBL/Variation/Variation.pm:768</div>

<div>STACK main::get_VariationFeatures <a href="http://bioperl_test4.pl:34" target="_blank">bioperl_test4.pl:34</a></div><div>STACK toplevel <a href="http://bioperl_test4.pl:24" target="_blank">bioperl_test4.pl:24</a></div>
<div>Ensembl API version = 67</div>
</div></div><div><br></div><div>I've attached the script to this e-mail. Could you please help me to find the problem? </div><div><br></div><div>Thank you in advance,</div><div>Daniel</div>
</div><br>