Just a quick Ruby script to convert a genome to into boustrophedonic form, in case it ever comes up again.
n=0; File.open(‘genome.fasta’).map{|line| (n+=1).odd? ? line : line.reverse }
-
micahcoleman reblogged this from benjaminstein and added:
Sweet! I needed one of those!
-
benjaminstein posted this
Short URL for this post: http://tmblr.co/ZNQmbyCKxgr