Skip to main content

👓 GeneGist

Researchers often face challenges in deciphering the complex interactions and functions of systems of genes. GeneGist addresses this problem by providing detailed summaries and insights into gene behaviors, interactions, and their roles in biological processes.

This complexity arises from the vast array of gene interactions, regulatory mechanisms, and the multifaceted roles genes play in biological processes. GeneGist generates in-depth summaries and insights into gene behaviors and interactions, as well as their roles in biological pathways and systems.

GeneGist first scrapes and analyzes academic articles. GeneGist leverages the most advanced Large Language Models (LLMs) available to analyze this information. Using this distilled knowledge it produces biological process summaries.

GeneGist can also create Gene Reference Into Function (GeneRIFs) directly from scientific literature. GeneRIFs are concise sentence-like annotations, typically written by a human, that describe the function of a gene. GeneGist can construct GeneRIFs using generative AI technology based on LLMs.

License

Apache License

Installation

To install GeneGist, ensure you have Python 3.10 or higher. It can be installed via pip:

pip install genegist

Development

Installing Poetry

Poetry is required to handle dependencies and package management. To install Poetry, run:

curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -

Setting Up genegist

  1. Clone the repository:

    git clone [repository URL]
    cd genegist
    
  2. Install the dependencies using Poetry:

    poetry install
    

Usage

To use genegist, run the following command:

poetry run genegist [options]

Options

  • -g GENE, --gene GENE: Look up GeneRIFs for a given gene.

  • -s GENESET, --geneset GENESET: Look up GeneRIFs for a given gene set.

  • -f GENESET_FILE, --geneset-file GENESET_FILE: Look up GeneRIFs for a file containing a list of genes.

  • -p PROCESS, --process PROCESS: Find a biological process for the inputted gene set.

  • -d CREATE_DRY_RUN, --create-dry-run CREATE_DRY_RUN: Don't actually run the biological process finder, but save the gene summaries to a file.

  • -a, --abstracts: Also look up abstracts.

  • -r LOAD_DRY_RUN, --load-dry-run LOAD_DRY_RUN: Load the gene summaries from a file instead of running the LLM on them explicitly.

  • --llm {gpt-3.5-turbo-1106,gpt-4-1106-preview}: Specify the LLM to use.

  • -m ARTICLE, --article ARTICLE: Get the summary for a given PMID.

  • -t, --tasks: Run a given custom task. Currently only E3 ligase analysis is supported.

  • -y, --synthetic-generifs: Create synthetic generifs and save them to a tab-delimited file.

  • -i, --build-index: Build an embedding index for all the generifs.

Development

Running Tests

To run tests, use:

poetry run pytest

Metadata

Release files for genegist 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genegist 0.1.5
File Size Uploaded Provenance
genegist-0.1.5.tar.gz 14.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for genegist 0.1.5
File Interpreter ABI Platform
genegist-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 30.3 kB

Release files / genegist-0.1.5.tar.gz

Download URL genegist-0.1.5.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d6e75b4d2add7e12e02637aaf01dc50f0d290c301e603517c8ae94b359c1f814
BLAKE2b-256 checksum
How to use checksums
ca57c77a00f6cf2c3375a81da273ba87a05a1c6da900a4cef5e42721845b8f42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.1 Darwin/23.2.0

Release files / genegist-0.1.5-py3-none-any.whl

Download URL genegist-0.1.5-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f119c2febcb72997af04bc02fae940f9d681fb974576cf9b833cb4f27797e34
BLAKE2b-256 checksum
How to use checksums
6ecbaac9a2f630845f194ce30c88b9bb50e2ec92e611f3106388f60e54d5474a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.1 Darwin/23.2.0

Security for genegist 0.1.5

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page