.. include:: ../substitutions

.. oe:namespace:: OEBio

.. meta::
   :keywords: OEWriteAlignment

.. oe:function:: OEWriteAlignment

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

      .. oe:api::

         bool OEWriteAlignment(OEPlatform::oeostream& os,
                               const OESequenceAlignment& align,
                               unsigned int width = 50)

   .. oe:language:: python

      .. oe:api:: python

         OEWriteAlignment(ofs: oeostream, align: OESequenceAlignment,
                          width: int = 50) -> bool

   Generates a version of the standard formatted text
   representation of sequence alignments.

   *os*
      The stream into which the sequence alignment is being written.

   *align*
      The :ref:`OESequenceAlignment <OEBio_OESequenceAlignment>` object

   *width*
      The width of the output.
