I really like these bioinformatics problems. :) They look deceptively simple, complicated only by the sheer size of the dataset. You are not the only "gene hunter" here at the Monastery.

As you are a green Perl hacker, I recommend two things:

1) Hang out here a lot. Share in the glow of our collective wisdom. Do a Super Search here in the Monastery for "DNA" (or even a short sequence like "agtc"!)and see what others who have gone before you have learned.

2) Get yourself a good Perl bioinformatics book. A quick search on Amazon yielded about a dozen or so. I have no idea which are worthwhile and which are junk, but I'm sure you are in a better position to judge. And, if in doubt, the O'Reilly books are usually a safe bet.


In reply to Re: substr is behaving differently with small vs large strings by husker
in thread substr is behaving differently with small vs large strings by wadunn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.