graphein
Graphein is an open-source Python package designed to construct and analyze biological graphs from heterogeneous data sources. It provides a unified framework to fetch protein, structure, and interaction data and to convert them into network representations. Graphs created with graphein can represent entities such as proteins, residues, genes, and molecular interactions, with nodes and edges annotated by features like sequence information, structural properties, interaction confidence, and functional annotations.
The library supports multiple granularity levels, including residue-level graphs derived from three-dimensional structures, sequence-based neighborhood graphs,
Key data sources include public biological databases and resources. Users can define graph-building workflows through configuration
Installation is via Python package managers, and the project is maintained as an open-source effort with documentation