#next FASTA_RECORD if $fasta_seen{ $para }++;
if ( $fasta_seen{ $para }++ ){
print "DUPLICATE : $name \n $para\n";
next FASTA_RECORD;
}
poj | [reply] [d/l] |
Hi Poj,
Can I get your email ID if that's okay with you? I can send you the complete script and you can help me with my struggle.
| [reply] |
| [reply] |
I posted the test file and the script in the scratchpad. Again thanks for everything Poj. I really appreciate your effort.
| [reply] |
Hi Poj,
When I made the modifications that you suggested, for some reason, it mucked up the entire script. It started giving me errors like:
Use of uninitialized value $lowest in printf at poj_repeat.pl line 60, <$PROTFILE> chunk 2.
Use of uninitialized value $lowest in numeric eq (==) at poj_repeat.pl line 61, <$PROTFILE> chunk 2.
Use of uninitialized value in numeric eq (==) at poj_repeat.pl line 61, <$PROTFILE> chunk 2.
Can you help me with this?
Use of uninitialized value in concatenation (.) or string at poj_repeat.pl line 62, <$PROTFILE> chunk 2.
Missing argument in printf at poj_repeat.pl line 67, <$PROTFILE> chunk 2.
Missing argument in printf at poj_repeat.pl line 67, <$PROTFILE> chunk 2
| [reply] |
#next FASTA_RECORD if $fasta_seen{ $para }++;
poj | [reply] [d/l] |
Hi,
Yes, I did. I actually forgot to put a semicolon. Lol. Nevermind.
| [reply] |