http://www.perlmonks.org?node_id=1007824


in reply to Re: What is wrong in this code???
in thread What is wrong in this code???

Yes but where, can you tell me? I tried printing outside the loop, but printed statistics only for the last position (all sequences have the same number of letters, and I want to keep statistics for each position, but for all the sequences. So for example, since I have 200 sequences in my file, for position 56, I could have 150 A, 40 C, 25 G and 35 -.