As promised in half 1, this text will present a Python script for processing the .json textual content file generated as output by the Residue Interplay Community Generator (RING) after which plot the info as a 3D protein construction community (PSN) utilizing Plotly. In Half 1 we described intimately the workflow diagram proven beneath to generate a 3D PSN utilizing Python scripts to course of the RING generated json file. As a result of a lot of the code in Half 2 is analogous in construction to Half 1, the reader ought to really feel assured in merely copying and pasting the code right into a .py file and working the script — very simple. The json file proven right here may be generated utilizing the steps described in Half 1 or you may obtain the textual content file from GitHub. Since this text is on the quick aspect I’ll go into extra element as to what the code is doing. First, recall from half 1 that the .json
contact community file referenced on this story was generated within the pipeline diagrammed beneath: