I dont know what I did wrong, but the summary field isnt working right. And when I checked out what the first "patternCount" field did, it is still only looking IN THAT SAME RECORD, NOT ACROSS ALL RECORDS AND ALL TEN FIELDS. Man, I must be really dense here...
I think if the "PatternCount" was doing what I needed, then I wouldnt need the summary.
Essentially, to restate the problem... I have 223 records in a file, all of which have ten text fields named Protein1, Protein2... Protein10. Each position in every record is either entirely blank, or has a gene name in it (the letters CG followed by several numbers). In each each, I want to create a new field corresponding to each of the ten gene fields which checks how many times the gene in say the Protein1 field occurs not only in the other nine ProteinX fields of THAT RECORD, but in all TEN ProteinX fields of the other 222 records. Essentially, I want to know how many times each and every gene occurs in the file, regardless of which position it appears in (Protein1-10). Thus, when I am looking at Record 134 for example, I want to see the gene names in the PrteinX fields, and how many times that gene occurs in the entire file (223 records) next to it in the "ProteinX_count" field. I have attached my work thus far, so you can look at it if you choose.
Sorry i am a novice here guys.
KYLE
FlyWork.zip