Skip to content
DRAGGON-LabPublic
forked from cvtalrc/GC-AI

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

GC-AI

logo-GC-AI

GC-AI is a web application designed for symbol detection and SBOL3 file generation.

📖 Table of Contents


🖥️ Features

  • Symbol Detection: Leverages a trained ML model to identify and classify symbols in input images.
  • SBOL3 File Generation: Creates SBOL3 files based on user input and system rules.
  • File Conversion: Converts SBOL3 files to GenBank and/or FASTA formats.
  • Health Check: Provides an endpoint to verify the application's health.
  • Database Integration: Reads registry part metadata and sequences from MySQL.

Supported Glyphs

GC-AI detects 14 SBOL Visual glyph classes: promoter, ribosome entry site (RBS), CDS (cds), terminator, aptamer, CDS (arrow) (cds-arrow), engineered region, inert DNA spacer, non-coding RNA (ncrna), operator, origin of replication, origin of transfer, poly(A) site, and primer binding site.

Promoter Promoter Ribosome entry site (RBS) Ribosome entry site (RBS) CDS CDS Terminator Terminator Aptamer Aptamer CDS (arrow) CDS (arrow) Engineered region Engineered region Inert DNA spacer Inert DNA spacer Non-coding RNA Non-coding RNA Operator Operator Origin of replication Origin of replication Origin of transfer Origin of transfer Poly(A) site Poly(A) site Primer binding site Primer binding site

Glyphs are shown in the order listed above. See the detector configuration for the exact class names.


🧩 System Architecture

The following diagram illustrates the complete workflow of GC-AI, from the initial image input and AI detection to the generation of standardized SBOL3 files and optional conversions:

GC-AI Architecture Flow


⚙️ Installation

The installation and setup of this application for local use are provided in the following repository:

Please refer to that repository for detailed instructions on setting up and running the application.


🔗 API Endpoints

The full contract is in docs/openapi.yaml, with a guide and a worked walkthrough in docs/api_documentation.md.

Method Path Description
POST /inference/ Detects SBOL Visual glyphs in an image and returns their classes and bounding boxes.
GET /component/names Lists registry part names for a role.
GET /component/interactions Lists the participation roles an interaction type expects.
GET /component/details Returns one registry part with its description and sequence.
POST /file/create Generates SBOL3 documents for a design.
POST /file/convert Converts a generated document to GenBank and/or FASTA.
GET /healthcheck/ Readiness: 200 when detector and database are usable; otherwise 503.

To check whether a running instance is usable, call GET /component/names?role=Promoter: it succeeds only when the application is serving, the detection model has loaded and the parts database answers.


📁 Project Structure

app/: Contains the main application code, including subdirectories:

  • data_configs/: Configuration files for data management.
  • files_converted/: Stores converted files.
  • files_generated/: Stores generated files like SBOL3 outputs.
  • models/: Machine learning models and related files.
  • routes/: API route definitions.
  • utils/: Utility scripts for backend operations.
  • run.py: Entry point for the backend.
  • requirements.txt: Lists all dependencies.
  • gc-ai-backend.log: Log file for backend operations.

📚 Documentation

For a detailed API reference, user guide, and additional resources, visit the docs folder in this repository. This folder includes:

  • API Documentation: Detailed explanations of each endpoint, including parameters, request examples, and responses.
  • User Guide: Step-by-step instructions on how to use the application.
  • Examples Folder: Contains example files and use cases to better understand the functionality.
  • examples/: Runnable scripts that take a diagram to SBOL3 and put the result in a registry.
  • client/: A Python client and command line tool for the API, and an MCP server over it.

Video Tutorial

📝 License

This project is licensed under the MIT License. See the LICENSE file for details.

Hosted TLS/authentication, resource limits, and migration instructions: deployment. /livez provides dependency-independent liveness.

CPU research release work and remaining gates: qualification and epic #8 evidence.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages