.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEReadFASTAFile

.. oe:function:: OEReadFASTAFile

   .. oe:language:: c++ java csharp

      .. oe:api::

         bool OEReadFASTAFile(oemolistream& ifs, OEMolBase& mol,
                              bool customResidues = false,
                              bool embeddedSmiles = false)

   .. oe:language:: python

      .. oe:api:: python

         OEReadFASTAFile(ifs: oemolistream,
                         mol: Union[OEGraphMol,OEMol,OEQMol],
                         customResidues: bool = False,
                         embeddedSmiles: bool = False) -> bool

   Reads the contents of a FASTA sequence file into the specified
   :ref:`OEMolBase <OEChem_OEMolBase>`.  The amino acid residues of the sequence
   file are automatically expanded to an all atom representation.

