Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: error calling variables? Going insane...

by poj (Prior)
on Jun 25, 2014 at 21:58 UTC ( #1091259=note: print w/replies, xml ) Need Help??


in reply to Re^2: error calling variables? Going insane...
in thread error calling variables? Going insane...

Forgive me if this is nonsense but if all your output is going to INTRONS_three then presumably the length of $seq is not 9. So does that mean that this block is not entered ?
if ($intron_from_boundary[$i] >= -6) { $left_of_boundary = 3; #$right_of_boundary = 6; $left_of_boundary = $left_of_boundary - intron_from_bound +ary[$i]; $new_left = 51 - $left_of_boundary; $seq = substr( $col7[$i], $new_left, 9); $matchID = $ID[$i] . "\t" . $intron_from_boundary[$i] +. "\t" . "on the negative strand"; }
Is which case is this $intron_from_boundary[$i] >= -6 the correct test, any number greater or equal to -6 ie. -5, -4, -3 etc or should it be less or equal to -6 ie -7,-8,9 etc
poj

Replies are listed 'Best First'.
Re^4: error calling variables? Going insane...
by lecb (Acolyte) on Jun 25, 2014 at 22:24 UTC

    Dear Poj,
    I have another subroutine that I call later that pulls out a sequence of length = 9, and this works absolutely fine. I have replied to suicidejunkie and have worked out the errors of my ways! - El

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1091259]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2017-12-17 12:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (464 votes). Check out past polls.

    Notices?