Skip to content

MaxasOP/BioMatrix-Analyzer

Repository files navigation

BioMatrix.AI

Bioinformatics platform built with Next.js, Supabase, and Gemini. Analyze DNA/RNA sequences, detect mutations, find ORFs, map restriction enzymes, and generate AI explanations.

Features

  • Sequence validation, GC% and nucleotide counts
  • DNA to RNA transcription and complement
  • Protein translation (standard genetic code)
  • ORF finder across reading frames
  • Restriction enzyme site scanning
  • Mutation detection between two sequences
  • Gemini-powered plain-language explanations
  • Supabase analysis history storage

Getting started

npm install
npm run dev

Environment variables

Copy the example file and fill in your keys:

cp .env.local.example .env.local

Required for Gemini:

  • GEMINI_API_KEY
  • GEMINI_MODEL (optional, defaults to gemini-1.5-flash)

Required for Supabase history:

  • NEXT_PUBLIC_SUPABASE_URL
  • NEXT_PUBLIC_SUPABASE_ANON_KEY
  • SUPABASE_TABLE (optional, defaults to analysis_history)

Supabase setup

  1. Create a Supabase project.
  2. Run supabase/schema.sql in the SQL editor.
  3. Add the Supabase env vars locally and in Vercel.

Deploy on Vercel

  1. Import the repo in Vercel.
  2. Set the root directory to ./.
  3. Add the env vars above or connect the Supabase integration.
  4. Deploy.

About

Bioinformatics platform built with Next.js, Supabase, and Gemini. Analyze DNA/RNA sequences, detect mutations, find ORFs, map restriction enzymes, and generate AI explanations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors