src/proteingnn/example/data.py
def _log2en_rcsb_mismatch(log2en: pd.DataFrame, seqrec_wt: Iterable) -> List[int]:
    """Find resid mismatch between log2en csv and rcsb fasta."""
    mismatch_resid = []
    for resid, (aa1, aa2) in enumerate(zip(seqrec_wt, log2en.wtAA), 1):
        if aa1 != aa2:
            mismatch_resid.append(resid)

    return mismatch_resid
Find resid mismatch between log2en csv and rcsb fasta.
Find resid mismatch between log2en csv and rcsb fasta.
Find resid mismatch between log2en csv and rcsb fasta .
def _log2en_rcsb_mismatch(log2en: pd.DataFrame, seqrec_wt: Iterable) -> List[int]:
    mismatch_resid = []
    for resid, (aa1, aa2) in enumerate(zip(seqrec_wt, log2en.wtAA), 1):
        if aa1 != aa2:
            mismatch_resid.append(resid)
    return mismatch_resid
def _log2en_rcsb_mismatch ( log2en : pd . DataFrame , seqrec_wt : Iterable ) -> List [ int ] : mismatch_resid = [ ] for resid , ( aa1 , aa2 ) in enumerate ( zip ( seqrec_wt , log2en . wtAA ) , 1 ) : if aa1 != aa2 : mismatch_resid . append ( resid ) return mismatch_resid
Find resid mismatch between log2en csv and rcsb fasta.
Find resid mismatch between log2en csv and rcsb fasta .
"""Find resid mismatch between log2en csv and rcsb fasta."""
log2en
pd.DataFrame
seqrec_wt
Iterable