Getting started
This is a Python package that provides a client class, RnaGet, to access RNAget data. RNAget is an API standard implemented by the GA4GH that provides uniform access to large-scale RNAseq expression data across different studies and sources.
Usage
To use this package, you need to import the RnaGet class:
from rnaget_client import RnaGet
gtex = RnaGet(host='gtex') # gtex instance
encode = RnaGet(host='encode') # encode instance
another_host = RnaGet(host='ANOTHER_URL', token='ACCESS_TOKEN')
The host parameter should be set to the URL of the RNAget server that you want to access. You can also pass an optional token parameter to set an access token to access protected data.
Available Methods:
The RnaGet class provides the following methods to retrieve data from the RNAget server:
get_filters(type, params=None): Get model filters, accepted values are: projects, studies, expressions, or continuous.
get_projects(version=None): Get the project list.
get_project(id): Get project by ID.
get_studies(version=None): Get the study list.
get_study(id): Get study by ID.
get_expression_list(format, download=False, **kwargs): Get the expression list.
get_expression(id, download=False, **kwargs): Get the expression object.
get_expression_formats(): Get data formats.
get_expression_units(): Get units.
get_continuous_list(format, download=False, **kwargs): Get the continuous list.
For more information about the usage and parameters of these methods, please refer to the RNAget specs.
You can get rnaget-client from PyPI,
python -m pip install rnaget-client
Metadata
Release files for rnaget-client 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rnaget_client-0.0.1.tar.gz | 3.6 kB | Without provenance | Details for rnaget_client-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rnaget_client-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for rnaget_client-0.0.1-py3-none-any.whl |
Total release size: 7.8 kB
Release files / rnaget_client-0.0.1.tar.gz
| Download URL | rnaget_client-0.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b58bc6eeef1dc4c6bc328b7c092f22c84b0cee9b4f70ecc2b585e5c7f19fa466
|
|
BLAKE2b-256 checksum How to use checksums |
289629eb81eb6ae7a4432fe8b03e5eb2c132295dcb680c54ac3f9c0323c1db77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.10 Linux/5.15.0-1035-azure
|
Release files / rnaget_client-0.0.1-py3-none-any.whl
| Download URL | rnaget_client-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d301bbd374418a0b4ffa5339af06e39b7d3691e4de3b617b1fd326a7d1211cd
|
|
BLAKE2b-256 checksum How to use checksums |
75f9d81195d2710cf8289009e471e2eb21749aa53b5ede219eed71fc53e6e6a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.10 Linux/5.15.0-1035-azure
|
Security for rnaget-client 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.