Skip to content

CodeXomics User Guide

Table of Contents

  1. Introduction
  2. Installation
  3. Getting Started
  4. Core Features
  5. AI Assistant
  6. External Tools
  7. Benchmark Testing
  8. Advanced Features
  9. Troubleshooting
  10. FAQ

Introduction

CodeXomics is an AI-native genome browser that combines traditional genomic analysis tools with a multi-agent AI assistant you can talk to โ€” one that drives the browser and runs analyses for you. This guide will help you get the most out of CodeXomics.

What Can CodeXomics Do?

  • ๐Ÿงฌ Genome Visualization - Interactive visualization of genomes, genes, and annotations
  • ๐Ÿค– AI-Powered Analysis - Natural language queries powered by multiple AI agents
  • ๐Ÿ”ฌ Protein Analysis - Structure prediction, network analysis, and pathway visualization
  • ๐Ÿ“Š Data Management - Project-based organization with support for multiple file formats
  • ๐Ÿ”Œ Extensible Platform - Plugin system and external tool integration
  • ๐Ÿ“ˆ Benchmark Testing - Comprehensive AI performance evaluation

Installation

Pre-built Binaries

Download the latest available build from the GitHub Releases page.

macOS

  1. Download the Intel or Apple Silicon DMG for the latest release
  2. Open the DMG file
  3. Drag CodeXomics to your Applications folder
  4. Right-click and select "Open" the first time (macOS security)

Windows

  1. Download the Windows installer or portable executable
  2. Run the installer and follow the prompts
  3. Launch from Start Menu or Desktop shortcut

Linux

  1. Download the AppImage, Debian package, or Snap package
  2. For AppImage: chmod +x CodeXomics-*.AppImage && ./CodeXomics-*.AppImage
  3. For Debian: sudo dpkg -i codexomics_*_amd64.deb

Building from Source

# Clone the repository
git clone https://github.com/Scilence2022/CodeXomics.git
cd CodeXomics

# Install dependencies
npm install

# Run in development mode
npm start

# Build for your platform
npm run build:mac     # macOS
npm run build:win     # Windows
npm run build:linux   # Linux

Getting Started

First Launch

When you first launch CodeXomics, you'll see the main interface with:

  • Header Bar - File operations, tools menu, and settings
  • Genome Viewer - Central visualization area
  • ChatBox - AI assistant interface (right sidebar)
  • Gene Details - Information panel (left sidebar)

Quick Start Workflow

1. Configure AI Models (Essential)

Before using AI features, configure your LLM providers:

Options โ†’ Configure LLMs

Add API Keys:

  • OpenAI: Get key from https://platform.openai.com/api-keys
  • Anthropic: Get key from https://console.anthropic.com/
  • Google: Get key from https://ai.google.dev/
  • SiliconFlow: Get key from https://siliconflow.cn/

Configure Multi-Agent Settings:

  • Enable multi-agent mode for complex analysis
  • Set coordinator and worker models
  • Configure collaboration parameters

Test Connection:

  • Click "Test Connection" for each provider
  • Verify successful connection before proceeding

2. Load Your First Genome

File โ†’ Load File โ†’ Select FASTA/GenBank file

Supported Formats:

  • FASTA (.fasta, .fa, .fna) - Sequence data
  • GenBank (.gb, .gbk) - Annotated sequences
  • GFF/GTF (.gff, .gtf) - Feature annotations
  • BED (.bed) - Genomic intervals
  • VCF (.vcf) - Variant data
  • BAM/SAM (.bam, .sam) - Read alignments

Sample Data: CodeXomics includes E. coli genome and pathway data for testing.

3. Start Exploring

Navigate the Genome:

  • Use the position slider to pan
  • Enter coordinates (e.g., "1000-5000") in the position input
  • Click zoom buttons (+/-) to adjust view scale
  • Right-click and drag to select regions

Search for Genes:

  • Type gene name in search box (e.g., "lacZ")
  • Press Enter to jump to gene location
  • View detailed information in the tabbed Gene Details sidebar (Left Panel)

Ask the AI:

  • Type questions in ChatBox (e.g., "What does the lacZ gene do?")
  • AI will use appropriate tools to answer
  • View conversation history and AI reasoning process

Core Features

Genome Visualization

Genome browser overview

The genome browser combines a feature track, GC content and skew, multi-track WIG data, the gene details sidebar, and a protein/sequence view.

Tracks

Gene Track ๐Ÿงฌ

  • Shows annotated genes and features
  • Color-coded by type (CDS, tRNA, rRNA, etc.)
  • Directional arrows indicate strand
  • Click to view detailed information

Sequence Track ๐Ÿ”ค

  • Displays DNA sequence
  • Adaptive density based on zoom level
  • Color-coded nucleotides (A, T, G, C)

GC Content & Skew Track ๐Ÿ“Š

  • Dynamic SVG visualization
  • Adaptive window sizing
  • Shows GC percentage and skew values
  • Useful for identifying genomic features

Variant Track ๐Ÿ”ฌ

  • Shows SNPs and mutations from VCF files
  • Quality scores and annotations
  • Filter by type and quality

Read Alignment Track ๐Ÿ“‹

  • Visualizes BAM/SAM alignments
  • Coverage depth display
  • Mismatch highlighting

Read alignment pileup

Base-level read pileup over a selected gene, with coverage depth shown above the aligned reads.

Aligned reads and references

Coverage and base-resolution read tracks alongside gene references and operons in the side panel.

Protein Track โš—๏ธ

  • Translated sequences
  • Protein features and domains
  • Link to structure prediction

Primer Track ๐Ÿงช

  • Designed primers rendered directly on the sequence view
  • Forward and reverse orientation indicated by arrow direction
  • Click a primer to open its details

Primer design on the sequence track

Designed primers (e.g. Test-P1) drawn over the sequence view, aligned to their target coordinates.

Track Controls

Resize Tracks:

  • Click and drag track headers to adjust height
  • Settings persist across sessions

Reorder Tracks:

  • Drag track headers to reorder
  • Customize your preferred layout

Toggle Tracks:

  • Click eye icon to show/hide tracks
  • Right-click for track-specific options

Gene Details Sidebar

The Gene Details sidebar provides a comprehensive, tabbed intelligence panel for exploring annotated genomic features.

Pinned Header

The header remains static, providing immediate access to core identifiers:

  • Gene Identifiers: Displays the gene name, locus tag, and feature type (e.g., CDS, mRNA).
  • Location Data: Shows exact genomic coordinates, strand orientation, and sequence length.
  • Operon Integration: Displays a color-coded operon badge for genes that are part of a coordinated transcriptional unit.

Global Actions

These buttons are always accessible above the tabs:

  • Edit Annotation: Modify gene metadata or structure.
  • Zoom to: Center the genome viewer on the selected feature.
  • Deep Research: Launch advanced AI analysis for functional discovery.
  • Search PDB / AlphaFold: Search for 3D protein structures (experimental or AI-predicted).

Tabbed Information Architecture

  • General Tab: Essential attributes, product descriptions, and unified literature citations.
  • GO Tab: Dedicated Gene Ontology terms for functional classification.
  • Pathways Tab: Metabolic context, including EC numbers, KEGG orthology (KO), and pathway maps.
  • Sequence Tab: High-quality rendering of DNA, CDS, and Protein sequences with line numbering.
  • Notes Tab: A workspace for user-defined qualitative notes.
  • Resources Tab: External database cross-references (db_xref) and project attachments.

Project Management

Creating Projects

File โ†’ New Project

Project Structure:

Documents/GenomeExplorer Projects/
โ””โ”€โ”€ MyProject/
    โ”œโ”€โ”€ data/                    # Project data files
    โ”œโ”€โ”€ MyProject.prj.GAI        # Project configuration
    โ””โ”€โ”€ metadata.json            # Project metadata

Project Files Include:

  • Genome sequences and annotations
  • AI conversation history
  • Custom annotations and features
  • Visualization preferences
  • Analysis results

Project View Modes

Grid View - Visual thumbnail layout List View - Compact file listing Details View - Full metadata display

Switch modes using: View โ†’ Grid/List/Details

File Operations

Loading Files

Single File:

File โ†’ Load File โ†’ Select file

Multiple Files:

File โ†’ Load Multiple Files โ†’ Select annotation files

Drag and Drop:

  • Drag files directly onto the genome viewer
  • Automatically detects file type
  • Prompts for additional information if needed

Exporting Data

Export Sequences:

Tools โ†’ Export โ†’ FASTA/GenBank/Protein

Export Features:

Tools โ†’ Export โ†’ GFF/BED

Export Analysis Results:

  • AI conversation logs
  • Benchmark test results
  • Network analysis data
  • Pathway visualizations

AI Assistant

ChatBox Interface

The ChatBox is your interface to CodeXomics' multi-agent AI system.

AlphaFold protein structure viewer

The ChatBox can drive analyses such as AlphaFold structure lookup, opening an interactive 3D protein viewer for the selected gene.

Basic Queries

Gene Information:

"What does the lacZ gene do?"
"Find all DNA polymerase genes"
"Show me genes involved in DNA repair"

Sequence Analysis:

"Calculate GC content of this region"
"Find ORFs in this sequence"
"Analyze codon usage for lacZ"

Navigation:

"Jump to position 1000"
"Show me the lac operon region"
"Find genes between 1000 and 5000"

Advanced Multi-Agent Queries

Complex Analysis:

"Perform a comprehensive analysis of the lac operon including:
- Gene annotation
- Protein structure prediction
- Pathway integration
- Regulatory elements"

Comparative Analysis:

"Compare GC content across multiple genomic regions"
"Find similar genes in other organisms"

Workflow Automation:

"Load E. coli genome, find ribosomal genes, export to FASTA"
"Analyze all genes in region 1000-10000 and generate summary"

Understanding AI Responses

Thinking Process:

  • Click "Show Thinking" to see AI reasoning
  • Understand tool selection decisions
  • View intermediate steps

Tool Calls:

  • AI automatically selects appropriate tools
  • View which tools were used
  • See tool parameters and results

Multi-Agent Coordination:

  • Coordinator assigns tasks to specialized agents
  • Workers execute specific analysis
  • Results are integrated and presented

AI Configuration

Model Selection:

  • Choose different models for different tasks
  • Coordinator vs Worker model configuration
  • Balance cost vs performance

Temperature Settings:

  • Lower (0.0-0.3): Precise, factual responses
  • Medium (0.4-0.7): Balanced creativity and accuracy
  • Higher (0.8-1.0): More creative, exploratory

Context Management:

  • AI maintains conversation context
  • Reference previous queries
  • Build on earlier analysis

External Tools

CodeXomics integrates with several powerful external tools.

ProGenFixer ๐Ÿ”ง

Purpose: Protein engineering and sequence optimization

Access:

Tools โ†’ External Tools โ†’ ProGenFixer
Keyboard: Cmd/Ctrl+Shift+P

Use Cases:

  • Optimize protein sequences
  • Fix problematic sequences
  • Predict stability
  • Design mutations

Deep Gene Research ๐Ÿงฌ

Purpose: Advanced gene analysis and research

Access:

Tools โ†’ External Tools โ†’ Deep Gene Research
Keyboard: Cmd/Ctrl+Shift+D

Features:

  • Exact CDS target binding through locus/protein identifiers
  • Identity-aware literature retrieval and citation filtering
  • Separate direct abstract-supported findings from exact GeneID-linked contextual bibliography; contextual papers are never used as annotation claims
  • Citation-bound proposal facts with exact PMID/DOI links and verified abstract spans
  • Concise, evidence-linked annotation proposals for curator review
  • Automatic storage of the completed full JSON report in the associated gene's Resources โ†’ Attachments list
  • A built-in searchable JSON viewer that expands and pages large reports on demand
  • Safe import of externally started DGR tasks through archive_annotation_research; CodeXomics re-derives and verifies the exact current CDS qualifier snapshot together with the task, citations, proposal, and target binding before allowing a ChangeSet

Research does not edit the genome directly. When direct literature evidence is available, the proposal includes a compact, citation-rich CDS Note that summarizes the report's key functional, pathway, regulatory, structural, and phenotype findings. Each literature sentence is bound to a verified PubMed abstract span. Review the proposed qualifier diff and its citations before approving a ChangeSet. The full report attachment is integrity checked each time it is opened.

CHOPCHOP ๐Ÿ”ฌ

Purpose: CRISPR design and analysis

Access:

Tools โ†’ External Tools โ†’ CHOPCHOP
Keyboard: Cmd/Ctrl+Alt+H

Capabilities:

  • sgRNA design
  • Off-target prediction
  • Primer design
  • Validation

KGML Pathway Viewer ๐Ÿ›ค๏ธ

Purpose: KEGG pathway visualization

Access:

Tools โ†’ KGML Pathway Viewer
Keyboard: Cmd/Ctrl+Shift+K

Features:

  • Interactive pathway maps
  • Gene highlighting
  • Metabolite information
  • Pathway export

STRING Networks ๐Ÿ”—

Purpose: Protein-protein interaction analysis

Access:

Tools โ†’ Bioinformatics Tools โ†’ STRING Networks

Analysis:

  • Interaction networks
  • Functional enrichment
  • Cluster analysis
  • Network export

Benchmark Testing

Evaluate AI performance with comprehensive benchmark suites.

Opening Benchmark Interface

Benchmark & Debug โ†’ Open Benchmark

Test Categories

1. Navigation Tests (4 tests)

  • Browser navigation
  • Position jumping
  • Gene search
  • Region selection

2. Analysis Tests (5 tests)

  • Sequence analysis
  • GC content calculation
  • Codon usage
  • ORF finding

3. Data Loading Tests (3 tests)

  • File loading
  • Format parsing
  • Data validation

4. Search Tests (4 tests)

  • Gene search
  • Feature search
  • Database queries
  • Result validation

5. External Database Tests (3 tests)

  • API integration
  • Data retrieval
  • Link validation

6. Workflow Tests (3 tests)

  • Multi-step analysis
  • Tool coordination
  • Result integration

Running Tests

Automatic Tests:

  1. Select test suites
  2. Configure LLM settings
  3. Click "Run Selected Tests"
  4. Monitor real-time progress
  5. Review results

Manual Tests:

  1. Follow step-by-step instructions
  2. Complete verification checklist
  3. Provide scores (0-10)
  4. Add comments
  5. Submit evaluation

Viewing Results

Progress Tracking:

  • Real-time progress bars
  • Test status indicators
  • Success/failure counts

Detailed Reports:

  • Individual test results
  • LLM interaction logs
  • Performance metrics
  • Error analysis

Export Options:

  • CSV export
  • JSON export
  • HTML reports
  • LLM conversation logs

Advanced Features

Conversation Evolution v2

Track AI reasoning and decision-making across conversations.

Features:

  • Conversation state tracking
  • Decision point analysis
  • Tool usage patterns
  • Performance metrics

Access:

Tools โ†’ Conversation Evolution

Plugin System

Extend CodeXomics with community plugins.

Plugin Marketplace:

Plugins โ†’ Marketplace

Available Plugins:

  • Biological Networks
  • Comparative Genomics
  • Metabolic Pathways
  • Structural Genomics
  • Population Genomics

Installing Plugins:

  1. Browse marketplace
  2. Click "Install" on desired plugin
  3. Plugin automatically integrates
  4. Access through Tools menu

MCP Integration

Model Context Protocol enables seamless tool integration.

Benefits:

  • Standardized tool interfaces
  • Cross-platform compatibility
  • Enhanced AI tool selection
  • Better error handling

Custom Annotations

Create your own genomic features.

Adding Features:

  1. Select sequence region
  2. Right-click โ†’ "Create Feature"
  3. Enter feature details
  4. Save to project

Feature Types:

  • CDS (Coding Sequence)
  • Gene
  • Regulatory Element
  • Repeat Region
  • Custom Type

Troubleshooting

Common Issues

AI Not Responding

Symptoms: ChatBox doesn't respond to queries

Solutions:

  1. Check API key configuration (Options โ†’ Configure LLMs)
  2. Verify internet connection
  3. Test connection using "Test Connection" button
  4. Check API quota/billing
  5. Try a different model provider

File Won't Load

Symptoms: Error loading genome file

Solutions:

  1. Verify file format is supported
  2. Check file isn't corrupted (open in text editor)
  3. Ensure file permissions allow reading
  4. Try smaller file first
  5. Check console for specific errors (View โ†’ Developer Tools)

Slow Performance

Symptoms: Interface feels sluggish

Solutions:

  1. Reduce number of visible tracks
  2. Close unused external tool windows
  3. Clear conversation history
  4. Restart application
  5. Check system resources (RAM, CPU)

Benchmark Tests Failing

Symptoms: Tests don't complete or fail unexpectedly

Solutions:

  1. Verify test data files are accessible
  2. Check LLM configuration
  3. Ensure working directory is correct
  4. Review test logs for specific errors
  5. Try individual tests instead of full suite

Getting Help

Check Documentation:

  • This user guide
  • Developer guide
  • API reference
  • Fix summaries in docs/

Report Issues:

  • GitHub Issues: https://github.com/Scilence2022/CodeXomics/issues
  • Include: Version, OS, steps to reproduce, error messages

Contact:

  • Email: songlf@tib.cas.cn
  • GitHub Discussions: https://github.com/Scilence2022/CodeXomics/discussions

FAQ

General Questions

Q: What file formats are supported?

A: FASTA, GenBank, GFF/GTF, BED, VCF, BAM/SAM, KGML, WIG, and .prj.GAI project files.

Q: Do I need an API key to use CodeXomics?

A: AI features require API keys from providers (OpenAI, Anthropic, etc.). Basic visualization and analysis tools work without API keys.

Q: Can I use local LLMs?

A: Yes! Configure a local LLM endpoint (e.g., Ollama) in LLM settings.

Q: Is my data sent to AI providers?

A: Only your queries and relevant context are sent to AI providers. Your genome data stays local unless explicitly requested in a query.

Technical Questions

Q: How much RAM do I need?

A: Minimum 6GB, recommended 12GB for large genomes and multi-agent mode.

Q: Can I run CodeXomics on older computers?

A: It depends on the genome size and features used. Try reducing active tracks and disabling multi-agent mode.

Q: How do I update CodeXomics?

A: Download the latest version from GitHub Releases and install over the existing version.

Q: Where are my projects saved?

A: By default in Documents/GenomeExplorer Projects/. You can change this in settings.

Feature Questions

Q: Can I compare multiple genomes?

A: Yes, through the Comparative Genomics plugin and multi-file loading.

Q: How do I export my analysis results?

A: Use Tools โ†’ Export or save the entire project (.prj.GAI format).

Q: Can I create my own plugins?

A: Yes! See the Developer Guide for plugin development instructions.

Q: How accurate is the AI analysis?

A: AI provides helpful insights but should be validated. Use benchmark tests to evaluate performance for your specific use cases.


Next Steps

Explore More:

Join the Community:

  • GitHub Discussions
  • Report bugs
  • Request features
  • Share your analysis workflows

Stay Updated:

  • Star the repository
  • Watch for releases
  • Follow changelog

CodeXomics v0.722 - Intelligent Bioinformatics Analysis with Multi-Agent AI

Made with โค๏ธ by the CodeXomics Team