Skip to content

Instantly share code, notes, and snippets.

@michaelbarton
Created May 27, 2009 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelbarton/118654 to your computer and use it in GitHub Desktop.
Save michaelbarton/118654 to your computer and use it in GitHub Desktop.
require 'database'
gene = Gene.find(2)
gene.alignment_sequences.each do |a|
puts "#{a.species.letter}#{gene.name} #{a.protein}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment