Skip to content
DNALinuxPublic

About

Multi agent for bioinformatics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

123 Commits

Folders and files

Repository files navigation

Tonina

Tonina is a curated collection of bioinformatics tools packaged as reusable Skills designed to work with AI agents like Hermes. These modular, well-documented tools enable genomic analysis and sequence processing through intelligent agent-driven workflows, including sequence quality control, genome assembly, alignment, and annotation.

Tonina is optimized to run on Linux and macOS. It integrates seamlessly with DNALinux, a specialized Linux environment developed by Toyoko Bio to provide a complete bioinformatics stack with agent support.

Overview

Tonina is part of the DNALinux ecosystem and serves as a complementary project to OmicsContainers. While OmicsContainers provides containerized versions of bioinformatics software hosted on Docker Hub, Tonina offers lightweight, self-contained implementations and integrations designed for direct use with AI agents, enabling seamless integration into intelligent analysis pipelines.

What's a Skill?

A Skill in Tonina is a self-contained tool or utility designed to be invoked by AI agents (such as Hermes), documented with:

  • A clear description of its purpose and use cases
  • CLI reference and usage examples
  • Implementation details (Docker-based or native)
  • When and how to use it in your workflow
  • Structured metadata for agent discovery and execution

Each Skill is located in its own directory within /skills/ and comes with a SKILL.md documentation file that includes machine-readable metadata enabling agents to understand and execute the tool appropriately.

Skills are provided in two platform-specific flavours, each in its own tree:

  • skills/hermes/<skill-name>/SKILL.md — Hermes format (metadata.hermes), with the fuller When to Use / Procedure / Pitfalls / Verification structure
  • skills/openclaw/<skill-name>/SKILL.md — OpenClaw format (metadata.openclaw), more concise and action-oriented

The Hermes variant is the reference version; the OpenClaw variant carries the same commands and examples in a shorter form.

Tonina runs wherever Hermes runs, making it ideal for both local development and production environments in Linux/macOS systems and the DNALinux platform.

Available Skills

Tonina includes 27 skills for bioinformatics analysis. The links below point at the Hermes format; the OpenClaw variants live in skills/openclaw/<skill-name>/SKILL.md (20 of the 27 are available there — the scRNA-seq and GEO skills are Hermes-only, and Linux-only).

Sequence Quality & Processing

  • FastQC — Quality control for raw sequencing data; identifies potential artifacts and systematic errors
  • Fastp — All-in-one FASTQ preprocessor for adapter trimming, filtering, and QC
  • PEAR — Merge overlapping paired-end Illumina reads into single assembled sequences
  • SeqSample — Lightweight Python utility to subsample or generate FASTA/FASTQ sequences for testing and validation

Sequence Alignment & Mapping

  • BWA-MEM — Map short reads to reference genomes with high accuracy
  • Minimap2 — Versatile sequence alignment for DNA, mRNA, and long reads against large databases
  • Samtools — Manipulate, convert, sort, index, and query SAM, BAM, and CRAM alignment files

Genome Assembly

  • SPAdes — De novo genome assembler for bacteria, plasmids, single-cell, and metagenomic data

Variant Discovery & Manipulation

  • GATK — SNP and indel calling for germline and somatic variants in high-throughput sequencing data
  • BCFtools — Variant calling and VCF/BCF file manipulation

Sequence Analysis & Primer Design

  • Primer3 — Design PCR primers, hybridization probes, and sequencing primers from DNA sequences
  • Biopython — Python toolkit for molecular biology: sequence manipulation, file parsing, BLAST, phylogenetics, and structural bioinformatics

Clustering, Alignment & Phylogeny

  • Clustal Omega — Multiple sequence alignment for proteins and nucleotides at large scale
  • MUSCLE — Fast and accurate multiple sequence alignment
  • CVTree — Generate phylogenetic trees from whole-genome sequences using composition vector analysis
  • Jellyfish — Fast, memory-efficient counting of k-mers in DNA sequences

Data Retrieval & Processing

  • NCBI Datasets — Download genomic data and metadata from NCBI databases
  • SRA Toolkit — Retrieve, convert, and analyze sequencing data from the NCBI Sequence Read Archive
  • GEO Sample Download — Download the processed supplementary files of any GEO sample (GSM accession), such as 10x count matrices (Linux only, Hermes only)

File Manipulation & Coordinate Operations

  • Tabix — Fast indexing and querying of TAB-delimited genomic position files
  • bedGraph to bigWig — Convert bedGraph coverage files to binary bigWig format for efficient visualization

Single-Cell RNA-seq (Seurat)

A ten-step scRNA-seq workflow, split into six skills that chain through .rds objects. All run in the dnalinux/scrnaseq_r_workflow container and are Linux-only. The workflow starts from the GEO Sample Download skill above.

  • Seurat Load + QC — Load 10x count matrices into Seurat and apply cell-level QC (Actions 1-3)
  • Seurat Normalize + HVG — LogNormalize each sample and select highly variable genes with VST (Actions 4-5)
  • Seurat HVG Report — Tabulate and visualize the selected HVGs per condition, with cross-condition comparison
  • Seurat Integration + RPCA — Select shared integration features, run per-sample PCA, and perform RPCA anchor integration (Actions 6-7)
  • Seurat Clustering + t-SNE — Build the latent space and neighbor graph, cluster, and compute t-SNE (Actions 8-9)
  • Seurat Cell-Type Annotation — Marker-driven cell-type annotation using AddModuleScore (Action 10)

Relationship to OmicsContainers

OmicsContainers is a comprehensive, curated collection of Docker containers for bioinformatics tools, maintained as part of the DNALinux project. It provides containerized implementations of 70+ bioinformatics tools with consistent, reproducible environments.

How Tonina relates to OmicsContainers:

  • OmicsContainers provides Docker images for a large suite of bioinformatics tools available from Docker Hub (e.g., dnalinux/spades, dnalinux/bwa, etc.)
  • Tonina offers a smaller, curated subset of tools with detailed, practical documentation and Skill-based abstraction
  • Many Tonina skills are built on top of OmicsContainers Docker images but add:
    • Step-by-step usage guides with real examples
    • Common parameter configurations and best practices
    • Integration points for multi-step workflows
    • Lightweight native implementations (where appropriate, like SeqSample)

Finding a tool:

  • If you need a specific bioinformatics tool → Check OmicsContainers for the containerized version
  • If you need practical guidance on how to use a tool → Check Tonina Skills for documentation and workflow examples

Getting Started

Prerequisites

Most Tonina Skills require either:

  • Docker — for containerized tools (e.g., SPAdes, Fastp)
  • Python 3.7+ — for native Python implementations (e.g., SeqSample)

Using a Skill

  1. Navigate to the skill's directory (pick the platform tree you need):

    cd skills/hermes/<skill-name>/    # or skills/openclaw/<skill-name>/
  2. Read the documentation:

    cat SKILL.md
  3. Follow the usage examples in the skill's SKILL.md file

Example: Quality Check and Subsample

Here's a typical workflow using multiple Tonina Skills:

# 1. Check quality of raw sequencing data
cd skills/hermes/fastqc
docker run ... dnalinux/fastqc reads.fastq.gz

# 2. Subsample reads for testing (using SeqSample)
cd ../seqsample
python3 main.py -i reads.fastq.gz -u 10000 -o subset.fastq

# 3. Align to reference (using BWA-MEM)
cd ../bwamem
docker run ... dnalinux/bwa-mem2 mem reference.fasta subset.fastq > aligned.sam

Testing Data

The TestingData/ directory contains sample data for validation and testing:

  • Reference genomes — Deinococcus radiodurans genome (FASTA)
  • Sequencing reads — Short-read Illumina FASTQ files

These are useful for:

  • Testing skill implementations
  • Learning how to structure input/output
  • Validating your bioinformatics pipeline setup

See TestingData/readme.md for details.

Implementation Notes

Docker-Based Skills

Most Tonina Skills leverage Docker images from OmicsContainers. When using containerized tools:

  • Ensure Docker is installed and running
  • Use volume mounts (-v) to access files on your host system
  • Consult individual skill documentation for container-specific parameters

Native Python Skills

SeqSample is a native Python implementation with no external dependencies (other than Python 3.7+). This makes it:

  • Fast and lightweight
  • Easy to integrate into scripts
  • Ideal for quick testing and data generation

License

Tonina is licensed under the GNU General Public License v3 (GPL-3.0). See the LICENSE file for details.

Contributing

We welcome contributions! To add a new skill or improve existing documentation:

  1. Create a new directory under skills/hermes/ and skills/openclaw/ with your tool name
  2. Add a SKILL.md file to each, following the documentation structure of existing skills in that tree
  3. Include practical examples and clear use cases
  4. Submit a pull request

Related Resources

Support

For issues, questions, or requests:

About

Multi agent for bioinformatics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages