How can I convert a sequence provided in a Microsoft doc file into a fasta or genbank format?
The CrazyDoc Python package can convert Genbank/Fasta/Snapgene/MSDoc sequences into Biopython records, which can be saved as Genbank or Fasta.
A web interface / demo is provided at EGF CUBA (Collection of Useful Biological Apps): Convert Sequence Files.
Disclaimer: I'm the current maintainer of CrazyDoc.
A fasta file is just in plain text format. Pandoc can convert
.docx format to plain text format:
pandoc -i input.docx -t plain >output.fasta