def calcHomodimer(seq, mv_conc=<NUM_LIT:50>, dv_conc=<NUM_LIT:0>, dntp_conc=<NUM_LIT>, dna_conc=<NUM_LIT:50>,<EOL>temp_c=<NUM_LIT>, max_loop=<NUM_LIT:30>):
_setThermoArgs(**locals())<EOL>return _THERMO_ANALYSIS.calcHomodimer(seq).checkExc()<EOL>
Calculate the homodimerization thermodynamics of a DNA sequence.

    **Note that the maximum length of ``seq`` is 60 bp.** This is a cap imposed
    by Primer3 as the longest reasonable sequence length for which
    a two-state NN model produces reliable results (see
    primer3/src/libnano/thal.h:50).

    Args:
        seq (str)                       : DNA sequence to analyze for homodimer
                                          formation calculations

        mv_conc (float/int, optional)   : Monovalent cation conc. (mM)
        dv_conc (float/int, optional)   : Divalent cation conc. (mM)
        dntp_conc (float/int, optional) : dNTP conc. (mM)
        dna_conc (float/int, optional)  : DNA conc. (nM)
        temp_c (int, optional)          : Simulation temperature for dG (C)
        max_loop (int, optional)        : Maximum size of loops in the
                                          structure

    Returns:
        A `ThermoResult` object with thermodynamic characteristics of the
        homodimer interaction.

    Raises:
        ``RuntimeError``