2 # The Great Computer Language Shootout
\r
3 # http://shootout.alioth.debian.org/
\r
5 # Contributed by Peter Bjarke Olsen
\r
6 # Modified by Doug King
\r
11 seq.reverse!.tr!('wsatugcyrkmbdhvnATUGCYRKMBDHVN','WSTAACGRYMKVHDBNTAACGRYMKVHDBN')
\r
12 stringlen=seq.length
\r
13 0.step(stringlen-1,60) {|x| print seq.slice(x,60) , "\n"}
\r
16 input = open(File.join(File.dirname($0), 'fasta.output.2500000'), 'rb')
\r