Python Client library for PRIDE Rest API
Project description
pridepy: Python client for PRIDE Archive database
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b965c1542658593a37e441acaf862380d6d68e6e0d2f825005cf5334ca4a769
|
|
| MD5 |
9bd55f1f3f325bafb4f7f1909aa394f0
|
|
| BLAKE2b-256 |
d48df9cb9f3c25adc7175cdbda77b46d1ff5e82b28cbb1c38d21da4643d1058c
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c71567606f5be81abc711c22fd598454ba8984649804993eea45b0ef745fccd
|
|
| MD5 |
b7f0b4d8fea82b51ac64162534e79ab5
|
|
| BLAKE2b-256 |
3c452f681e9c9d09e64a674d4bb983ab193189113c899c498d68f45f70916a67
|