Hi
Have just solved this problem in the Perl forum - but i think it would be ideal to crack this problem with an awk script
Basically need to count the number of times A, C, T & G appear in each of the columns
sample data:-
ACGTGACC
TGCAGATT
TAGTTTGA
TTTTCAAA
GACTTCAG
CCAGTTTA
TTACTTTG
TGCCGCGT
TCACGGCG
AGTCGTCA
CCCTAATT
CATTAGCG
TGGTTAAT
TGGGTTAC
GACTACCC
TAGCGCTG
TACTGTTC
AGTGAGCC
Can anyone help?
Have just solved this problem in the Perl forum - but i think it would be ideal to crack this problem with an awk script
Basically need to count the number of times A, C, T & G appear in each of the columns
sample data:-
ACGTGACC
TGCAGATT
TAGTTTGA
TTTTCAAA
GACTTCAG
CCAGTTTA
TTACTTTG
TGCCGCGT
TCACGGCG
AGTCGTCA
CCCTAATT
CATTAGCG
TGGTTAAT
TGGGTTAC
GACTACCC
TAGCGCTG
TACTGTTC
AGTGAGCC
Can anyone help?