Close Menu
  • Breaking News
  • Business
  • Career
  • Sports
  • Climate
  • Science
    • Tech
  • Culture
  • Health
  • Lifestyle
  • Facebook
  • Instagram
  • TikTok
Categories
  • Breaking News (5,021)
  • Business (312)
  • Career (4,259)
  • Climate (213)
  • Culture (4,226)
  • Education (4,442)
  • Finance (202)
  • Health (854)
  • Lifestyle (4,113)
  • Science (4,129)
  • Sports (311)
  • Tech (174)
  • Uncategorized (1)
Hand Picked

I’m Abigail Spanberger. This is why I want Virginia’s vote for governor.

October 28, 2025

Best New Bars in Hollywood

October 28, 2025

49ers.comDeommodore Lenoir Makes 7th-Career Interception; Stats and Facts from #SFvsHOUTake a look at key stats from the San Francisco 49ers Week 8 matchup vs. the Houston Texans..9 hours ago

October 28, 2025

ICOM & G20: Digital Tools for Cultural Protection and Promotion – International Council of Museums

October 28, 2025
Facebook X (Twitter) Instagram
  • About us
  • Contact us
  • Disclaimer
  • Privacy Policy
  • Terms and services
Facebook X (Twitter) Instagram
onlyfacts24
  • Breaking News

    I’m Abigail Spanberger. This is why I want Virginia’s vote for governor.

    October 28, 2025

    Venezuela suspends Trinidad and Tobago gas accord over US warship visit | Donald Trump News

    October 28, 2025

    We are all farmers hoping for the end of the U.S.-China trade war

    October 28, 2025

    Hannity announces he will host town hall with Jack Ciattarelli

    October 28, 2025

    Russia-Ukraine war: List of key events, day 1,342 | Russia-Ukraine war News

    October 28, 2025
  • Business

    Google Business Profile New Report Negative Review Extortion Scams

    October 23, 2025

    Land Topic is Everybody’s Business

    October 20, 2025

    Global Topic: Air India selects Panasonic Avionics’ Astrova for 34 widebody aircraft | Business Solutions | Products & Solutions | Topics

    October 19, 2025

    Business Engagement | IUCN

    October 14, 2025

    10 ways artificial intelligence is transforming operations management | IBM

    October 11, 2025
  • Career

    49ers.comDeommodore Lenoir Makes 7th-Career Interception; Stats and Facts from #SFvsHOUTake a look at key stats from the San Francisco 49ers Week 8 matchup vs. the Houston Texans..9 hours ago

    October 28, 2025

    Economics Alum Achieves Teaching Career in Higher Education

    October 28, 2025

    Tim McGraw reveals health setbacks nearly ended his career

    October 28, 2025

    Dodgers Catcher Credits Yankees Superstar for Helping His Career

    October 28, 2025

    Isaiah Davis News: Career-best outing in Week 8 win

    October 28, 2025
  • Sports

    Bye Week Off-Topic Thread – Yahoo Sports

    October 25, 2025

    This Thunder Rookie Guard Benefits from the Nikola Topic Injury

    October 23, 2025

    South Bend Topic Sports-betting | WSBT 22: News, Weather and Sports for Michiana

    October 21, 2025

    John Tesh’s iconic ‘Roundball Rock’ theme returns for NBA on NBC

    October 21, 2025

    YahooSergio Scariolo touched on the topic of European …Sergio Scariolo touched on the topic of European basketball and the NBA Europe project. “We don't have enough information..2 days ago

    October 21, 2025
  • Climate

    PA Environment & Energy Articles & NewsClips By Topic

    October 26, 2025

    important environmental topics 2024| Statista

    October 21, 2025

    World BankDevelopment TopicsProvide sustainable food systems, water, and economies for healthy people and a healthy planet. Agriculture · Agribusiness and Value Chains · Climate-Smart….2 days ago

    October 20, 2025

    PA Environment & Energy Articles & NewsClips By Topic

    October 17, 2025

    World Bank Group and the Intergovernmental Negotiating Committee on Plastic Pollution Process

    October 14, 2025
  • Science
    1. Tech
    2. View All

    It is a hot topic as Grok and DeepSeek overwhelmed big tech AI models such as ChatGPT and Gemini in ..

    October 24, 2025

    Countdown to the Tech.eu Summit London 2025: Key Topics, Speakers, and Opportunities

    October 23, 2025

    The High-Tech Agenda of the German government

    October 20, 2025

    Texas Tech Universities Ban Teaching About Transgender and Other Gender Topics

    October 19, 2025

    Where does the expanding Universe begin?

    October 28, 2025

    Bats in The US Can Glow Ghostly Green, And Scientists Have No Idea Why : ScienceAlert

    October 28, 2025

    Astrobotic delays Griffin-1 lander mission to mid-2026

    October 28, 2025

    How the Mayans were able to accurately predict solar eclipses for centuries

    October 28, 2025
  • Culture

    ICOM & G20: Digital Tools for Cultural Protection and Promotion – International Council of Museums

    October 28, 2025

    ‘Curious Conversations’ podcast: Shaily Patel talks about the cultural significance of ghosts | Virginia Tech News

    October 28, 2025

    Eleva Tu Camino encourages students to embrace culture and career growth | News

    October 28, 2025

    ‘Chainsaw Man’ anime film topples Springsteen biopic and ‘Black Phone 2’ at the box office

    October 28, 2025

    ‘Dr. IndigiNerd’ Lee Francis IV to share Native pop culture history at upcoming URI Humanities lecture – Rhody Today

    October 28, 2025
  • Health

    Breast Cancer Awareness Month 2025

    October 26, 2025

    Hampton: Community Encouraged To Attend November Los Alamos County Health Council Meeting

    October 24, 2025

    Health Insurance vs. Nuclear Weapons

    October 23, 2025

    Health Care Coverage For Seniors Topic Of West Hartford Forum

    October 20, 2025

    Mental health & finance topic for women @Bromley conference

    October 17, 2025
  • 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

Where does the expanding Universe begin?

October 28, 2025

Bats in The US Can Glow Ghostly Green, And Scientists Have No Idea Why : ScienceAlert

October 28, 2025

Astrobotic delays Griffin-1 lander mission to mid-2026

October 28, 2025

How the Mayans were able to accurately predict solar eclipses for centuries

October 28, 2025
Add A Comment
Leave A Reply Cancel Reply

Latest Posts

I’m Abigail Spanberger. This is why I want Virginia’s vote for governor.

October 28, 2025

Best New Bars in Hollywood

October 28, 2025

49ers.comDeommodore Lenoir Makes 7th-Career Interception; Stats and Facts from #SFvsHOUTake a look at key stats from the San Francisco 49ers Week 8 matchup vs. the Houston Texans..9 hours ago

October 28, 2025

ICOM & G20: Digital Tools for Cultural Protection and Promotion – International Council of Museums

October 28, 2025
News
  • Breaking News (5,021)
  • Business (312)
  • Career (4,259)
  • Climate (213)
  • Culture (4,226)
  • Education (4,442)
  • Finance (202)
  • Health (854)
  • Lifestyle (4,113)
  • Science (4,129)
  • Sports (311)
  • Tech (174)
  • 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 (5,021)
  • Business (312)
  • Career (4,259)
  • Climate (213)
  • Culture (4,226)
  • Education (4,442)
  • Finance (202)
  • Health (854)
  • Lifestyle (4,113)
  • Science (4,129)
  • Sports (311)
  • Tech (174)
  • Uncategorized (1)
Facebook Instagram TikTok
  • About us
  • Contact us
  • Disclaimer
  • Privacy Policy
  • Terms and services
© 2025 Designed by onlyfacts24

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