Counting tripeptide frequencies
dalke at bioreason.com
Fri Feb 12 02:35:20 EST 1999
Randy Henne <henne at zgi.com> (an ex-teacher of mine :) said:
> Yes it is . . . but Perl and not Python Andrew?
Hey, I was trying for a confusing response, and perl's great for that.
But, now that you mention it, here's a GUI app for Python to do what
the original poster wanted. It should work on Macs and MS Windows, but
I've only tested it under unix. It needs Tk, which means the prebuilt
Mac/MS Windows Python distributions from www.python.org should work
To use it, give it some text in the top line (it can be as long as
you want) then press enter. The results are in two tables, the
left is sorted by fragment content (alphabetically) then count. The
right is sorted by count then fragment content.
For example, the string:
gives on the left table:
The left display contains the list:
The right display contains the list:
More information about the Bio-soft