RCI¶
RCI¶
RCI
¶
RCI(shifts=None, sequence=None, first_resid=None, entry_id=None, entity_id=None, entry=None, neighbor_table='schwarzinger', algorithm='wishart')
Per-residue backbone flexibility from assigned chemical shifts. Pure
Python — no external binary, unlike :class:~makeshift.talosn.TalosN.
r = RCI.from_bmrb(4403)
r.run()
r.results # Seq_ID, Comp_ID, RCI, S2
Or, from a :class:~makeshift.chemshift.ChemicalShifts you already have,
in one step:
cs = ChemicalShifts.from_bmrb(4403, keep_download=True)
RCI.calc(cs).results
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
algorithm
|
(wishart, talosn)
|
Which calculation to run. |
'wishart'
|
neighbor_table
|
(schwarzinger, wang, schwartz_wang)
|
Which preceding/next-residue corrections to use; see
:data: |
'schwarzinger'
|
Source code in makeshift/rci/engine.py
calc
classmethod
¶
Build from a :class:ChemicalShifts, run, and return the populated
:class:RCI. The sequence comes from the ChemicalShifts' entry
unless sequence is passed.
Source code in makeshift/rci/engine.py
Lookup tables¶
get_rci_tables
¶
Lookup tables for the RCI (Random Coil Index) flexibility predictor.
neighbor_table selects which preceed/next-residue correction values
to use -- see RCI_NEIGHBOR_TABLES for the options and what they mean.
Each returned value is a DataFrame indexed by one-letter residue code
with columns [N, CO, CA, CB, NH, HA]; NaN marks an atom that has no
defined value for that residue (e.g. Gly CB, Pro N/NH).
Returns a dict with keys: random_coil, preceed_effect, next_effect, preceed_preceed_effect, next_next_effect.
Source code in makeshift/data/tables.py
get_talosn_rc_tables
¶
TALOS-N's own random-coil-adjustment tables (randcoil.tab, rcadj.tab, rcprev.tab, rcnext.tab, bundled with the TALOS-N binary) -- a different table system from RCI's own Schwarzinger tables above, used by TALOS-N's RCI-S2 module (RCI.cpp) to synthesize a value for atoms that were never observed (see makeshift.rci._talosn). Each is a DataFrame indexed by one-letter residue code (plus "c" for TALOS-N's own oxidized-Cys variant, its own >=34.0ppm CB threshold -- distinct from RCI's 35.0ppm one) with columns [N, CO, CA, CB, NH, HA]; NaN marks an atom with no defined value (Gly CB, Pro NH in randcoil only).
Returns a dict with keys: randcoil, rcadj, rcprev, rcnext.