Output Layout#
CFTK writes results below <output_dir>/results.
Path |
Purpose |
|---|---|
|
Statistical power analysis outputs and plots. |
|
Append-only start and finish records for exact external commands, including return codes and working directories. |
|
Immutable beginner-run attempt directory containing stage state,
config/lock/options identity, exact |
|
Resolved total CPU budgets, parallel samples, per-sample threads, estimated peak threads, and detected scheduler allocation by stage. |
|
Automatically generated stage/artifact/command TSVs and evidence
figures for every terminal |
|
Core processing/QC summary. When |
|
Read-only downstream dependency, input, role, resource, and output
plan written by |
|
Immutable downstream-analysis attempt (schema-v2) containing the
selected preset, exact |
|
Advanced per-sample task scripts, finalizer scripts, and |
|
Completion markers written only after the generated cohort finalizer
succeeds. |
|
Preserved partial or damaged stage artifacts moved before a safe retry. |
|
Trimmed FASTQ files and trimming QC reports. |
|
Aligned BAM files and alignment metrics. |
|
Duplicate-marked BAM files, indexes, and |
|
Per-sample CpG methylation calls. |
|
Merged CpG matrix. |
|
QC result tables and figures. The beginner guide includes rendered examples for the fragment-length and methylation-distribution outputs. |
|
Differential result tables, PCA intermediates/figures, heatmaps, violin plots, and DMR outputs. Managed differential manifests also record the selected modalities and SHA-256 input-matrix signatures; managed DMR manifests record the selected samples and CpG bedGraph signatures. |
|
Occupancy features and |
|
WPS features and |
|
DELFI-style features and |
|
End motif features. |
|
Cleavage features. |
|
Deterministic targeted-fragmentomics intermediates: clipped panel
regions/bins, panel-read BAMs and indexes, and |
|
MESA performance, model, and LOOCV outputs. |
|
Self-contained HTML report. |
Completion Checks#
Launching a command is not enough to mark a workflow complete. Check command exit status, the command provenance ledger, logs, and expected files under the output directory before using downstream steps.
cftk run automates the stage-level subset of these checks. Its
expected-outputs.tsv and figures.tsv enumerate the exact required paths,
and run.json distinguishes planned, pending, running,
complete, complete_with_reporting_error, failed, interrupted,
skipped, resumed, and adopted states. Artifact validation checks
required file existence and nonempty content; it does not currently calculate
checksums for large outputs. Differential stage reuse is stricter: every
selected input matrix must match the SHA-256 signature stored in the trusted
analysis manifest. The final report links each differential TSV and shows
modality context, PCA/violin/heatmap figures, and a lowest-q navigation table
without applying a significance threshold.