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:

import patpat.hub as hub
import patpat.mapper as mapper
import patpat.utility as 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

Get the search configs via the QueryHub:

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

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.0.0.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

patpat-1.0.0-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: patpat-1.0.0.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.0

File hashes

Hashes for patpat-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9e627f3b37c8bef2c5bfc39d4378410d48c9d4665083160ad9534be4dcc839ea
MD5 b9455b2d81a344e781af9bfc4b901835
BLAKE2b-256 773fb19dced3267df3d75cd5d46cb2b0751bcdda24d7eeaa4481555eea55c9e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: patpat-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.0

File hashes

Hashes for patpat-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d02ef76d03f30330666d2ca6ebbad7403dd604cbee2d005ce39f9075bcb0d25
MD5 264654ac66462533a997a3aaae0f612e
BLAKE2b-256 3a55d628aed08928714ed4e6da2f25ad2d4b7c6a6bf065f93e7ebe56933cfaf7

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