Close Menu
  • Breaking News
  • Business
  • Career
  • Sports
  • Climate
  • Science
    • Tech
  • Culture
  • Health
  • Lifestyle
  • Facebook
  • Instagram
  • TikTok
Categories
  • Breaking News (6,093)
  • Business (339)
  • Career (5,063)
  • Climate (231)
  • Culture (5,020)
  • Education (5,320)
  • Finance (239)
  • Health (917)
  • Lifestyle (4,790)
  • Science (5,004)
  • Sports (366)
  • Tech (190)
  • Uncategorized (1)
Hand Picked

Antigo Daily JournalTFT applications open for career weekEAGLE RIVER — Trees For Tomorrow (TFT), an environmental education center, announced its 60th annual Natural Resources Careers Exploration….4 hours ago

January 26, 2026

Doug Hancock ‘Riders of the Buffalo Nations’ – A Photobook Celebrating Contemporary First Nations Youth Culture   – News

January 26, 2026

Headlines from across the state: AG Jones searches for higher education counsel to halt ‘politically motivated assaults’ on Virginia colleges; more …

January 26, 2026

USA Rare Earth shares jump 20% as Commerce Department takes equity stake

January 26, 2026
Facebook X (Twitter) Instagram
  • About us
  • Contact us
  • Disclaimer
  • Privacy Policy
  • Terms and services
Facebook X (Twitter) Instagram
onlyfacts24
  • Breaking News

    USA Rare Earth shares jump 20% as Commerce Department takes equity stake

    January 26, 2026

    Former ICE agent warns police-ICE non-cooperation Is a ‘formula for disaster’

    January 26, 2026

    Iraq’s Kataib Hezbollah warns of ‘total war’ if Iran is attacked | Conflict News

    January 26, 2026

    Natural gas prices hit $6 as Winter Storm Fern brings extreme cold

    January 26, 2026

    Kristen Stewart considers leaving US due to Donald Trump presidency

    January 26, 2026
  • Business

    How to Track Social Media Trends

    January 23, 2026

    Music Business 104 Wraps Fourth Edition With Global Growth

    January 22, 2026

    Starting a local business topic of Jan. 29 workshop in Gulf Shores & Orange Beach

    January 20, 2026

    Greenland expected to be a hot topic as President Trump meets with global business leaders

    January 20, 2026

    NZ First Impressions: NZIER survey of business opinion December quarter 2025

    January 13, 2026
  • Career

    Antigo Daily JournalTFT applications open for career weekEAGLE RIVER — Trees For Tomorrow (TFT), an environmental education center, announced its 60th annual Natural Resources Careers Exploration….4 hours ago

    January 26, 2026

    NFC championship: Seahawks ride late fourth-down stop, career game from Sam Darnold past Rams into Super Bowl

    January 26, 2026

    Lions partner with Enterprise Mobility for launch of Career Closet

    January 26, 2026

    IDOE funds career coaching with $15M grant for Indiana students | News

    January 26, 2026

    Polk County Itemizer-ObserverWOU selects Michelle Strowbridge as career center directorMichelle Strowbridge has been named as the new Director of the Center for Professional Pathways, which is the career center at Western….3 hours ago

    January 26, 2026
  • Sports

    Madison Square Garden | concerts, sports, entertainment

    January 21, 2026

    New Bay City schools superintendent Grant Hegenauer tackles sports-topic Q&A

    January 21, 2026

    Catch rule could become a hot topic in 2026 offseason

    January 20, 2026

    Protests, State House activity, high school sports topic of central Maine week in photos

    January 16, 2026

    Figure skating | Olympics, Jumps, Moves, History, & Competitions

    January 16, 2026
  • Climate

    PA Environment & Energy Articles & NewsClips By Topic

    January 26, 2026

    PA Environment Digest BlogStories You May Have Missed Last Week: PA Environment & Energy Articles & NewsClips By TopicPA Environment Digest Puts Links To The Best Environment & Energy Articles and NewsClips From Last Week Here By Topic–..1 day ago

    January 18, 2026

    The Providence JournalWill the environment be a big topic during the legislative session? What to expectEnvironmental advocates are grappling with how to meet the state's coming climate goals..1 day ago

    January 13, 2026

    New Updates To California’s Climate Disclosure Laws – Climate Change

    January 6, 2026

    PA Environment & Energy Articles & NewsClips By Topic

    January 6, 2026
  • Science
    1. Tech
    2. View All

    EU researchers are increasingly publishing on tech topics with China • Table.Briefings

    January 9, 2026

    CES 2026 trends to watch: 5 biggest topics we’re expecting at the world’s biggest tech show

    January 1, 2026

    turbulent year for end-device and downstream applications

    January 1, 2026

    a year of strategic realignment for global semiconductors

    December 30, 2025

    A Red and Green Sky Over Europe? NASA’s Photo From Space Shows the Full Spectacle

    January 26, 2026

    James Webb telescope peers into ‘Eye of God’ and finds clues to life’s origins — Space photo of the week

    January 26, 2026

    Scientists Identify Brain Waves That Define The Limits of ‘You’ : ScienceAlert

    January 26, 2026

    SpaceX launches 25 Starlink satellites to polar, low Earth orbit – Spaceflight Now

    January 26, 2026
  • Culture

    Doug Hancock ‘Riders of the Buffalo Nations’ – A Photobook Celebrating Contemporary First Nations Youth Culture   – News

    January 26, 2026

    Fire & Ash’ atop the box office on snow-blanketed weekend in theaters

    January 26, 2026

    Bias against working class should be illegal, culture review says

    January 26, 2026

    Antebellum Liberty Hall preserves Alabama culture, values in form of bed and breakfast

    January 26, 2026

    ‘Italian American Future Leaders’ Convenes National Delegation as Cultural Movement Gains Momentum

    January 26, 2026
  • Health

    Speech & Debate: “Health Insurance” to be 2026-27 National High School Policy Debate Topic

    January 23, 2026

    Hidden mental health burden on America’s agricultural heartland topic at FHSU Feb. 5

    January 23, 2026

    Reportable Medical Events at Military Health System Facilities Through Week 14, Ending April 5, 2025

    January 22, 2026

    Mpox – Southern Nevada Health District

    January 21, 2026

    Google AI Overviews cite YouTube most often for health topics: Study

    January 20, 2026
  • Lifestyle
Contact
onlyfacts24
Home»Science»Creating 3D Protein Structure Networks Using Python and the RING Server: Part 1 | by David Foutch | Oct, 2024
Science

Creating 3D Protein Structure Networks Using Python and the RING Server: Part 1 | by David Foutch | Oct, 2024

October 8, 2024No Comments
Facebook Twitter Pinterest LinkedIn Tumblr Email
1wt9fmmklvqtsduxngm0zsa.jpeg
Share
Facebook Twitter LinkedIn Pinterest Email

Generating insights into protein function

David Foutch

Towards Data Science

Image generated using OpenArt

Part of communicating the significance of your research is having figures that tell your story. Coding allows the investigator the opportunity to create applications that not only facilitate research, but generate figures that tell a unique story. The intention of this blog is to make code available that I have collected over the years which I have found to help me to tell better stories. I hope that others will not only be able to use the tools here to further their research, but to also tell really interesting stories in structural biology. The bottom line for me is that even if it isn’t as useful as I might hope, it is still a lot of fun to play around with!

Parsing PDB Files with Biopython

When creating protein structure network (PSN) visualizations, I typically begin by extracting key components from the Protein Data Bank (PDB) structure file using PDBParser from the Biopython package. For clarification, the PDB archive is a publicly accessible database that stores 3D structural data of biological molecules, such as proteins and nucleic acids, for use in scientific research and education. For the purpose of demonstration I am using the PDB structure 4PLD which is a human liver receptor homolog (LRH-1). It is worth noting that the workflow presented here is based on research conducted as part of a drug screening study on LRH-1. Note that you will need to update the line pdb_file = '7tt8.pdb'to match the path where your PDB file is stored.

If you’re using a Jupyter Notebook, running this snippet should produce the following output:

This creates a Pandas DataFrame that contains basic atomic information from the crystal structure. To create a 3D network representation of the 4PLD protein structure, we need extract key information from the PDB file. When constructing PSNs I prefer to combine the residue number and name for each node so that on visual inspection the researcher can ‘get a feel’ for how the primary sequence structure is mapped to the network topology. In PSNs each residue is represented as a node. As a rule, I limit the network to chain A and only include C-alpha atoms. Therefore, each residue is represented by that residue’s C-alpha atom and corresponding x,y,z coordinates. The C-alpha coordinates are extracted as node features to construct the 3D network. It’s an exciting and insightful process!

Creating PSNs Using the Residue Interaction Network Generator

The Residue Interaction Network Generator (RING) is an online server that transforms protein structures into network representations. As mentioned earlier, residues are treated as nodes and interactions between them as edges. Generally, an interaction is interpreted in terms of proximity, i.e., Euclidean distances. However, other types of interactions are included, such as hydrogen bonds, salt bridges (ionic bonds), π-π stacking and van der Waals. The RING helps visualize and quantify the topological, or structural, features that emerges from residue-residue interaction network. Quantifying these structural features allows researchers to ask questions about functional hot spots, potential allosteric sites, and signaling pathways which may advance our understanding of protein dynamics and contribute to computational drug repurposing.

There are other methods for generating PSNs — residue-residue interactions. However, the RING server has been peer-reviewed and provides detailed documentation on how edges are calculated and what defines a connection. Below is a screenshot of a typical configuration I use for generating PSNs. I generally select parameters that I think are maximize edge inclusion. The RING server allows you to either retrieve a structure file from the PDB archive or upload a local file, which is what I have done in this case.

RING web server interface

Once the server is finished with its computations, you’ll see an output similar to the screenshot below. Rather than going through the details of the results here, I encourage readers to explore the RING server and become familiar with its output by simply tinkering around. There are three three files that are generated for download: a .cif_ringNodes, a .cif_ringEdges, and a .json file, which contain everything needed to build either a 2D or 3D network. The entire 3D network, including x,y,z coordinates, is contained in the .json file. In a separate post, I will demonstrate how to read the .json file and plot the 3D network using Plotly. Again, the reason I extract coordinates from the PDB file, rather than the coordinates available in the .json file, is to ensure that the edges between residues map to the C-alpha atoms. It is a convention that structural biologists easily recognize and understand.

RING server results

Next, we will import the .cif_ringEdges file downloaded from the RING server into a Pandas DataFrame, and then merge the residue-residue interactions (edges) with the C-alpha atom coordinates from the PDB file.

This should produce a data frame with ‘source’ and ‘target’ node columns, followed by the corresponding x, y, z coordinates for both the ‘source’ and ‘target’ nodes, similar to the example shown below.

Lastly, with the Plotly and NetworkX libraries, we can create a script to generate an interactive 3D network visualization.

Observe that the code creates a Networkx graph object from the edgelist_7tt8_coords data frame. Please, note that the graph object isn’t necessary to create the 3D network visualization. This code snippet is included for a future post, where the graph object will be used to calculate various measures of centrality which will be mapped to the network’s visual features. The data frame is parsed using standard Python operations. Coordinates for each residue are extracted and with duplicate nodes being removed. Each residue is linked to a text marker in the 3D plot displaying a residue names and sequence position label. Hover labels are also assigned, but note that the label information is redundant. This information was left as a place holder. In a future post I will demonstrate how the hover label can be used to annotate the network with other information such as centrality score, evolutionary conservation score, or links to other databases. The Plotly figure is easily customizable with figure title, axis grids, and node and edge properties. The result is an interactive 3D network that allows users to explore the relationships between residues in any PSN. Images of the 7TT8 PSN are displayed below.

3D protein structure network using Plotly

There’s a lot more we can do with this figure. We can enhance it by adding widgets that dynamically resize nodes based on different centrality measures, or include biological and analytical annotations in the hover information. I’ll explore these enhancements in a future post. You can find the Jupyter Notebook for this exercise on GitHub. If you have any questions, feel free to contact me at LastCodeBender42@gmail.com.

Unless otherwise noted, all images are created by the author.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

A Red and Green Sky Over Europe? NASA’s Photo From Space Shows the Full Spectacle

January 26, 2026

James Webb telescope peers into ‘Eye of God’ and finds clues to life’s origins — Space photo of the week

January 26, 2026

Scientists Identify Brain Waves That Define The Limits of ‘You’ : ScienceAlert

January 26, 2026

SpaceX launches 25 Starlink satellites to polar, low Earth orbit – Spaceflight Now

January 26, 2026
Add A Comment
Leave A Reply Cancel Reply

Latest Posts

Antigo Daily JournalTFT applications open for career weekEAGLE RIVER — Trees For Tomorrow (TFT), an environmental education center, announced its 60th annual Natural Resources Careers Exploration….4 hours ago

January 26, 2026

Doug Hancock ‘Riders of the Buffalo Nations’ – A Photobook Celebrating Contemporary First Nations Youth Culture   – News

January 26, 2026

Headlines from across the state: AG Jones searches for higher education counsel to halt ‘politically motivated assaults’ on Virginia colleges; more …

January 26, 2026

USA Rare Earth shares jump 20% as Commerce Department takes equity stake

January 26, 2026
News
  • Breaking News (6,093)
  • Business (339)
  • Career (5,063)
  • Climate (231)
  • Culture (5,020)
  • Education (5,320)
  • Finance (239)
  • Health (917)
  • Lifestyle (4,790)
  • Science (5,004)
  • Sports (366)
  • Tech (190)
  • Uncategorized (1)

Subscribe to Updates

Get the latest news from onlyfacts24.

Follow Us
  • Facebook
  • Instagram
  • TikTok

Subscribe to Updates

Get the latest news from ONlyfacts24.

News
  • Breaking News (6,093)
  • Business (339)
  • Career (5,063)
  • Climate (231)
  • Culture (5,020)
  • Education (5,320)
  • Finance (239)
  • Health (917)
  • Lifestyle (4,790)
  • Science (5,004)
  • Sports (366)
  • Tech (190)
  • Uncategorized (1)
Facebook Instagram TikTok
  • About us
  • Contact us
  • Disclaimer
  • Privacy Policy
  • Terms and services
© 2026 Designed by onlyfacts24

Type above and press Enter to search. Press Esc to cancel.