From: cmzmasek@gmail.com Date: Sat, 26 Mar 2011 06:11:09 +0000 (+0000) Subject: Edited wiki page PhyloBioRuby through web user interface. X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3b13b835acf5bc4ed44cf28682a846e748f9b46b;p=jalview.git Edited wiki page PhyloBioRuby through web user interface. --- diff --git a/wiki/PhyloBioRuby.wiki b/wiki/PhyloBioRuby.wiki index 0bd30f5..a3be960 100644 --- a/wiki/PhyloBioRuby.wiki +++ b/wiki/PhyloBioRuby.wiki @@ -23,6 +23,16 @@ Copyright (C) 2011 Christian M Zmasek. All rights reserved. === Reading in a Multiple Sequence Alignment from a File === +This automatically determines the format +{{{ +ff = Bio::FlatFile.auto('bcl2.fasta') +ff.each_entry do |entry| + puts entry.entry_id # identifier of the entry + puts entry.definition # definition of the entry + puts entry.seq # sequence data of the entry +end +}}} + ==== ClustalW Format ==== The following example shows how to read in a *ClustalW*-formatted multiple sequence alignment.