From 7259c417c2076e5bbe5d9952cf8397eed6c7e7ce Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Tue, 1 Mar 2011 19:21:31 +0000 Subject: [PATCH] Edited wiki page PhyloBioRuby through web user interface. --- wiki/PhyloBioRuby.wiki | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/wiki/PhyloBioRuby.wiki b/wiki/PhyloBioRuby.wiki index b9d4157..ef6955a 100644 --- a/wiki/PhyloBioRuby.wiki +++ b/wiki/PhyloBioRuby.wiki @@ -80,6 +80,26 @@ f.write(align.output(:phylipnon)) }}} +== Formats for individual sequences == + +_... to be done_ + +!BioRuby can format molecular sequences in a variety of formats. +Individual sequences can be formatted to (e.g.) Genbank format as shown in the following examples. + +For Sequence objects: +{{{ +seq.to_seq.output(:genbank) +}}} + +For !Bio::FlatFile entries: +{{{ +entry.to_biosequence.output(:genbank) +}}} + +Constants for available formats are: + * Genbank :genbank + == Calculating Multiple Sequence Alignments == -- 1.7.10.2