Skip to main content

A python package to find amino acid residues in the literature

Project description

PyProtWorm

ProtWorm

PyProtWorm is a python package designed to simplify the scientific literature review in protein characterization studies. The package uses the Europe PMC rest API to obtain amino acids residues citations from scientific publications.

To use PyProtWorm, all you need to do is import the Finder class, define the object and perform a query, as can be seen in the example below:

from PyProtWorm.finder import Finder

finder = Finder("/path/to/output.tsv")
finder.search("query")

The package also allows performing cross-annotation searches using several external resources identifiers:

finder = Finder()
finder.search("P00698", database="uniprot")

The full list of available external resources contains:

Resource key
UniProtKB uniprot
PDBe pdb
Pfam pfam
ChEMBL chembl
ChEBI chebi
Gene Ontology go
InterPro interpro

The min_year parameter can be applied to retrieve only recently published papers:

finder = Finder()
finder.search("P00698", database="uniprot", min_year=2019)

Stopped jobs can be resumed from the same point when it was aborted. To do it, you need to inform the cursor parameter in the search method. The current cursor id can be found in the last row of your result file. Finally, you need to make sure not to overwrite the previous result file.

finder = Finder()
finder.search("P00698", database="uniprot", cursor="AoIIPyzELSgyNzg5NjQ3OQ==")

There's no paper to cite right now. For now, if you use this tool please cite:

da Fonseca, Neli et al., 2021 ProtWorm: A computational tool to find amino acid residues citations available at http://bioinfo.icb.ufmg.br/protworm.

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

PyProtWorm-0.1.3.tar.gz (7.6 kB view details)

Uploaded Source

File details

Details for the file PyProtWorm-0.1.3.tar.gz.

File metadata

  • Download URL: PyProtWorm-0.1.3.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9

File hashes

Hashes for PyProtWorm-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c78888aea2362b8a9f93ace0d4b83d0bad8aa0d7b9a4dba5ea4b036924d9f8ea
MD5 6dc803999a006df856f921d5a97e6791
BLAKE2b-256 3e0e8e4c5615d494dc0d4b9fac0a215589b6b783d836787a4944d5ed5532ceee

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