Skip to main content

xyzToPdb

Convert .xyz to .pdb (guess residues).

Problem: Someone converted file.pdb to file.xyz but only gave you file.xyz => you can't visualize the protein(s) in file.xyz (because it has no residue information).

Solution: pip install xyzToPdb; xyzToPdb file.xyz # outputs file.pdb

Inspired by this stackexchange post.

How?

Runs a Transformer trained with the loss cross_entropy(Transformer(file.xyz) - file.pdb) on 80% of PDB anno 2024. The model got ~99% residue_acc and ~99% ca_cb_acc on the 20% validation set.

image

Metadata

Release files for xyzToPdb 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xyzToPdb 0.1.7
File Size Uploaded
xyztopdb-0.1.7.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xyzToPdb 0.1.7
File Interpreter ABI Platform
xyztopdb-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / xyztopdb-0.1.7.tar.gz

Download URL xyztopdb-0.1.7.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1b78fd7ab2e2625abe7301724a24aa6571edac1c0abe05f765550183d8d3c480
BLAKE2b-256 checksum
How to use checksums
e15f56aada05acdca5d98f08da47fbe8ff3d6c823059698418f2f80804fa6c8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / xyztopdb-0.1.7-py3-none-any.whl

Download URL xyztopdb-0.1.7-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6385ca82397991e48fa3a045d1ba520a8b3ba234fbdbda263cd99544aa0cabc9
BLAKE2b-256 checksum
How to use checksums
1b389865e8ee3acab6522a4bf69be8eaea1a29ca03ed47b78953d12a9d372fb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page