
derrick0285
Novice
Sep 23, 2011, 3:45 PM
Post #1 of 1
(8582 views)
|
I have a file that looks like below named CGcomp.txt. I need a program that reads the columns (reads down) the file and sums up the C's and G's. If you can at least tell me how to make it read down, OR or give me something that gives what position the C or G can be found on the line of the text, that works just as well. Thanks! CGAAATTTTCGATGATNGCGCATTTCTCCGNNNNNN AGATGAGGTGCCAGCCNAAGAGGAGGAAATNNNNNN AACACATCAACCACTCNAAGTGCCGTCAAGNNNNNN CCCGTTTCCGTCATGGNCGACTTCTGCGACNNNNNN CATTCGTACTGCGGCGACAGAGGTGAAATTCNNNNN CATCGATTTCCAAAGGTTTGATACGGAAGGANNNNN GAAAAAGAAGGCCAAAAAGAAGGCGGAGTTANNNNN GTCGGATTCCCCTGGATCGTGCCAGTTCTGANNNNN GTCTTGTCTGCCGGTTTGTCGCTGGCCGGCGNNNNN GTGAACGCCATCAACCCCGATCCCAACGAACNNNNN
|