docs: establish reproducibility provenance contract
Browse filesCreate the public OTTER reproducibility dataset with its data card and per-file provenance schema. Fixture payloads will follow checksum and source validation.
- README.md +53 -0
- provenance/schema.json +102 -0
README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pretty_name: OTTER reproducibility data
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# OTTER reproducibility data
|
| 7 |
+
|
| 8 |
+
This public dataset contains versioned, real-data fixtures and provenance records used to reproduce the executable validation claims for **OTTER** (Orchestrated Transcriptomic, Tumor-xenograft, and Epigenomic Reporting Workflow).
|
| 9 |
+
|
| 10 |
+
## Scope
|
| 11 |
+
|
| 12 |
+
The dataset will contain compact, deterministic derivatives of accessioned sequencing data; BAM/BAI fixtures; expected outputs; Gate A–D oracles; RNA-PDX and BS-PDX mixture inputs; and Xenofilx parameter-sweep measurements. It does not contain manuscript materials, private Slurm controllers, full-scale production runs, or full reference-genome snapshots.
|
| 13 |
+
|
| 14 |
+
GitHub Actions consume this dataset for fixture-based checks only. They do not run full FASTQ mapping/alignment. Normal CI reference acquisition uses official upstream FASTA/GTF sources and pinned reference contracts. The separate [`fallingstar10/xdxtools-genomes`](https://huggingface.co/datasets/fallingstar10/xdxtools-genomes) dataset is the offline reference snapshot and is updated only after CI validation.
|
| 15 |
+
|
| 16 |
+
## Initial publication status
|
| 17 |
+
|
| 18 |
+
This initial revision establishes the public repository and the machine-readable provenance contract. Fixture files will be added only after their original accession, Paracloud source path, deterministic derivation method, size, SHA-256, and intended validation scope have been independently verified. No unreviewed legacy manifest or path-bearing log is included in this revision.
|
| 19 |
+
|
| 20 |
+
## Planned layout
|
| 21 |
+
|
| 22 |
+
```text
|
| 23 |
+
provenance/
|
| 24 |
+
schema.json
|
| 25 |
+
files.jsonl
|
| 26 |
+
checksums.sha256
|
| 27 |
+
fastqcx/
|
| 28 |
+
bamdriver/gate-a/
|
| 29 |
+
pairbam/gate-b/
|
| 30 |
+
xenofilx/rna-pdx/{gate-c,gate-d,mixing,parameter-sweep}/
|
| 31 |
+
xenofilx/bs-pdx/{gate-c,gate-d,mixing,parameter-sweep}/
|
| 32 |
+
methx/
|
| 33 |
+
qctb/
|
| 34 |
+
seq2mat/
|
| 35 |
+
matsrun/
|
| 36 |
+
enva/
|
| 37 |
+
craftmake/
|
| 38 |
+
otter/
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
Each line in `provenance/files.jsonl` conforms to `provenance/schema.json`. The required `owner` object identifies the repository, workflow, validation gate, and assay. The required `derivation` object records the SRA accession, Paracloud source path, method, seed when applicable, and input/output counts.
|
| 42 |
+
|
| 43 |
+
## Validation policy
|
| 44 |
+
|
| 45 |
+
- All supplied files are checksum-verified before use.
|
| 46 |
+
- RNA-PDX and BS-PDX evidence is independently scoped.
|
| 47 |
+
- Xenofilx parameter recommendations apply only to the documented assay and fixture.
|
| 48 |
+
- Results and logs from scientific CI are published as GitHub Actions artifacts, including failure cases.
|
| 49 |
+
- Full raw-read mapping, manuscript-scale benchmarking, and private Paracloud operations are outside GitHub-hosted CI.
|
| 50 |
+
|
| 51 |
+
## Citation
|
| 52 |
+
|
| 53 |
+
Use the future OTTER software release tag together with the exact Hugging Face dataset revision SHA shown by the workflow or provenance record.
|
provenance/schema.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
| 3 |
+
"$id": "https://huggingface.co/datasets/fallingstar10/otter-data/resolve/main/provenance/schema.json",
|
| 4 |
+
"title": "OTTER reproducibility file provenance",
|
| 5 |
+
"description": "One JSON object per file in provenance/files.jsonl.",
|
| 6 |
+
"type": "object",
|
| 7 |
+
"additionalProperties": false,
|
| 8 |
+
"required": [
|
| 9 |
+
"schema_version",
|
| 10 |
+
"dataset_revision",
|
| 11 |
+
"dataset_path",
|
| 12 |
+
"file_role",
|
| 13 |
+
"file_format",
|
| 14 |
+
"owner",
|
| 15 |
+
"derivation",
|
| 16 |
+
"counts",
|
| 17 |
+
"source_commit",
|
| 18 |
+
"size_bytes",
|
| 19 |
+
"sha256",
|
| 20 |
+
"created_at_utc"
|
| 21 |
+
],
|
| 22 |
+
"properties": {
|
| 23 |
+
"schema_version": {
|
| 24 |
+
"const": "otter.provenance.file/v1"
|
| 25 |
+
},
|
| 26 |
+
"dataset_revision": {
|
| 27 |
+
"type": "string",
|
| 28 |
+
"minLength": 1
|
| 29 |
+
},
|
| 30 |
+
"dataset_path": {
|
| 31 |
+
"type": "string",
|
| 32 |
+
"pattern": "^[^/].*"
|
| 33 |
+
},
|
| 34 |
+
"file_role": {
|
| 35 |
+
"enum": [
|
| 36 |
+
"fixture",
|
| 37 |
+
"oracle",
|
| 38 |
+
"expected_output",
|
| 39 |
+
"metric",
|
| 40 |
+
"log",
|
| 41 |
+
"reference_contract",
|
| 42 |
+
"parameter_grid",
|
| 43 |
+
"recommendation"
|
| 44 |
+
]
|
| 45 |
+
},
|
| 46 |
+
"file_format": {
|
| 47 |
+
"type": "string",
|
| 48 |
+
"minLength": 1
|
| 49 |
+
},
|
| 50 |
+
"owner": {
|
| 51 |
+
"type": "object",
|
| 52 |
+
"additionalProperties": false,
|
| 53 |
+
"required": ["repository", "workflow", "gate", "assay"],
|
| 54 |
+
"properties": {
|
| 55 |
+
"repository": { "type": "string" },
|
| 56 |
+
"workflow": { "type": "string" },
|
| 57 |
+
"gate": { "type": "string" },
|
| 58 |
+
"assay": { "type": "string" }
|
| 59 |
+
}
|
| 60 |
+
},
|
| 61 |
+
"derivation": {
|
| 62 |
+
"type": "object",
|
| 63 |
+
"additionalProperties": false,
|
| 64 |
+
"required": ["sra_accession", "paracloud_source_path", "method"],
|
| 65 |
+
"properties": {
|
| 66 |
+
"sra_accession": { "type": "string" },
|
| 67 |
+
"paracloud_source_path": { "type": "string" },
|
| 68 |
+
"method": { "type": "string" },
|
| 69 |
+
"random_seed": { "type": ["string", "null"] }
|
| 70 |
+
}
|
| 71 |
+
},
|
| 72 |
+
"counts": {
|
| 73 |
+
"type": "object",
|
| 74 |
+
"additionalProperties": false,
|
| 75 |
+
"required": ["unit", "input", "output"],
|
| 76 |
+
"properties": {
|
| 77 |
+
"unit": { "enum": ["reads", "pairs", "templates", "records", "files"] },
|
| 78 |
+
"input": { "type": ["integer", "null"], "minimum": 0 },
|
| 79 |
+
"output": { "type": ["integer", "null"], "minimum": 0 }
|
| 80 |
+
}
|
| 81 |
+
},
|
| 82 |
+
"source_commit": {
|
| 83 |
+
"type": "string",
|
| 84 |
+
"minLength": 7
|
| 85 |
+
},
|
| 86 |
+
"size_bytes": {
|
| 87 |
+
"type": "integer",
|
| 88 |
+
"minimum": 0
|
| 89 |
+
},
|
| 90 |
+
"sha256": {
|
| 91 |
+
"type": "string",
|
| 92 |
+
"pattern": "^[a-f0-9]{64}$"
|
| 93 |
+
},
|
| 94 |
+
"created_at_utc": {
|
| 95 |
+
"type": "string",
|
| 96 |
+
"format": "date-time"
|
| 97 |
+
},
|
| 98 |
+
"notes": {
|
| 99 |
+
"type": "string"
|
| 100 |
+
}
|
| 101 |
+
}
|
| 102 |
+
}
|