Skip to main content

Package for loading datasets from GREIN

Project description

Test Package

grein_loader

Python package to automatically download datasets from GREIN

http://www.ilincs.org/apps/grein

Introduction

Grein Loader enables users to access data from the GREIN website by using the GSE identification number

Installation

Install the package from pypi by using:

pip install grein_loader_py

Usage

The package allows you to download the description, metadata and the raw counts of a GREIN dataset based on the GSE id. The datasets from GREIN are publicly available and can be accessed via the GREIN webpage. Each dataset uses an GEO accession id which allows you to access its data.

load_dataset()

geo_accession = "GSE112749"
description, metadata, count_matrix = grein_loader.load_dataset(geo_accession)

Input/Output parameters

Input parameter:
| gse_id | string | GEO accession id

Output parameter: 
| description  | dictionary      | description of dataset
| metadata     | dictionary      | metadata of dataset
| count_matrix | pandas dataframe| numpy array of raw counts

load_overview()

loads a number of datasets from Grein, the datasets are also listed on the main paige of GREIN

number_of_datasets = 10
overview = loader.load_overview(number_of_datasets)

The function returns a list of dictionaries, each dictionary contains the GSE id, number of samples, species and description provided from GREIN.

Input parameter:
number_of_samples

Output parameter: 
list of dictionaries with, "geo_accession", no_samples", "species","title", "study_summary"

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

grein_loader-0.0.1.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

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

grein_loader-0.0.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file grein_loader-0.0.1.tar.gz.

File metadata

  • Download URL: grein_loader-0.0.1.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for grein_loader-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7686a1def0b3cf082b915f7735ad641a2e717ade2d13c670725e68e3a1fe1f03
MD5 c03cef1d395c4c812b45c54005a8987a
BLAKE2b-256 f8150dacfb7e8a89c1efcb09e6bfe41a8b92e932d439602dc3f3caa0257dabd2

See more details on using hashes here.

File details

Details for the file grein_loader-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: grein_loader-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for grein_loader-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a280d43b31d3a5dfc3b0a3ec35de29f0662c5b4012d848c6519f0be6b10af1b9
MD5 ce371f5a3c76a209573dbe6decc144b9
BLAKE2b-256 850ace2aeb1955b0291e996fe56e09e40b87ee80e605d3a774fa7f2343b7db97

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