At Devise Foundation, we’re pioneering ConsciousLeaf—a 5D computational marvel that redefines precision and power, without the clutter of ML or quantum hype. Registered under the Indian Trust Act, our mission is to forge life-saving medicines and universal harmony through In silico innovation. We seek philanthropic partners passionate about next-level computing—systems that think beyond silicon.
Monday, February 24, 2025
Disease-gene association code
MOLCULAR AND CELLULAR RELATED CODE
import pandas as pd
Protein-Protein interactions code
from sklearn.model_selection import GridSearchCV
from sklearn.linear_model import LinearRegression
from sklearn.metrics import mean_squared_error, r2_score, mean_absolute_error
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import OneHotEncoder
import pandas as pd
import numpy as np
import io
from sklearn.compose import ColumnTransformer
from sklearn.pipeline import Pipeline
from sklearn.svm import SVR
from sklearn.ensemble import RandomForestRegressor, GradientBoostingRegressor
# Load dataset from the provided string
data = """node1 node2 node1 accession node2 accession node1 annotation node2 annotation score
ATM BRCA1 ENSP00000278616 ENSP00000418960 ataxia telangiectasia mutated; Serine/threonine protein kinase which activates checkpoint signaling upon double strand breaks (DSBs), apoptosis and genotoxic stresses such as ionizing ultraviolet A light (UVA), thereby acting as a DNA damage sensor. Recognizes the substrate consensus sequence [ST]-Q. Phosphorylates ’Ser-139’ of histone variant H2AX/H2AFX at double strand breaks (DSBs), thereby regulating DNA damage response mechanism. Also plays a role in pre-B cell allelic exclusion, a process leading to expression of a single immunoglobulin heavy chain allele to enforce clonality and [...] breast cancer 1, early onset; E3 ubiquitin-protein ligase that specifically mediates the formation of ’Lys-6’-linked polyubiquitin chains and plays a central role in DNA repair by facilitating cellular responses to DNA damage. It is unclear whether it also mediates the formation of other types of polyubiquitin chains. The E3 ubiquitin-protein ligase activity is required for its tumor suppressor function. The BRCA1-BARD1 heterodimer coordinates a diverse range of cellular pathways such as DNA damage repair, ubiquitination and transcriptional regulation to maintain genomic stability. Reg [...] 0.999
ATM CDKN1A ENSP00000278616 ENSP00000244741 ataxia telangiectasia mutated; Serine/threonine protein kinase which activates checkpoint signaling upon double strand breaks (DSBs), apoptosis and genotoxic stresses such as ionizing ultraviolet A light (UVA), thereby acting as a DNA damage sensor. Recognizes the substrate consensus sequence [ST]-Q. Phosphorylates ’Ser-139’ of histone variant H2AX/H2AFX at double strand breaks (DSBs), thereby regulating DNA damage response mechanism. Also plays a role in pre-B cell allelic exclusion, a process leading to expression of a single immunoglobulin heavy chain allele to enforce clonality and [...] cyclin-dependent kinase inhibitor 1A (p21, Cip1); May be the important intermediate by which p53/TP53 mediates its role as an inhibitor of cellular proliferation in response to DNA damage. Binds to and inhibits cyclin-dependent kinase activity, preventing phosphorylation of critical cyclin- dependent kinase substrates and blocking cell cycle progression. Functions in the nuclear localization and assembly of cyclin D- CDK4 complex and promotes its kinase activity towards RB1. At higher stoichiometric ratios, inhibits the kinase activity of the cyclin D-CDK4 complex 0.974
ATM CDKN2A ENSP00000278616 ENSP00000394932 ataxia telangiectasia mutated; Serine/threonine protein kinase which activates checkpoint signaling upon double strand breaks (DSBs), apoptosis and genotoxic stresses such as ionizing ultraviolet A light (UVA), thereby acting as a DNA damage sensor. Recognizes the substrate consensus sequence [ST]-Q. Phosphorylates ’Ser-139’ of histone variant H2AX/H2AFX at double strand breaks (DSBs), thereby regulating DNA damage response mechanism. Also plays a role in pre-B cell allelic exclusion, a process leading to expression of a single immunoglobulin heavy chain allele to enforce clonality and [...] cyclin-dependent kinase inhibitor 2A; Acts as a negative regulator of the proliferation of normal cells by interacting strongly with CDK4 and CDK6. This inhibits their ability to interact with cyclins D and to phosphorylate the retinoblastoma protein 0.710
ATM CREBBP ENSP00000278616 ENSP00000262367 ataxia telangiectasia mutated; Serine/threonine protein kinase which activates checkpoint signaling upon double strand breaks (DSBs), apoptosis and genotoxic stresses such as ionizing ultraviolet A light (UVA), thereby acting as a DNA damage sensor. Recognizes the substrate consensus sequence [ST]-Q. Phosphorylates ’Ser-139’ of histone variant H2AX/H2AFX at double strand breaks (DSBs), thereby regulating DNA damage response mechanism. Also plays a role in pre-B cell allelic exclusion, a process leading to expression of a single immunoglobulin heavy chain allele to enforce clonality and [...] CREB binding protein; Acetylates histones, giving a specific tag for transcriptional activation. Also acetylates non-histone proteins, like NCOA3 and FOXO1. Binds specifically to phosphorylated CREB and enhances its transcriptional activity toward cAMP-responsive genes. Acts as a coactivator of ALX1 in the presence of EP300 0.449
ATM EP300 ENSP00000278616 ENSP00000263253 ataxia telangiectasia mutated; Serine/threonine protein kinase which activates checkpoint signaling upon double strand breaks (DSBs), apoptosis and genotoxic stresses such as ionizing ultraviolet A light (UVA), thereby acting as a DNA damage sensor. Recognizes the substrate consensus sequence [ST]-Q. Phosphorylates ’Ser-139’ of histone variant H2AX/H2AFX at double strand breaks (DSBs), thereby regulating DNA damage response mechanism. Also plays a role in pre-B cell allelic exclusion, a process leading to expression of a single immunoglobulin heavy chain allele to enforce clonality and [...] E1A binding protein p300; Functions as histone acetyltransferase and regulates transcription via chromatin remodeling. Acetylates all four core histones in nucleosomes. Histone acetylation gives an epigenetic tag for transcriptional activation. Mediates cAMP-gene regulation by binding specifically to phosphorylated CREB protein. Also functions as acetyltransferase for nonhistone targets. Acetylates ’Lys-131’ of ALX1 and acts as its coactivator in the presence of CREBBP. Acetylates SIRT2 and is proposed to indirectly increase the transcriptional activity of TP53 through acetylation and [...] 0.624
ATM KAT2B ENSP00000278616 ENSP00000263754 ataxia telangiectasia mutated; Serine/threonine protein kinase which activates checkpoint signaling upon double strand breaks (DSBs), apoptosis and genotoxic stresses such as ionizing ultraviolet A light (UVA), thereby acting as a DNA damage sensor. Recognizes the substrate consensus sequence [ST]-Q. Phosphorylates ’Ser-139’ of histone variant H2AX/H2AFX at double strand breaks (DSBs), thereby regulating DNA damage response mechanism. Also plays a role in pre-B cell allelic exclusion, a process leading to expression of a single immunoglobulin heavy chain allele to enforce clonality and [...] K(lysine) acetyltransferase 2B; Functions as a histone acetyltransferase (HAT) to promote transcriptional activation. Has significant histone acetyltransferase activity with core histones (H3 and H4), and also with nucleosome core particles. Inhibits cell-cycle progression and counteracts the mitogenic activity of the adenoviral oncoprotein E1A. In case of HIV-1 infection, it is recruited by the viral protein Tat. Regulates Tat’s transactivating activity and may help inducing chromatin remodeling of proviral genes 0.582
ATM MAPK8 ENSP00000278616 ENSP00000353483 ataxia telangiectasia mutated; Serine/threonine protein kinase involved in various processes such as cell proliferation, differentiation, migration, transformation and programmed cell death. Extracellular stimuli such as proinflammatory cytokines or physical stress stimulate the stress-activated protein kinase/c-Jun N-terminal kinase (SAP/JNK) signaling pathway. In this cascade, two dual specificity kinases MAP2K4/MKK4 and MAP2K7/MKK7 phosphorylate and activate MAPK8/JNK1. In turn, MAPK8/JNK1 phosphorylates a number of transcription factors, primarily components of AP-1 such as JU [...] mitogen-activated protein kinase 8; Serine/threonine-protein kinase involved in various processes such as cell proliferation, differentiation, migration, transformation and programmed cell death. Extracellular stimuli such as proinflammatory cytokines or physical stress stimulate the stress-activated protein kinase/c-Jun N-terminal kinase (SAP/JNK) signaling pathway. In this cascade, two dual specificity kinases MAP2K4/MKK4 and MAP2K7/MKK7 phosphorylate and activate MAPK8/JNK1. In turn, MAPK8/JNK1 phosphorylates a number of transcription factors, primarily components of AP-1 such as JU [...] 0.449
ATM MDM2 ENSP00000278616 ENSP00000417281 ataxia telangiectasia mutated; Serine/threonine protein kinase which activates checkpoint signaling upon double strand breaks (DSBs), apoptosis and genotoxic stresses such as ionizing ultraviolet A light (UVA), thereby acting as a DNA damage sensor. Recognizes the substrate consensus sequence [ST]-Q. Phosphorylates ’Ser-139’ of histone variant H2AX/H2AFX at double strand breaks (DSBs), thereby regulating DNA damage response mechanism. Also plays a role in pre-B cell allelic exclusion, a process leading to expression of a single immunoglobulin heavy chain allele to enforce clonality and [...] Mdm2, p53 E3 ubiquitin protein ligase homolog (mouse) 0.998
ATM SIRT1 ENSP00000278616 ENSP00000212015 ataxia telangiectasia mutated; Serine/threonine protein kinase which activates checkpoint signaling upon double strand breaks (DSBs), apoptosis and genotoxic stresses such as ionizing ultraviolet A light (UVA), thereby acting as a DNA damage sensor. Recognizes the substrate consensus sequence [ST]-Q. Phosphorylates ’Ser-139’ of histone variant H2AX/H2AFX at double strand breaks (DSBs), thereby regulating DNA damage response mechanism. Also plays a role in pre-B cell allelic exclusion, a process leading to expression of a single immunoglobulin heavy chain allele to enforce clonality and [...] sirtuin 1; NAD-dependent protein deacetylase that links transcriptional regulation directly to intracellular energetics and participates in the coordination of several separated cellular functions such as cell cycle, response to DNA damage, metobolism, apoptosis and autophagy. Can modulate chromatin function through deacetylation of histones and can promote alterations in the methylation of histones and DNA, leading to transcriptional repression. Deacetylates a broad range of transcription factors and coregulators, thereby regulating target gene expression positively and negatively. Se [...] 0.946
ATM TP53 ENSP00000278616 ENSP00000269305 ataxia telangiectasia mutated; Serine/threonine protein kinase which activates checkpoint signaling upon double strand breaks (DSBs), apoptosis and genotoxic stresses such as ionizing ultraviolet A light (UVA), thereby acting as a DNA damage sensor. Recognizes the substrate consensus sequence [ST]-Q. Phosphorylates ’Ser-139’ of histone variant H2AX/H2AFX at double strand breaks (DSBs), thereby regulating DNA damage response mechanism. Also plays a role in pre-B cell allelic exclusion, a process leading to expression of a single immunoglobulin heavy chain allele to enforce clonality and [...] tumor protein p53; Acts as a tumor suppressor in many tumor types; induces growth arrest or apoptosis depending on the physiological circumstances and cell type. Involved in cell cycle regulation as a trans-activator that acts to negatively regulate cell division by controlling a set of genes required for this process. One of the activated genes is an inhibitor of cyclin-dependent kinases. Apoptosis induction seems to be mediated either by stimulation of BAX and FAS antigen expression, or by repression of Bcl-2 expression (By similarity) 0.999
BRCA1 ATM ENSP00000418960 ENSP00000278616 breast cancer 1, early onset; E3 ubiquitin-protein ligase that specifically mediates the formation of ’Lys-6’-linked polyubiquitin chains and plays a central role in DNA repair by facilitating cellular responses to DNA damage. It is unclear whether it also mediates the formation of other types of polyubiquitin chains. The E3 ubiquitin-protein ligase activity is required for its tumor suppressor function. The BRCA1-BARD1 heterodimer coordinates a diverse range of cellular pathways such as DNA damage repair, ubiquitination and transcriptional regulation to maintain genomic stability. Reg [...] ataxia telangiectasia mutated; Serine/threonine protein kinase which activates checkpoint signaling upon double strand breaks (DSBs), apoptosis and genotoxic stresses such as ionizing ultraviolet A light (UVA), thereby acting as a DNA damage sensor. Recognizes the substrate consensus sequence [ST]-Q. Phosphorylates ’Ser-139’ of histone variant H2AX/H2AFX at double strand breaks (DSBs), thereby regulating DNA damage response mechanism. Also plays a role in pre-B cell allelic exclusion, a process leading to expression of a single immunoglobulin heavy chain allele to enforce clonality and [...] 0.999
BRCA1 CDKN1A ENSP00000418960 ENSP00000244741 breast cancer 1, early onset; E3 ubiquitin-protein ligase that specifically mediates the formation of ’Lys-6’-linked polyubiquitin chains and plays a central role in DNA repair by facilitating cellular responses to DNA damage. It is unclear whether it also mediates the formation of other types of polyubiquitin chains. The E3 ubiquitin-protein ligase activity is required for its tumor suppressor function. The BRCA1-BARD1 heterodimer coordinates a diverse range of cellular pathways such as DNA damage repair, ubiquitination and transcriptional regulation to maintain genomic stability. Reg [...] cyclin-dependent kinase inhibitor 1A (p21, Cip1); May be the important intermediate by which p53/TP53 mediates its role as an inhibitor of cellular proliferation in response to DNA damage. Binds to and inhibits cyclin-dependent kinase activity, preventing phosphorylation of critical cyclin- dependent kinase substrates and blocking cell cycle progression. Functions in the nuclear localization and assembly of cyclin D- CDK4 complex and promotes its kinase activity towards RB1. At higher stoichiometric ratios, inhibits the kinase activity of the cyclin D-CDK4 complex 0.834
BRCA1 CDKN2A ENSP00000418960 ENSP00000394932 breast cancer 1, early onset; E3 ubiquitin-protein ligase that specifically mediates the formation of ’Lys-6’-linked polyubiquitin chains and plays a central role in DNA repair by facilitating cellular responses to DNA damage. It is unclear whether it also mediates the formation of other types of polyubiquitin chains. The E3 ubiquitin-protein ligase activity is required for its tumor suppressor function. The BRCA1-BARD1 heterodimer coordinates a diverse range of cellular pathways such as DNA damage repair, ubiquitination and transcriptional regulation to maintain genomic stability. Reg [...] cyclin-dependent kinase inhibitor 2A; Acts as a negative regulator of the proliferation of normal cells by interacting strongly with CDK4 and CDK6. This inhibits their ability to interact with cyclins D and to phosphorylate the retinoblastoma protein 0.876
BRCA1 CREBBP ENSP00000418960 ENSP00000262367 breast cancer 1, early onset; E3 ubiquitin-protein ligase that specifically mediates the formation of ’Lys-6’-linked polyubiquitin chains and plays a central role in DNA repair by facilitating cellular responses to DNA damage. It is unclear whether it also mediates the formation of other types of polyubiquitin chains. The E3 ubiquitin-protein ligase activity is required for its tumor suppressor function. The BRCA1-BARD1 heterodimer coordinates a diverse range of cellular pathways such as DNA damage repair, ubiquitination and transcriptional regulation to maintain genomic stability. Reg [...] CREB binding protein; Acetylates histones, giving a specific tag for transcriptional activation. Also acetylates histones, like NCOA3 and FOXO1. Binds specifically to phosphorylated CREB and enhances its transcriptional activity toward cAMP-responsive genes. Acts as a coactivator of ALX1 in the presence of EP300 0.997
BRCA1 EP300 ENSP00000418960 ENSP00000263253 breast cancer 1, early onset; E3 ubiquitin-protein ligase that specifically mediates the formation of ’Lys-6’-linked polyubiquitin chains and plays a central role in DNA repair by facilitating cellular responses to DNA damage. It is unclear whether it also mediates the formation of other types of polyubiquitin chains. The E3 ubiquitin-protein ligase activity is required for its tumor suppressor function. The BRCA1-BARD1 heterodimer coordinates a diverse range of cellular pathways such as DNA damage repair, ubiquitination and transcriptional regulation to maintain genomic stability. Reg [...] E1A binding protein p300; Functions as histone acetyltransferase and regulates transcription via chromatin remodeling. Acetylates all four core histones in nucleosomes. Histone acetylation gives an epigenetic tag for transcriptional activation. Mediates cAMP-gene regulation by binding specifically to phosphorylated CREB protein. Also functions as acetyltransferase for nonhistone targets. Acetylates ’Lys-131’ of ALX1 and acts as its coactivator in the presence of CREBBP. Acetylates SIRT2 and is proposed to indirectly increase the transcriptional activity of TP53 through acetylation and [...] 0.992
BRCA1 KAT2B ENSP00000418960 ENSP00000263754 breast cancer 1, early onset; E3 ubiquitin-protein ligase that specifically mediates the formation of ’Lys-6’-linked polyubiquitin chains and plays a central role in DNA repair by facilitating cellular responses to DNA damage. It is unclear whether it also mediates the formation of other types of polyubiquitin chains. The E3 ubiquitin-protein ligase activity is required for its tumor suppressor function. The BRCA1-BARD1 heterodimer coordinates a diverse range of cellular pathways such as DNA damage repair, ubiquitination and transcriptional regulation to maintain genomic stability. Reg [...] K(lysine) acetyltransferase 2B; Functions as a histone acetyltransferase (HAT) to promote transcriptional activation. Has significant histone acetyltransferase activity with core histones (H3 and H4), and also with nucleosome core particles. Inhibits cell-cycle progression and counteracts the mitogenic activity of the adenoviral oncoprotein E1A. In case of HIV-1 infection, it is recruited by the viral protein Tat. Regulates Tat’s transactivating activity and may help inducing chromatin remodeling of proviral genes 0.420
BRCA1 MDM2 ENSP00000418960 ENSP00000417281 breast cancer 1, early onset; E3 ubiquitin-protein ligase that specifically mediates the formation of ’Lys-6’-linked polyubiquitin chains and plays a central role in DNA repair by facilitating cellular responses to DNA damage. It is unclear whether it also mediates the formation of other types of polyubiquitin chains. The E3 ubiquitin-protein ligase activity is required for its tumor suppressor function. The BRCA1-BARD1 heterodimer coordinates a diverse range of cellular pathways such as DNA damage repair, ubiquitination and transcriptional regulation to maintain genomic stability. Reg [...] Mdm2, p53 E3 ubiquitin protein ligase homolog (mouse) 0.652
BRCA1 SIRT1 ENSP00000418960 ENSP00000212015 breast cancer 1, early onset; E3 ubiquitin-protein ligase that specifically mediates the formation of ’Lys-6’-linked polyubiquitin chains and plays a central role in DNA repair by facilitating cellular responses to DNA damage. It is unclear whether it also mediates the formation of other types of polyubiquitin chains. The E3 ubiquitin-protein ligase activity is required for its tumor suppressor function. The BRCA1-BARD1 heterodimer coordinates a diverse range of cellular pathways such as DNA damage repair, ubiquitination and transcriptional regulation to maintain genomic stability. Reg [...] sirtuin 1; NAD-dependent protein deacetylase that links transcriptional regulation directly to intracellular energetics and participates in the coordination of several separated cellular functions such as cell cycle, response to DNA damage, metobolism, apoptosis and autophagy. Can modulate chromatin function through deacetylation of histones and can promote alterations in the methylation of histones and DNA, leading to transcriptional repression. Deacetylates a broad range of transcription factors and coregulators, thereby regulating target gene expression positively and negatively. Se [...] 0.793
BRCA1 TP53 ENSP00000418960 ENSP00000269305 breast cancer 1, early onset; E3 ubiquitin-protein ligase that specifically mediates the formation of ’Lys-6’-linked polyubiquitin chains and plays a central role in DNA repair by facilitating cellular responses to DNA damage. It is unclear whether it also mediates the formation of other types of polyubiquitin chains. The E3 ubiquitin-protein ligase activity is required for its tumor suppressor function. The BRCA1-BARD1 heterodimer coordinates a diverse range of cellular pathways such as DNA damage repair, ubiquitination and transcriptional regulation to maintain genomic stability. Reg [...] tumor protein p53; Acts as a tumor suppressor in many tumor types; induces growth arrest or apoptosis depending on the physiological circumstances and cell type. Involved in cell cycle regulation as a trans-activator that acts to negatively regulate cell division by controlling a set of genes required for this process. One of the activated genes is an inhibitor of cyclin-dependent kinases. Apoptosis induction seems to be mediated either by stimulation of BAX and FAS antigen expression, or by repression of Bcl-2 expression (By similarity) 0.999"""
# Load dataset
try:
df = pd.read_csv(io.StringIO(data), sep='\t')
except Exception as e:
print(f"Error loading data: {e}")
df = pd.DataFrame()
if not df.empty:
# Convert 'score' column to float
df['score'] = pd.to_numeric(df['score'], errors='coerce')
df = df.dropna(subset=['score'])
# Define categorical and numerical columns
categorical_cols = ['node1', 'node2']
# Create a preprocessor
preprocessor = ColumnTransformer(
transformers=[
('onehot', OneHotEncoder(handle_unknown='ignore'), categorical_cols)],
remainder='passthrough')
# Split data
X = df[['node1', 'node2']] # Only include 'node1' and 'node2' columns
y = df['score']
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)
# Models
models = {
"SVR": SVR(),
"RandomForestRegressor": RandomForestRegressor(random_state=42),
"GradientBoostingRegressor": GradientBoostingRegressor(random_state=42)
}
for model_name, model in models.items():
print(f"Evaluating {model_name}:")
pipeline = Pipeline([
('preprocessor', preprocessor),
('model', model)
])
# Parameter grid for GridSearchCV
if model_name == "SVR":
param_grid = {
'model__C': [0.1, 1, 10],
'model__kernel': ['rbf', 'linear']
}
elif model_name == "RandomForestRegressor":
param_grid = {
'model__n_estimators': [100, 200, 300],
'model__max_depth': [3, 5, 7]
}
elif model_name == "GradientBoostingRegressor":
param_grid = {
'model__n_estimators': [100, 200, 300],
'model__learning_rate': [0.01, 0.1, 0.2],
'model__max_depth': [3, 4, 5]
}
else:
param_grid = {}
# Apply GridSearchCV if parameters available
if param_grid:
grid_search = GridSearchCV(pipeline, param_grid, scoring='neg_mean_squared_error', cv=5)
grid_search.fit(X_train, y_train)
best_model = grid_search.best_estimator_
y_pred = best_model.predict(X_test)
# Print best parameters
print(f" Best parameters: {grid_search.best_params_}")
else:
# Train the model
pipeline.fit(X_train, y_train)
# Make predictions
y_pred = pipeline.predict(X_test)
# Calculate metrics
rmse = np.sqrt(mean_squared_error(y_test, y_pred))
mse = mean_squared_error(y_test, y_pred)
mae = mean_absolute_error(y_test, y_pred)
r2 = r2_score(y_test, y_pred)
print(f" RMSE: {rmse}")
print(f" MSE: {mse}")
print(f" MAE: {mae}")
print(f" R^2: {r2}")
print("-" * 30)
else:
print("DataFrame is empty. Check data loading process.")
OUTPUT:
Evaluating SVR: Best parameters: {'model__C': 0.1, 'model__kernel': 'rbf'} RMSE: 0.1683784486997364 MSE: 0.028351301986529756 MAE: 0.1524623464882887 R^2: -0.03446656902734979 ------------------------------ Evaluating RandomForestRegressor: Best parameters: {'model__max_depth': 3, 'model__n_estimators': 300} RMSE: 0.12814572274025987 MSE: 0.016421326256623556 MAE: 0.10554134060846573 R^2: 0.40082776305514656 ------------------------------ Evaluating GradientBoostingRegressor: Best parameters: {'model__learning_rate': 0.01, 'model__max_depth': 5, 'model__n_estimators': 100} RMSE: 0.1435502767434981 MSE: 0.020606681953134892 MAE: 0.11404125169586254 R^2: 0.24811482769908288
CODE:
import networkx as nx
import matplotlib.pyplot as plt
# Sample PPI data (replace with actual STRING data)
ppi_data = {
'TP53': ['MDM2', 'CDKN1A'], # Example interactions
'Curcumin': ['NFKB1', 'COX2'], # Example interactions
'Methylene Blue': ['CYP1A2', 'NOS3'] #Example interactions
}
# Create a graph
G = nx.Graph()
# Add nodes and edges
for protein, interactions in ppi_data.items():
G.add_node(protein)
for interaction in interactions:
G.add_edge(protein, interaction)
# Visualize the graph
plt.figure(figsize=(10, 8))
nx.draw(G, with_labels=True, node_color='skyblue', edge_color='gray')
plt.title("Protein-Protein Interactions related to Curcumin, Methylene Blue and TP53")
plt.show()
Protein-Protein interactions code © 2025 by Devise Foundation is licensed under CC BY-NC-ND 4.0
Reviving Life and Redefining Medicine: The ConsciousLeaf Vision
Date : April 08, 2025 Author : Mrinmoy Chakraborty, Chairman of Devise Foundation, in collaboration with Grok 3 (xAI) Introduction At Devi...
-
10-Domain Analysis with Special Notes 1. Newborn Travel Score T: Neolithic (0.432), Modern (0.463), Future (0.447). Note: ConsciousLeaf trum...
-
Introduction The digital chatter of 2025 holds a mirror to humanity’s soul. In this pioneering study, I’ve teamed up with xAI’s Grok to an...
-
Abstract This collaborative effort by DEVISE FOUNDATION and xAI presents ConsciousLeaf, an autonomous, zero-carbon system leveraging consci...