Quick Start
Install annopi, build from source, and run the example pipeline.
Prerequisites
- Node.js ≥ 18
- ata for local task execution (
../ata) - annotask for qsubsge cluster submission (
../annotask) — optional if all tasks useexecutor: local
Install
npm install -g @seqyuan/annopiOr with pnpm:
pnpm add -g @seqyuan/annopiVerify:
annopi --helpRun the Example Pipeline
The repo includes fixtures copied from Python annopi:
annopi conf \
-p tests/fixtures/annopi/pipeline.yml \
-c tests/fixtures/annopi/project.yml \
-o /tmp/annopi-outThis generates:
/tmp/annopi-out/
├── shell/
│ ├── 1-0-cellranger.sh
│ └── 2-0-qc.sh
└── tasks.ymlInspect the output:
cat /tmp/annopi-out/tasks.ymlThen execute:
annopi run -o /tmp/annopi-outCompleted tasks write a .sign file under shell/. Re-running annopi run skips done tasks.
Development
Clone the monorepo if you want to work on annopi-ts itself:
git clone https://github.com/seqyuan/annopi-ts.git
cd annopi-ts
pnpm install
pnpm build
pnpm test
pnpm typecheckLink the local CLI:
cd packages/cli
npm link
cd ../..
annopi conf -p ... -c ... -o ...Documentation Site
pnpm site:devOpen http://localhost:3000 for the English home page, or http://localhost:3000/zh for Chinese.
Next Steps
- Usage guide — conf/run workflow in detail
- Runners — configure ata and annotask paths
- Configuration — pipeline and project YAML reference