Skip to main content

A tool to dissect biology of model organisms using genomic information

Project description

GSurgeon: the genomic surgeon

What is GSurgeon?

GSurgeon is an AI tool to dissect biology of model organisms through genomic information. It leverages LLM capabilities to send dynamic requests in natural language to genomic databases and extract any biological information.

What questions can you ask GSurgeon?

GSurgeon has been tested on questions related to model organisms involving markers, genes and traits.

As such it has good performance on queries such as:

  • Which genes on chromosome 1 of the mouse genome are related to inflammation and diabetes at the same time?
  • List traits measured in GeneNetwork that are related to diabetes.

Other queries in the realm of biology and genomics are also possible.

How to install and run GSurgeon?

1. Get the source code

You can clone this repository.

git clone https://github.com/johanmed/gsurgeon.git

2. Set tool parameters

GSurgeon expects a number of parameters to be defined for the surgery:

  • N_ITERATIONS: number of operations
  • MODEL_NAME: DSPy model identifier
  • API_KEY: provider key
  • EMAIL: email address for NCBI authentication

We recommend creating them in an environment file. For more details, see file env_example.

3. Add gsurgeon path to your search path

export PATH="$PATH:/path/to/project"

Replace the path above by yours. You can also add it to your file ~/.bashrc.

4. Run your query

gsurgeon --env-file env_example "Which genes on chromosome 1 of the mouse genome are related to inflammation and diabetes at the same time?"

Replace the query above by yours.

Why use GSurgeon?

1. Access to up-to-date biological information

Accessing genomic information is a pain. It requires knowledge of right databases to query but also skills to dig deep and find relevant information. GSurgeon makes the process easier for the community by providing a simpler, yet powerful interface to interact in real time with biological databases.

In the research ecosystem, this can be used for a variety of applications:

  • literature review
  • cross-checking of research findings against current knowledge
  • hypothesis exploration
  • biological link discovery
  • advanced bioinformatic analyses

2. Prevent hallucination, trust a bit more language models used in biology

Despite advances in language AI, hallucination remains a serious concern in biological research. GSurgeon offers a scalable solution by grounding generation in true information from biological databases. Current databases supported include:

  • GeneNetwork: database service to explore biology of model organisms with bioinformatic tools
  • NCBI: database service for access and analysis of biological information

3. Empower your LLM to handle with surgical precision the hard work for you with no limits

GSurgeon exploits reasoning capabilities of LLM to orchestrate the search of biological information. Using its knowledge of biological databases, it finds dynamically the best approach of answering or completing the task you have in mind.

The execution logic is abstracted to give full control to the agents. No need for extra coding!

The tool footprint is lightweight. Most of the computational resources required to run the system are handled by the provider. No need to have monstruous specs to get started!

GSurgeon can be executed on the command-line on any model, provided sufficient training.

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

gsurgeon-1.0.0.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

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

gsurgeon-1.0.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file gsurgeon-1.0.0.tar.gz.

File metadata

  • Download URL: gsurgeon-1.0.0.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.11 Linux/6.17.12-400.asahi.fc42.aarch64+16k

File hashes

Hashes for gsurgeon-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4bafe75d24dfd138c596dafef42c80c03da29d763d6c87e2918349cad848d713
MD5 d756886314496e04ddfdbfe3a5e06349
BLAKE2b-256 93859238718f28f46bab087858334e363afd1ddf805c36530f07dfe8772ce818

See more details on using hashes here.

File details

Details for the file gsurgeon-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gsurgeon-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.13.11 Linux/6.17.12-400.asahi.fc42.aarch64+16k

File hashes

Hashes for gsurgeon-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71812c5696996107d065b0bda1305dc7de3ab6127cb859d594e58a276d496082
MD5 00e1746da0805038bb0e4d236db2e94d
BLAKE2b-256 0b9ad105e5967c8fd61b2d4cc2de54af0e62f15a32e433c5e892a04363a2e273

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