pymissense
PyMissense generates the pathogenicity plot and modified pdb as shown in the AlphaMissense paper for custom proteins.
What it does
AlphaMissense allows you to identify regions in your amino acid chain that are critical for protein function. This script does two things:
-
It generates a plot similar to Figure 3D of the AlphaMissense paper
-
It generates a modified PDB file where the temperature factor (bfactor) is replaced by the pathogenicity predicted by AlphaMissense, allowing the effect to be visualised with Chimerax, as in Figure 3E of the paper:
How to install
pip install pymissense
How to use it
General usage is:
usage: pymissense[-h] [--tsv TSV] [--pdbpath PDBPATH] [--maxacid MAXACID] uniprot_id output_path
AlphaMissense plot and pdb generator
positional arguments:
uniprot_id UNIPROT ID
output_path Output folder
options:
-h, --help show this help message and exit
--tsv TSV You can provide the path to the tsv file if you want to skip the download. (default: None)
--pdbpath PDBPATH If defined, it will write the pathogenicity as bfactor in that PDB. If its not defined or not existing it will instead download the alphafold predicted PDB (default: None)
--maxacid MAXACID Maximum squence number to use in the plot. (default: None)
You can give the optional argument --pdbpath if you want to use an experimental PDB, otherwise it will download the alphafold predicted PDB instead. With --tsv you can provide the decompressed AlphaMissense database, so that pymissense does not need to download it.
For example, to reproduce Figure 3D (the middle one) and generate the PDB shown in Figure 3E do:
wget https://files.rcsb.org/download/7UPI.pdb
pymissense Q9UQ13 out --maxacid 200 --pdbpath 7upi.pdb
Note that only the first 200 amino acids are shown in the plots and the pathogenicity is shown with the experimental PDB 7upi.
Contributions
This script was developed in collaboration with Tobias Raisch
Metadata
Release files for pymissense 1.2.0
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 |
|---|---|---|---|---|
| pymissense-1.2.0.tar.gz | 1.0 MB | Without provenance | Details for pymissense-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pymissense-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for pymissense-1.2.0-py3-none-any.whl |
Total release size: 1.1 MB
Release files / pymissense-1.2.0.tar.gz
| Download URL | pymissense-1.2.0.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a6474d45460626a0da57d7bcebaa4a9bc0caca9c57a7f86eb2b61baf4dc5a16
|
|
BLAKE2b-256 checksum How to use checksums |
ca48eaa97a695277d4b2c343bff124f17f7e577e254711b26be24aff2589e369
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / pymissense-1.2.0-py3-none-any.whl
| Download URL | pymissense-1.2.0-py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b8bc881e09e4583e8b7e97ded1781ea91c696e6c1a068ab6e74f1ef5610f6fd
|
|
BLAKE2b-256 checksum How to use checksums |
07281c9a27555babbacc7f74508559d69bf58a3097ab66606adcdea1b4447d02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for pymissense 1.2.0
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.