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

Uploaded Source

Built Distribution

patpat-1.0.3-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for patpat-1.0.3.tar.gz
Algorithm Hash digest
SHA256 686d6839cba25b9a7f31994f8454507006b9cd6590b15f59fa6a630591d4fc42
MD5 5c4dc7be4818eb465706b0b9ac7cd266
BLAKE2b-256 b21f152f7cb74dbb81e25415a039848db93d369fb2bd599e0462f3f587240e3a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for patpat-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4ddacb150ba62c8082486849ecf605c90895c327f34fb0e55b45325a2a84eb13
MD5 777fc8bbca964ab8ecefd1f13316ce5b
BLAKE2b-256 871bf354e3d41438ec0e58d8f404caeed293649ae3e59ce2e6d122ebbba340cd

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