def mfdca_param_metadata(mfdca_instance):
    """Generates a list of mean field DCA metadata that can be added as
    an output file header.

    Parameters
    ----------
        mfdca_instance : MeanfieldDCA
            An instance of MeanFieldDCA class.

    Returns
    -------
        metadata : list
            A list of metadata related to DCA parameters used.
    """
    metadata = [
        '# PARAMETERS USED FOR THIS COMPUTATION: ',
        '#      Sequence type: {}'.format(mfdca_instance.biomolecule),
        '#      Total number of sequences in alignment data: {}'.format(
            mfdca_instance.num_sequences),
        '#      Length of sequences in alignment data: {}'.format(
            mfdca_instance.sequences_len),
        '#      Effective number of sequences: {}'.format(
            mfdca_instance.effective_num_sequences),
        '#      Value of sequence identity: {}'.format(
            mfdca_instance.sequence_identity),
        '#      Value of relative pseudocount: {}'.format(
            mfdca_instance.pseudocount),
    ]
    return metadata