I used


and then used the function


to find ORFs in the sequence of interest. But the former one results in a DNAbin class format and the latter one requires FASTA format.

Is there a function available to convert the sequence from DNAbin class format to FASTA format?

(I could think of directly downloading the FASTA format file and use the function.)

  • 1
    $\begingroup$ You should be able to use ape's write.dna() function to output fasta format sequences $\endgroup$
    – NatWH
    Sep 21, 2018 at 16:15


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.