Skip to main content

A simple Python package to convert XYZ files from Qiskit output into PDB structures

Project description

qiskit-xyz2pdb

This program is designed primarily to convert XYZ files from the results of Qiskit's protein folding algorithm, but may also work with other similar XYZ files for protein coordinates. There are two options for the output: 1) a hetero atom (HETATM) format with connect records (CONECT), and 2) a conventional alpha carbon trace protein pdb format. In both outputs, each set of coordinates corresponds to the alpha carbon of each residue in the sequence.

Install

The qiskit-xyz2pdb package is available on the Python Package Index and Conda and can be installed with the following command line:

# Install the package through PyPI
$ pip install qiskit-xyz2pdb

# Install the package through the Conda package manage
$ conda install qiskit-xyz2pdb

Features

The hetero atom format is most useful for quick visualization, using a program such as NGL viewer. Note: this option assumes that the XYZ coordinates are all consecutively bound forming a continous single chain; it assumes that there are no side chains, and the CONECT records reflect this. How to run with this option:

$ qiskit-xyz2pdb --in-xyz inputfile.xyz --out-pdb outputfile.pdb --hetero-atoms

The conventional alpha carbon trace format is more versatile and can be used for further research beyond visualization - such as reconstructing the full backbone and sidechains, adding a force field, and then performing molecular dynamics simulations. How to run with this option:

$ qiskit-xyz2pdb --in-xyz inputfile.xyz --out-pdb outputfile.pdb --alpha-c-traces

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qiskit-xyz2pdb-0.1.2.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file qiskit-xyz2pdb-0.1.2.tar.gz.

File metadata

  • Download URL: qiskit-xyz2pdb-0.1.2.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.0

File hashes

Hashes for qiskit-xyz2pdb-0.1.2.tar.gz
Algorithm Hash digest
SHA256 04fd1e61c614f1e76d2e5ac3b79eada20244c36d3193730297cae75fd0c51f43
MD5 69df2f425a2e06662d65fb35de21ddc5
BLAKE2b-256 eff66e3961288045609738be4c349a2c21b55c940765b589c22afe63d77c7f36

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page