in reply to Trying to get intergenic sequences using BioPerl

Tip #2 from the Basic debugging checklist: print. Print more variable values before that line to try to determine the root cause:

print "end=$end,start=$start\n";

Replies are listed 'Best First'.
Re^2: Trying to get intergenic sequences using BioPerl
by Sosi (Sexton) on Jul 27, 2015 at 11:00 UTC

    I know, that's why I have that dd ($gbfffile,$pt,"\$two\[0\]:","endi:$endi","\$two\[1\]:","starti:$starti","after:","end:$end","start:$start",$subseq);there, but I see nothing wrong with $start or $end