See also altloc.txt See also conformation-tests.txt JSMOL: scripts.js Not just *.ca, *.p: ~mainChainAtomsBitset = {(protein and (*.n,*.ca,*.c)) or (nucleic and (*.p,*.o3\',*.o5\',*.c3\',*.c4\',*.c5\'))} ~cfg2ForkedBBBitset = {~mainChainAtomsBitset and config=2 and not config=1} ~bbforks2 = {~cfg2ForkedBBBitset and (*.ca or *.p)}; util.js ~altlocNlist (N = 1-5) renderForks() is a JSMOL function, typically added to rendering scripts if (preferenceDetails). It renders the thin backbone between main chain atoms and stars on *.ca, *.p. JSMOL forkSpt in scripts.js defines ~cfg1ForkedBBBitset (main chain atoms config1 and not config2) and 2 vice versa ~bbforks1 bitset *.ca and *.p only config1 and not config2 and 2 vice versa ~bbforks bitset both configs 1,2 *.ca and *.p only getForkDevs(mode) in util.js gets min av max BB altloc deviations, sets ~bbForksBool T/F, and populates devlistp, devlistn, devsump, devsumn. ------------------------------------------------------------- JAVASCRIPT: top.js bbForks gets set by setBBForks() (which uses JSMOL getForkDevs(mode)) OBSOLETE: bbForks = (jmolEvaluate("{~cfg2ForkedBBBitset}.count") > 0); var altlocBBDeviationSummaryProtein = ""; // populated by JSMOL getForkDevs("p"). var altlocBBDeviationSummaryNucleic = ""; // populated by JSMOL getForkDevs("n"). alertForks() and forksAlerted. -------------------------------------------------------------- First plan for 4.2 was whether ANY mainchain atoms have >= 2 configs.