TAFFISH

Tools And Flows Framework Intensify SHell

Don’t just run it. Reproduce it.

Keep your toolchain and the scripts you’ve written. Add a versioned TAFFISH prefix to your commands to reproduce your analysis step by step in your existing workflow.

No container backend is needed until you run a containerized tool.

sort.sh

Original
samtools sort -o sorted.bam reads.sam
With TAFFISH
taf-samtools-v1.23.1-r1 samtools sort -o sorted.bam reads.sam

[Shell users]: Add the versioned package name before the tool. Keep the same arguments and pipes.

Core position

Where does TAFFISH fit?

TAFFISH exposes the command in your shell. The container backend runs the tool with dependencies from the image or from external mounts.

04 03 02 01 TAFFISH
  1. ApplicationScripts & workflowsPythonNextflowSnakemake
  2. Command interfaceShell · TAFFISHbashzshfish
  3. RuntimeContainer backendDockerPodmanApptainer
  4. EnvironmentSoftware dependencies glibcSystem library RRuntime NumPyLanguage library GraphvizProgram

Project stories

Project history and maintainer’s notes

  1. Reproducing the MMC analysis The tools used to study multiple myeloma needed different versions of Python. The scripts showed which commands to run, but not which environment each one needed.
  2. A plan for a multi-omics analysis tool One early tool took a gene or a genomic position and looked up nearby hits across several sets of results.
  3. The idea for TAFFISH Hub If two workflows use the same tool, why package it twice? A shared library would let both use the same copy.
  4. The TAF DSL specification takes shape In a TAF script, a tag above the shell command specifies the container. The command itself stays the same.
  5. The early TAFFISH compiler The taffish compiler turned a .taf file into shell commands. With --dry-run, you could read those commands without running them.
  6. TAFFISH Hub takes shape Juicer and FastQC were among the tools in the Hub. By January 2025, the collection had grown to more than 20 tools and two workflows.
  7. First bioRxiv preprint The first preprint described TAFFISH as a workflow framework: each tool had its own package, and a workflow could call those packages in turn.
  8. TAFFISH core redesign After the rewrite, the Common Lisp compiler parsed the TAF script, bound its arguments and generated shell code in separate stages.
  9. TAFFISH goes open source The v0.8.0 release on GitHub included the source for the compiler and package manager under the Apache 2.0 license.
  10. Publication in Bioinformatics The first TAFFISH journal paper appeared online. Its focus was the individual shell command: how to rerun it with the same tool version and environment.
  11. Looking ahead We’re still working on TAFFISH and adding tools to the Hub.
History

TAFFISH History

From repeated analyses to the first working prototype, the Hub and the Bioinformatics paper.

Personal note

My TAFFISH Story

A maintainer’s account of the research questions and the scripts that led to TAFFISH.

Publication

Read and cite

Bioinformatics 2026;42(12):btag825

Kaiyuan Han1, Ting Wang1, Shishi Yuan1, Caiyi Ma2, Wei Su1, Xiaolong Li3, Kejun Deng1*, Hao Lin1*, and Hao Lyu1*.

* Corresponding authors.

  1. The Clinical Hospital of Chengdu Brain Science Institute, School of Life Science and Technology, University of Electronic Science and Technology of China
  2. School of Computer Science and Technology, Aba Teachers College
  3. OMIX Technologies Corporation
Figure 1: packaged tools and flows share the shell command pool with ordinary commands. Workflow engines can call them; container backends supply their runtime. Open full size.
Fig. 1 · The command layer · CC BY 4.0
DOI: 10.1093/bioinformatics/btag825
Fig. 1 · The command layer