[BioRuby] Multi Fasta Sequence file to Genbank conversion..
adamnkraut at gmail.com
Thu Sep 4 23:13:25 UTC 2008
I've never used the genbank format, but in Bioruby you could try:
fasta = Alignment::MultiFastaFormat.new(File.open('my.fasta').read)
fasta.entries.each do |seq|
The only tricky part is perhaps is the to_seq call for a Bio::Sequence
object which has different output format methods.
On Thu, Sep 4, 2008 at 10:53 AM, Sharvari Gujja <sgujja at broad.mit.edu>wrote:
> I am trying to convert a multi fasta sequence file (nucleotide/protein) to
> genbank format.Is there a way to do this using Bioruby?
> Appreciate any input/suggestions.
> BioRuby mailing list
> BioRuby at lists.open-bio.org
More information about the BioRuby