Thanks for the help, everyone. I am currently reading about how to turn my friendoffriend.pl script into a module. I want to keep this script as a separate file, rather than making it a subroutine within the calling program, so that I can use frinedoffriend.pl on its own. If anyone know of a good tutorial for converting perl scripts in a module, please let me know.
In regards to the query:
friendoffriend.pl is used to cluster data in the AllJoinRecip table, so given an input $seq, friendoffriend.pl finds all of the other "nodes" that $seq can reach, either directly or indirectly. So once I've run the script on seqA and found that seqA, seqB, and seqC are all in a cluster, then I do not need or want to run the script on seqB and seqC. I want to find a cluster for each seq in AllJoinRecip, without duplicating clusters, where AllJoinRecip contains a bunch of one to one links. Does this description make sense? If anyone can think of other ways to do this, I would like to hear them.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.