[BioRuby] Non deprecated way of converting a naseq to fasta?

Andrew Grimm andrew.j.grimm at gmail.com
Thu May 7 07:31:26 UTC 2009


The documentation for Bio::Sequence::Common talks about #to_fasta being
deprecated, in favor of Bio::Sequence #output instead. #output seems to work
for Bio::Sequence objects, but not for Bio::Sequence::NA or
Bio::Sequence::AA objects.

I can happily create a new FastaFormat object instead, but I'm wondering if
I'm doing it the right way.

Also, the wiki is still suggesting using to_fasta in some of its code
samples.

Thanks,

Andrew Grimm



More information about the BioRuby mailing list