Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File.read('rosalind_dna.txt').chomp.chars.each_with_object(%w{A C G T}.zip([0].cycle).to_h) { |c, h| h[c] += 1 }.values
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement