NeoTopology
NeoTopology is NeoBinder's First open soruce project for Protein Topology Toolkit All-In-One SDK.
NeoTopology is heavily designed for Protein Design, OpenMM Preparation & Study
This Package contains:
- IO from files including PDB/PDBx/rdkit
- Mathatics related with Rotation and Alignment
- Protein/Sequence/Ligand Calculations.
Installation
NeoTopology can be installed with:
- source code installation
mkdir -p /path/to/project
cd /path/to/project
git clone git@github.com:NeoBinder/NeoTopology.git
cd /path/to/project/NeoTopology
# installation mode
pip install ./
# or devmode
pip install -e ./
- pypi to be published
Document
NeoTopology Topology Object IO
from ttk.io import topology_parser
# Load From PDB
top = topology_parser.topology_from_pdb(pdbpath)
# Load From PDB content
with open(pdbpath,"r") as f:
content = f.read()
top = topology_parser.topology_from_pdb_content(content)
# Load From Openmm
top=topology_parser.topology_from_openmmm(openmmtop)
print(top.chains)
print(top.n_chains)
print(top.residues)
print(top.n_residues)
print(top.atoms)
print(top.bonds)
# Load Molecule From rdkit
top = topology_parser.topology_from_rdkitmol(mol,res_name)
print(top.residues)
print(top.bonds)
# Export to PDB
from ttk.io import PDBFile
from ttk.io import topology_export
# topology to pdb content
content = PDBFile().to_content(top)
if fname:
with open(fname, "w") as f:
f.write(content)
# topology to file directly
topology_export.topology_to_pdb(top,fname)
Topology modification
# topology add residue
top.add_residue(name,top.chains[0])
# chain add residue
top.chains[0].add_residue(res)
Topology calculations
from ttk.calculators import get_center_of_mass
res = top.get_residues_by_name(res_name)
com = get_center_of_mass(res.atoms)
Metadata
Release files for neotopology 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| neotopology-1.0.2.tar.gz | 35.1 kB | Without provenance | Details for neotopology-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| NeoTopology-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for NeoTopology-1.0.2-py3-none-any.whl |
Total release size: 76.3 kB
Release files / neotopology-1.0.2.tar.gz
| Download URL | neotopology-1.0.2.tar.gz |
|---|---|
| Size | 35.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4143a11c432f9c8be516e5504c3efacda1b7f781e598f8321cca108fa0ee5dc7
|
|
BLAKE2b-256 checksum How to use checksums |
73dbb7ea7e19c58d5bbc5e8db8bd2888408e9c4715122580713d85c097001a6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / NeoTopology-1.0.2-py3-none-any.whl
| Download URL | NeoTopology-1.0.2-py3-none-any.whl |
|---|---|
| Size | 41.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe09e71ddba037edc68ca7c04fcb0f21d0a781f11d217a8e8e899be8fac69976
|
|
BLAKE2b-256 checksum How to use checksums |
e3c2389379644189a576a5f0fb994dfaa3b8fd23fcfdbe66dfd32e6a9c8e63b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Security for neotopology 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.