CLI overview
Gravlax ships one binary, aie. Run aie --help for the command list and
aie <command> --help for the full option set of any subcommand. -h is the
short spelling of --help; aie --version (or -V) prints the installed
version.
User-facing commands
Section titled “User-facing commands”| Command | Purpose |
|---|---|
project |
Create a portable workspace and register named input resources |
plan |
Check, explain, snapshot, and run versioned YAML/JSON analyses |
doctor |
Diagnose the installation, project, and selected archives or annotations |
explore |
Browse exact project artifacts and export checked scientific plans from a loopback-only, read-only UI |
resolve |
Resolve gene, transcript, and exon identifiers against an explicit reference identity |
ingest |
Generate chemistry-specific STAR recipes and preflight BAM/whitelist inputs |
ingest-archive |
Build the .aie index from a compatible tagged, coordinate-sorted BAM |
compile-annotation |
Compile a GTF once into a checksummed, reusable .aic artifact |
export-molecule-bam |
Export the exact post-correction molecule abstraction for interchange or a function-matched BAM/CRAM baseline |
replay-rows |
Quantify a compatible GTF from an index using Gene or Velocyto semantics |
compare-annotations |
Compare two bound annotations on one fixed archive and explain count changes |
query |
Indexed region/junction queries, Boolean same-record predicates, APA, discovery, and transcript compatibility |
query … transcript-ecs |
Derive annotation-conditional transcript compatibility sets for archived UMI classes |
federate |
One junction query across N indexes |
cohort |
Coordinate-defined splice events across named indexes and groups |
collection |
Build a content-addressed federation and reverse-search events across samples, donors, and cell groups |
extend |
Propose evidence-supported per-gene 3′ annotation extensions |
stamp-genome |
Bind the reference-genome signature used by sequence-consulting analyses |
seal-archive |
Copy a legacy v1 archive into an authenticated v2 container without recompressing its sections |
inspect-archive |
Report archive identities and optionally verify every compressed payload |
completions |
Generate Bash, Zsh, or Fish completions from the installed command graph |
Conventions
Section titled “Conventions”- Loci are written
chrom:start-endusing 0-based, half-open intervals. Exact junction loci usechrom:donor-acceptor. - Whitelist files are the 10x barcode whitelists (one 16 bp barcode per
line, e.g.
3M-february-2018.txt). - Barcode lists (
--barcodes) define output column order for emitted matrices; pass thebarcodes.tsvyou want columns aligned to. - Matrix outputs are Matrix Market (
matrix.mtx+features.tsv+barcodes.tsv), the same layout STARsolo emits. - Scientific result commands select typed text/TSV/JSON with
--formatand optionally publish through--output. Commands whose primary product is an archive, matrix, BAM, annotation, or revised GTF use the parallel--report-format/--report-outputinterface. Omitting these flags preserves historical presentations. - The default thread budget is 24; heavy stages (ingest compression, replay decode) parallelize automatically.
The workflow and interfaces guide explains when to use direct commands, a checked project plan, Explorer, or Python, and explains the uniform-output contract alongside byte-compatible historical formats.