Skip to main content

Automate Stanford's GREAT browser

Project description

greatbrowser v1.1.1

A selenium implementation in python for Stanford's GREAT browser, allowing for quick and easy genomic analysis.

This repository can be installed as a module

pip install greatbrowser

with the available functions being accessible though

from greatbrowser import great_analysis, great_global_controls, great_get_options

A guide demonstrating how these functions may be used is available in the "tests" folder (see: "sample_usage")

The user experience is primarily built around a single function, great_analysis(), with the complementary functions great_get_options() and great_global_controls() providing context regarding some of the parameters for this function.

The current version supports the ability to find gene associations using probe sets as well the ability to download any GREAT-generated table or plot in dataframe form. UCSC genome browser implementation is also supported. Customizability is controlled through parameter tuning, some of which are specific, while others are encapsulated within the "global_settings" dictionary parameter as key options. More specific information is available in the great_analysis() docstring. Because the project uses switch statements, its requires python >= 3.10 to run. Analysis is limited to <200,000 regions.

This repository is ideal for individuals attempting to conduct many different analyses using GREAT across many different probe sets. It is fully functional with regards to its ability to modify table output settings, but is not ideal if one desires to perform highly custom visual modifications to specifically the raw barplot or hierarchy plots generated by GREAT.

Due to the nature of GREAT browser, sometimes errors may occur if too many requests are sent quick in succession. To parse this, use headless=0 and observe the results. HTTP Error 500 is the most common indicator that too many requests have been sent in a short interval. This can be resolved by either spacing out requests or resuming analysis at a later date. This repo does not automatically space requests.

This repository is not affiliated with the official GREAT browser and was developed solely for the sake of convenience.

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

greatbrowser-1.1.1.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

greatbrowser-1.1.1-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file greatbrowser-1.1.1.tar.gz.

File metadata

  • Download URL: greatbrowser-1.1.1.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for greatbrowser-1.1.1.tar.gz
Algorithm Hash digest
SHA256 8f3ffeeea503813a662a4578579a159fb2f8474b45ee2846c8bb11ef1dccf9b1
MD5 ec72a66cb23e17346b5aec7a8378026f
BLAKE2b-256 692416ee7bb6acf8c821a49e32e7ffa0cc8ba93dd9b4c10ff6af05ec0b35f083

See more details on using hashes here.

Provenance

File details

Details for the file greatbrowser-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: greatbrowser-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for greatbrowser-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e68eb1bca7c7e522742e822b368c1d327aa855bbd90459f2324eaf3596f4492
MD5 7f4862c65c1ebba2d0ca8f6c0cde9b24
BLAKE2b-256 322297a872f411850bff77111b98713239fd035b7236d023c75ff97674f5ddaa

See more details on using hashes here.

Provenance

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