def process_secmet_domain(st, dna, accession, proteinid):
    """
    Convert something that looks like this:
        "NRPS/PKS Domain: PKS_Docking_Nterm (4-31). E-value: 8.6e-08. Score: 22.9;"
        'NRPS/PKS Domain: AMP-binding (30-457). E-value: 1.8e-119. Score: 390.2;'
        "NRPS/PKS Domain: PKS_Docking_Nterm (4-31). E-value: 8.6e-08. Score: 22.9;"
        "NRPS/PKS Domain: PKS_KS (35-460). E-value: 3.1e-185. Score: 607.4;"
        "NRPS/PKS Domain: PKS_AT (570-867). E-value: 4.5e-105. Score: 342.5;"
        "NRPS/PKS Domain: PKS_KR (1132-1312). E-value: 1.7e-55. Score: 179.0;"
        "NRPS/PKS Domain: ACP (1425-1497). E-value: 9.5e-25. Score: 78.0;"
        "NRPS/PKS Domain: PKS_KS (1520-1946). E-value: 1.2e-180. Score: 592.2;"
        "NRPS/PKS Domain: PKS_AT (2056-2356). E-value: 4.3e-112. Score: 365.6;"

    Into:
        {'Domain': 'PKS_Docking_Nterm',
        'E-value': 8.6e-08,
        'Nucleotide_End': 93,
        'Nucleotide_Start': 10,
        'Protein_End': 31,
        'Protein_start': 4,
        'Score': 22.9}

    """
    fulldomain = st.split('Domain:')[1].split('.')[0]
    domain = fulldomain.split('(')[0].strip()
    start = int(fulldomain.split(')')[0].split('(')[1].split('-')[0])
    end = int(fulldomain.split(')')[0].split('(')[1].split('-')[1])
    evalue = float(st.split('E-value:')[1].split('. Score:')[0].strip())
    score = float(st.split('Score:')[1].strip()[:-1])
    return {'Accession': accession, 'Protein_ID': proteinid, 'Domain':
        domain, 'Protein_start': start, 'Nucleotide_Start': start * 3 - 2,
        'Protein_End': end, 'Nucleotide_End': end * 3, 'E_value': evalue,
        'Score': score, 'DNA_Sequence': dna[start * 3 - 2:end * 3]}
