Hi Chris,<div>Thanks.<span></span><br><div>I do not have the exact code rigth now, but it is very simple. The problem happens when I call the frac_aligned_query() on the hit object in Bio::SearchIO. I do not know a better way to get the coverage values. </div><div>Best,</div><div>Thiago<br><br>On Wednesday, December 17, 2014, Fields, Christopher J &lt;<a href="mailto:cjfields@illinois.edu">cjfields@illinois.edu</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Thiago,
<div><br>
</div>
<div>Best thing would be to see your code to try to understand what you are trying to do.  It seems to be triggering the older HSP tiling code for BioPerl, and there may be better ways to get at the data (e.g. Mark Jensen’s work on refactoring HSP tiling into
 a separate code base: <a href="http://www.bioperl.org/wiki/HOWTO:Tiling" target="_blank">http://www.bioperl.org/wiki/HOWTO:Tiling</a>).</div>
<div><br>
</div>
<div>chris</div>
<div><br>
<div>
<div>On Dec 17, 2014, at 12:04 PM, Thiago M. Venancio &lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;thiago.venancio@gmail.com&#39;);" target="_blank">thiago.venancio@gmail.com</a>&gt; wrote:</div>
<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
Hi all,</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
I am parsing a BLASTX report and got the following error for some sequences.</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
It always happen with sub-sequences of 1 base. I found some posts on this issue, but they are old.</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
I am use the latest version installed through cpan.</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-size:13.3333330154419px">
<b>$ perl -MBio::Perl -le &#39;print Bio::Perl-&gt;VERSION;&#39;</b></div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-size:13.3333330154419px">
<b>1.006924</b></div>
<div><br>
</div>
</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
Any help is appreciated.</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
Thiago</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
<br>
</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
------------- EXCEPTION: Bio::Root::Exception -------------</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
MSG: Undefined sub-sequence (241,242). Valid range = 96 - 242</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
STACK: Error::throw</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
STACK: Bio::Root::Root::throw /usr/share/perl5/Bio/Root/Root.pm:472</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
STACK: Bio::Search::HSP::HSPI::matches /usr/share/perl5/Bio/Search/HSP/HSPI.pm:716</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
STACK: Bio::Search::SearchUtils::_adjust_contigs /usr/share/perl5/Bio/Search/SearchUtils.pm:431</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
STACK: Bio::Search::SearchUtils::tile_hsps /usr/share/perl5/Bio/Search/SearchUtils.pm:201</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.3333330154419px">
STACK: Bio::Search::Hit::GenericHit::frac_aligned_hit /usr/share/perl5/Bio/Search/Hit/GenericHit.pm:1319</div>
</div>
<div><br>
</div>
-- <br>
<div>=================================<br>
Thiago Motta Venancio, M.Sc., PhD<br>
<a href="http://venancio.openwetware.org/" target="_blank">http://venancio.openwetware.org/</a><br>
=================================</div>
</div>
_______________________________________________<br>
Bioperl-l mailing list<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;Bioperl-l@mailman.open-bio.org&#39;);" target="_blank">Bioperl-l@mailman.open-bio.org</a><br>
<a href="http://mailman.open-bio.org/mailman/listinfo/bioperl-l" target="_blank">http://mailman.open-bio.org/mailman/listinfo/bioperl-l</a></blockquote>
</div>
<br>
</div>
</div>

</blockquote></div></div><br><br>-- <br>=================================<br>Thiago Motta Venancio, M.Sc., PhD<br><a href="http://venancio.openwetware.org/" target="_blank">http://venancio.openwetware.org/</a><br>=================================<br>