# calculate pI.

Hmmm, have you considered this:

 print "pI = ", (4 * atan2 1, 1), "\n";

or, even simpler:

print "pI = ", 3.14159265, "\n"

?

OK, I've tried to make some fun, I am not sure that this was really funny, but, frankly, my point is that you are posting a 120-line script obviously highly specialized in biology without giving any explanation of what it is supposed to do, just saying that you don't get any output. I am actually almost surprised that you found some people able to give an answer.

I did some study in biology, but last time I had a course in biology and related sciences was in my first year of medecine study back in 1973-1974, after which I decided to give up medecine (because I found that I did not like it, I actually passed my first year exams, but did not see myself going through that for still many years) and to go for maths and physics, which led me a few years later to software engineering and IT science. This is just to say that I followed some university courses in biology, biochemistry, biophysics, genetics, etc., so that I am not a complete ignoramus on the subject, but sufficiently long ago to have only very vague remembrance (as far as genetics is concerned, the knowledge in this field has so much progressed over the last 40 years that, even if I remembered today everything that I was supposed to learn at the time, my knowledge would probably be far lower than what a high school student is supposed to know today).

In brief, I have no clue on what your program is doing, I don't understand anything, and I think most people here are in more or less the same situation. It would be nice to give some explanations on what you expect.

BTW, just a small slightly off-topic question. From reading through your code (you see... I made an effort), I got the understanding that pI is required to be between 0 and 14, and that sounds like min and max values of pH in chemistry. My gut feeling is that this is extremely unlikely to be a coincidence, so, what is the relation between pH and pI?


In reply to Re: Iso electric point calculation using perl by Laurent_R
in thread Iso electric point calculation using perl by yuvraj_ghaly

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.