annopi-ts

annopi-ts

TypeScript bioinformatics pipeline workflow engine — YAML to shell to DAG execution.

What is annopi-ts?

annopi-ts is the TypeScript rewrite of annopi — a bioinformatics pipeline orchestration engine. It reads pipeline.yml and project.yml, expands parameters per sample, generates shell/*.sh scripts and tasks.yml, then executes tasks with checkpoint/resume via .sign files.

V1 Scope

V1 delivers:

CommandPurpose
annopi confValidate configs, generate scripts and tasks.yml
annopi runExecute pending tasks from tasks.yml
annopi installInstall or update task modules

V1 does not include annopi report. Report design targets ../rst — see the report design doc.

Packages

@seqyuan/annopi-core    Pure models, parsers, validators, param resolver, DAG
@seqyuan/annopi-node    File I/O, module loading, generators, runtime
@seqyuan/annopi     Command-line interface
@seqyuan/annopi-extension   TypeScript API for annovibe / OpenVibe
@seqyuan/annopi-report      Report helpers (depends on rst)

Report rendering uses the published rst packages:

@seqyuan/rst-renderer   Template + RST → HTML / Markdown / React
@seqyuan/rst-cli        rst-render CLI for report pipeline tasks

Execution Model

annopi-ts generates runcmd strings in tasks.yml for two executor modes:

Moderuncmd shapeRunner
local{runner} -i script -l N -t Mata or annotask (no local subcommand)
qsubsge{annotask} qsubsge -i script ...annotask with cluster options

Global runner paths are configured via pipeline deps:

deps:
  ata: /path/to/ata
  annotask: /path/to/annotask

See Runners for details.

Compatibility

annopi-ts aims for two kinds of compatibility with Python annopi:

  1. Config compatibility — both engines read the same pipeline.yml / project.yml
  2. Execution compatibility — both can run tasks.yml generated by the other

Architecture

pipeline.yml + project.yml


  annopi-core   (parse → validate → ParamResolver → DAG)


  annopi-node   (ScriptGenerator → TasksYmlGenerator → runPipeline)


  annopi CLI    (conf / run / install)

Get Started

  • Quick Start — clone, build, and run the example pipeline
  • Usageconf and run workflow
  • Runners — ata / annotask path configuration
  • Configuration — pipeline.yml and project.yml reference

On this page