git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
in progress
[jalview.git]
/
forester
/
ruby
/
scripts
/
bioruby_examples
/
msa_1.rb
diff --git
a/forester/ruby/scripts/bioruby_examples/msa_1.rb
b/forester/ruby/scripts/bioruby_examples/msa_1.rb
index
79b7005
..
92a4acf
100644
(file)
--- a/
forester/ruby/scripts/bioruby_examples/msa_1.rb
+++ b/
forester/ruby/scripts/bioruby_examples/msa_1.rb
@@
-1,4
+1,3
@@
-require 'rubygems'
require 'bio'
seq_ary = Array.new
@@
-13,6
+12,8
@@
end
# Creates a multiple sequence alignment (possibly unaligned) named
# 'seqs' from array 'seq_ary'.
seqs = Bio::Alignment.new( seq_ary )
+
+
seqs.each { |seq| puts seq.to_s }