pfam2go
The pfam2go package provides a short and simple interface to match the Pfam accesion numbres to Gene Ontology annotation data.
The Pfam - Go term mapping was taken from:
http://current.geneontology.org/ontology/external2go/pfam2go
Mitchell et al. (2015) Nucl. Acids Res. 43 :D213-D221
The Go term information is taken from QuickGO:
Installation
pfam2go can be installed via pip:
pip install pfam2go
Usage
pfam2go(pfam_seqs: Union[Iterable[str], str]) -> pd.DataFrame
Input:
pfam_seqs: string or an Iterable object containing strings (e.g., list or pd.Series).
Returns:
pd.Dataframe containing GO terms for all corresponding Pfam numbers. Dataframe contains 5 string fields:
- Pfam accession number
- GO accession number
- GO name
- GO definition
- GO functional aspect
One Pfam number can correspond to several GO terms.
In case the information about a specific GO term has not been found in QuickGO the last 3 columns will be assigned to NaN.
Example
from pfam2go import pfam2go
pfam_list = ['PF00032', 'PF00049', 'PF08463']
data = pfam2go(pfam_list)
Release files for pfam2go 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pfam2go-1.1.2.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pfam2go-1.1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / pfam2go-1.1.2.tar.gz
| Download URL | pfam2go-1.1.2.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58b3fae68e0576bf72a413642389f5a0232fc73dd93ad10feab8f9ef3db3709a
|
|
BLAKE2b-256 checksum How to use checksums |
c5db8aff108b3f46651be2a33e4a16c5fc0c847026d7f4439d7493e2dc9406f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / pfam2go-1.1.2-py2.py3-none-any.whl
| Download URL | pfam2go-1.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
69ffdd9003c83aaed40fe9ce80049ae666ca6750fa65d84f94e7fe68a7de8737
|
|
BLAKE2b-256 checksum How to use checksums |
8f2f5f70b0233efaa89f55455474e0b6a368add5fc1eae7b3b46bd8087071c65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|