Skip to main content

Python Client library for PRIDE Rest API

Project description

pridepy: Python client for PRIDE Archive database

PyPI version Upload Python Package Python package

Python Client library for PRIDE Rest API

Installation

To install, simply use pip:

$ pip install --upgrade pridepy

Examples

Download all the raw files from a dataset(eg: PXD012353). Warning: Raw files are generally large in size, so it may take some time to download depending on the number of files and file sizes.

$ pridepy download-all-raw-files -a PXD012353 -o /Users/yourname/Downloads/foldername/

Download single file by name

$ pridepy download-files-by-name -a PXD022105 -o /Users/yourname/Downloads/foldername/ -f checksum.txt

Search projects with keywords and filters

$ pridepy search-projects-by-keywords-and-filters --keyword accession:PXD012353

Search files with filters

$ pridepy get-files-by-filter --filter fileCategory.value==RAW

Search protein-evidences with keywords and filters

$ pridepy search-protein-evidences --project_accession PXD012353

Search spectra-evidences with keywords and filters

$ pridepy search-spectra-evidences --usi "mzspec:PXD019317:sh_5282_HYK_101018_Mac_D_25mM.mzML:scan:10138:YAAMVTC[UNIMOD:4]MDEAVRNITWALKR/3"

Use below command to view list of commands available

$ python3 pridepy.py --help

  download-all-raw-files          
  download-files-by-name          
  get-files-by-filter             
  get-files-by-project-accession  
  get-projects                    
  get-projects-by-accession       
  get-reanalysis-projects-by-accession
  get-similar-projects-by-accession
  search-peptide-evidences        
  search-projects-by-keywords-and-filters
  search-protein-evidences       
  search-spectra-evidences        
  update-metadata                 

NOTE

Please make sure you are using Python3, not Python 2.7 version.

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

pridepy-0.0.2.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pridepy-0.0.2-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file pridepy-0.0.2.tar.gz.

File metadata

  • Download URL: pridepy-0.0.2.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pridepy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9b965c1542658593a37e441acaf862380d6d68e6e0d2f825005cf5334ca4a769
MD5 9bd55f1f3f325bafb4f7f1909aa394f0
BLAKE2b-256 d48df9cb9f3c25adc7175cdbda77b46d1ff5e82b28cbb1c38d21da4643d1058c

See more details on using hashes here.

File details

Details for the file pridepy-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pridepy-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pridepy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9c71567606f5be81abc711c22fd598454ba8984649804993eea45b0ef745fccd
MD5 b7f0b4d8fea82b51ac64162534e79ab5
BLAKE2b-256 3c452f681e9c9d09e64a674d4bb983ab193189113c899c498d68f45f70916a67

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