Python Package for residue mapping between UniProt and PDB entries.
Project description
UniPDB Residue Mapper
This package maps residue numbering from UniProt/PDB to PDB/UniProt.
Install
pip install unipdb_mapper
Usage
This package can be used either in any of the Python scripts or via the terminal.
Usage via Python Script
- Importing within a Python script
from unipdb_mapper import ResiduesMapper
- Residue Mapping from UniProt to PDB
M = ResiduesMapper('P19339', [122, 145], 'UniProt')
MAP = M.resmapper_unp2pdb()
print(MAP)
- Residue Mapping from PDB to UniProt
M = ResiduesMapper('1b7f', [123, 145], 'PDB')
MAP = M.resmapper_pdb2unp()
print(MAP)
- Save results to a file
OUTFILE = M.output_writer('output.csv', MAP)
Usage via Terminal
- Getting help
$ unipdb -h
- Residue Mapping from UniProt to PDB
$ unipdb -u P19339 -n 122 123 156 -o output.csv
- Residue Mapping from PDB to UniProt
$ unipdb -p 1b7f -n 122 123 156 -o abc.csv
News
If you like/use this repository, don't forget to give a star 🌟.
Some exciting updates including examples are planned so stay tuned!!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file unipdb_mapper-0.0.1.tar.gz.
File metadata
- Download URL: unipdb_mapper-0.0.1.tar.gz
- Upload date:
- Size: 48.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
379802b1afeac02a342cb0e300101dd2446c236877b7c89d0356d874145ce4fb
|
|
| MD5 |
cde25e98ef9831f5903d63744258c276
|
|
| BLAKE2b-256 |
aaae5a3b50d7df23587a4983e44a51e4edc1c2a6cb27133c0f3f8e0f0bc84234
|
File details
Details for the file unipdb_mapper-0.0.1-py3-none-any.whl.
File metadata
- Download URL: unipdb_mapper-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a9dab72732151e2cd0eed9c49576daeaa5aca43f8221b981a74003fb7b577c1
|
|
| MD5 |
876a6ff154b7a10792382724f4f4d0a6
|
|
| BLAKE2b-256 |
63524253fd44627d132da0d7e3dcae1db289f9f3594e43cf0707353f7eec01e4
|