
Chris Charley
User
Oct 27, 2012, 11:02 AM
Views: 5499
|
|
Re: [Laurent_R] DNA Sequence Count Perl Program HELP!
|
|
|
Laurent, your code is somewhat less dense than the BioPerl one. :-) A problem (?) might be that it is counting newline characters in the window (by looking at his sample data snapshot earlier in this thread). Don't know if this could significantly affect the results. The newline issue is why I posted the BioPerl solution as it doesn't count newline characters. Good catch on the division by zero error likelyhood. My solution didn't check for illegal division by zero, so would have to be amended. Just some thoughts.
(This post was edited by Chris Charley on Oct 27, 2012, 11:19 AM)
|