import textwrap


def mutations( seqID='A' ):  # pragma: no cover
    """RosettaScript to execute a
    `RESFILE <https://www.rosettacommons.org/docs/latest/rosetta_basics/file_types/resfiles>`_.

    :param str seqID: |seqID_param|

    :return: :class:`str`

    .. seealso::
        :func:`.DesignFrame.apply_resfile`

    .. rubric:: Example

    .. ipython::

        In [1]: from rstoolbox.utils import mutations
           ...: print(mutations())
    """
    return textwrap.dedent("""\
    <ROSETTASCRIPTS>
        <TASKOPERATIONS>
            <ReadResfile name="targets" filename="%%resfile%%"/>
        </TASKOPERATIONS>
        <MOVERS>
            <PackRotamersMover name="packrot" task_operations="targets" />
            <AddJobPairData name="annotate" value_type="string"
                            key="resfile_{}" value="%%resfile%%" />
        </MOVERS>
        <PROTOCOLS>
            <Add mover="packrot" />
            <Add mover="annotate" />
        </PROTOCOLS>
    </ROSETTASCRIPTS>
    """).format(seqID)