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 you have read our privacy policy.

Browse other questions tagged or ask your own question.