* [spin], [quality], [labels] are toggles. [labels] only applies if there are initial labels in the model.
* [popup] is a push button that opens a medium size, resizable window with a duplicate of the model.
* [resize] are 2 push buttons that change by steps dimensions of the JSmol panel.
* [load full] is only visible and active when a simplified model was loaded.
* In the case of multimodel files, a toggle is displayed to alternate between first model and all models, and a second toggle to activate or stop animation across the models.
Revision as of 21:13, 25 September 2024
Development August-Sept. 2024Development August-Sept. 2024
Update of initialview script for seeded pages.
Combined initialview01.spt, initialview02.spt, initialview02v4.spt into a single initialview03.spt
Hardcoded calls to initialview01.spt are kept, but initialview01.spt is now a duplicate of initialview03.spt
Modularisation of initialview contents by creating several functions.
Fixed the rendering of multimodel files (which had been broken at some previous stage)
Introduced conditionalLoad function for deciding to skip simplified view, based on molecular weight of biological unit (all models added, in case of multimodel files). Cutoff set inside the function (currently 200 kDa)
Data to detect ca_p_only, number of models and MW are retrieved from PDBe REST API and stored in a Jmol variable pdb_features.
Many utility functions combined into functions.spt (including conditionalLoad)
General review of dealing with all cases:
Files that have only Calpha and P coordinates vs. normal all-atom models.
Files with one or more models (not just NMR, also other exp.methods).
Loaded as simplified or as full.
Special cases like very few residues.
Need to display [load full] button only in relevant cases.
New buttons [model 1][all models] in relevant cases. All models are displayed by default.
Review of ConSurf coloring on/off scripts to be valid for all cases considering the revision in loading and display scripts.
Pending:
Apply similar renderings to files that do not match the data at PDBe. Right now, they get a basic rendering (shortScript) that, for example, does not offer alternative displays for multimodel files.
Some examples: MET.pdb, 8XH1.pdb, 1crn_test.pdb, 1nns_box_251-253.pdb, UPL8H1D.pdb (10 models)
Flowchart of loading and initialviewFlowchart of loading and initialview
[spin], [quality], [labels] are toggles. [labels] only applies if there are initial labels in the model.
[popup] is a push button that opens a medium size, resizable window with a duplicate of the model.
[resize] are 2 push buttons that change by steps dimensions of the JSmol panel.
[load full] is only visible and active when a simplified model was loaded.
In the case of multimodel files, a toggle is displayed to alternate between first model and all models, and a second toggle to activate or stop animation across the models.
Proteopedia Page Contributors and Editors (what is this?)Proteopedia Page Contributors and Editors (what is this?)