uniprot mapper
map a string of whitespace seperated entries from one format onto another using uniprots mapping api
Args:
query: to be mapped
f: from ACC | P_ENTREZGENEID | ...
t: to ...
format: tab by default
Help:
for a list of all possible mappings visit
'http://www.uniprot.org/faq/28'
Installation
From pypi (recommended)
pip install uniprot_mapper
From source (UNIX) as standalone
Clone the git repository
git clone https://github.com/jdrudolph/uniprot_mapper.git
Make the script executable and add it to your PATH:
chmod +x uniprot_mapper/uniprot_mapper/uniprot_mapper.py cd /usr/local/bin sudo ln -s /path/to/uniprot_mapper.py .
Example
standalone
uniprot_mapper.py ACC P_ENTREZGENEID acc_file map_file
This will read UniprotIDs seperated by whitespaces from acc_file and store them to map_file.
Using a pipe:
echo P31749 | uniprot_mapper.py ACC P_ENTREZGENEID
will print the result to stdout which can be redirected further
inside a python script
import uniprot_mapper as mapper
print mapper.map('P31749')
Metadata
Release files for uniprot_mapper 0.6
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 |
|---|---|---|---|---|
| uniprot_mapper-0.6.tar.gz | 2.8 kB | Without provenance | Details for uniprot_mapper-0.6.tar.gz |
Release files / uniprot_mapper-0.6.tar.gz
| Download URL | uniprot_mapper-0.6.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71c1b555148b0a8093a5d40fa2385318e7768fdd16a2168ede5470db7fbfd8d2
|
|
BLAKE2b-256 checksum How to use checksums |
d33816911f270b51243a6a6457b6942d70e9f971230e4063e2ec00f833f5d45c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for uniprot_mapper 0.6
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.