From ae054800741315647bb943ccc7a638206ad73f1a Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Sun, 27 Feb 2011 04:23:29 +0000 Subject: [PATCH] Edited wiki page PhyloBioRuby through web user interface. --- wiki/PhyloBioRuby.wiki | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wiki/PhyloBioRuby.wiki b/wiki/PhyloBioRuby.wiki index 856e7d5..80d1927 100644 --- a/wiki/PhyloBioRuby.wiki +++ b/wiki/PhyloBioRuby.wiki @@ -15,12 +15,16 @@ Tutorial for multiple sequence alignments and phylogenetic methods in !BioRuby - === Reading in a Multiple Sequence Alignment from a File === -_... to be done_ +Reading in a clustalw formatted multiple sequence alignment: {{{ #!/usr/bin/env ruby require 'bio' +# Reads in a clustalw formatted multiple sequence alignment +# from a file named "infile_clustalw.aln" and stores it in 'report'. +report = Bio::ClustalW::Report.new(File.read('infile_clustalw.aln')) + }}} -- 1.7.10.2