Skip to main content

Patpat is public proteomics dataset search framework that only requires protein identifiers to be passed in to search for relevant datasets.

Project description

Patpat

Patpat is public proteomics dataset search framework that only requires protein identifiers to be passed in to search for relevant datasets

Base Usage

Load Patpat package and create runtime environment:

from patpat import hub
from patpat import mapper
from patpat import utility

utility.init()
utility.initiate_uniprot_proteome_catalog()

Directory structure of the runtime environment is as follows:

patpat_env/
    |-- logs/
    |-- tmp/
    |-- result/
    |-- proteome/
        |-- UP_README_yyyy-mm-dd

Search for the peptide to be searched via the QueryHub

identifier_ = 'P23950'
q = hub.QueryHub()
q.identifier = identifier_
q.simple_query()

Having checked that the corresponding FASTA file for Mus musculus does not exist locally, consider obtaining from UniProt:

Choose local peptide search.
The Mus musculus UP000000589 proteome file was not found locally.
Do you want to download it?(y/n)

Get the search configs:

conf_ = q.get_query_config()

Set up Mappers for MapperHub, search and get results:

mappers_ = [mapper.PrideMapper(), mapper.IProXMapper()]

m = hub.MapperHub(config=conf_,
                  mappers=mappers_,
                  )
m.mapping()

result_ = m.export()

Result files store in patpat_envs/result/<task_uuid>, you can find <task_uuid> by m.config

In its current version, Patpat supports both PRIDE and iProX databases. In addition, Patpat is an extensible framework and users are encouraged to extend it with databases of interest to Patpat or to build their processes.

For more information, see GitHub (https://github.com/henry-leo/Patpat).

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

patpat-1.1.0.tar.gz (30.2 kB view details)

Uploaded Source

Built Distribution

patpat-1.1.0-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

Details for the file patpat-1.1.0.tar.gz.

File metadata

  • Download URL: patpat-1.1.0.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for patpat-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c6291c0caefdfac81c67382ce5026d336c9f3edb9f5d5e41212724bad4964c55
MD5 f4f9a003be1490ab7e4a4c364efc43cd
BLAKE2b-256 72164b2785202e59bc7d0ee80f92ff1772a4f43233202eb433a7e0d46f3c807a

See more details on using hashes here.

File details

Details for the file patpat-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: patpat-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 33.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for patpat-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d71024ccb29b72d3d3fe7a2dfb06b0695fa738c76e24525d6c8bcec4652375c
MD5 2e6d7db9f825c5d362a4aae7da29faa3
BLAKE2b-256 27ab1ac3febdacda91904e81220841b6d640978819ea3127d298c23723a19b27

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page