Advertisement
Guest User

Untitled

a guest
May 30th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. 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