@genobank/biofs 3.20.8 → 3.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"exec.js","sourceRoot":"","sources":["../../../src/commands/somatic-mutect/exec.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCH,4DAqIC;AA3KD,iDAA0C;AAC1C,uCAAyB;AACzB,2CAA6B;AAC7B,mDAAgD;AAgBhD,MAAM,UAAU,GAAG,iDAAiD,CAAC;AACrE,MAAM,YAAY,GAAG,mDAAmD,CAAC;AACzE,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,gBAAgB,IAAI,+CAA+C,CAAC;AAEvG,IAAI,MAAM,GAAkB,IAAI,CAAC;AACjC,MAAM,QAAQ,GAAa,EAAE,CAAC;AAC9B,SAAS,OAAO,CAAC,CAAS,IAAU,eAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;IAAC,IAAI,CAAC;QAAC,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC;IAAC,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC,CAAA,CAAC;AAAC,CAAC,CAAC,CAAC;AACnI,SAAS,GAAG,CAAC,GAAW,EAAE,IAAc,EAAE,KAAa;IACrD,OAAO,CAAC,oBAAoB,KAAK,EAAE,CAAC,CAAC;IAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAChF,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;QAAC,IAAI,CAAC;YAAC,EAAE,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG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IACtD,EAAE,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IAClE,GAAG,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,aAAa,gBAAgB,CAAC,EAAE,iBAAiB,CAAC,CAAC;IACpG,WAAW,EAAE,CAAC;IAEd,IAAI,CAAC,KAAK,EAAE,CAAC;QAAC,OAAO,CAAC,wCAAwC,CAAC,CAAC;QAAC,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;YAAC,IAAI,CAAC;gBAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;YAAC,CAAC;YAAC,OAAO,CAAC,EAAE,CAAC,CAAA,CAAC;QAAC,CAAC;QAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAAC,CAAC;IACvJ,OAAO,CAAC,0BAA0B,KAAK,cAAc,KAAK,uBAAuB,aAAa,IAAI,QAAQ,EAAE,CAAC,CAAC;IAC9G,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;QAAC,IAAI,CAAC;YAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAAC,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC,CAAA,CAAC;IAAC,CAAC;IACnE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC"}
@@ -15,11 +15,17 @@
15
15
  * ClaraJobNFT (pipeline label `somatic-mutect2`) on success.
16
16
  */
17
17
  export interface SomaticMutectSubmitOptions {
18
- tumorBam: string;
19
- normalBam: string;
18
+ tumorBam?: string;
19
+ normalBam?: string;
20
+ tumorBiocid?: string;
21
+ normalBiocid?: string;
20
22
  refFasta?: string;
23
+ intervalFile?: string;
24
+ streamNormal?: boolean;
25
+ streamThresholdGb?: string;
21
26
  lowMemory?: boolean;
22
27
  json?: boolean;
23
28
  }
29
+ export declare function validateSomaticMutectInputs(o: SomaticMutectSubmitOptions): void;
24
30
  export declare function somaticMutectSubmitCommand(caseId: string, options: SomaticMutectSubmitOptions): Promise<void>;
25
31
  //# sourceMappingURL=submit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"submit.d.ts","sourceRoot":"","sources":["../../../src/commands/somatic-mutect/submit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AASH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,wBAAsB,0BAA0B,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,0BAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,CAiDnH"}
1
+ {"version":3,"file":"submit.d.ts","sourceRoot":"","sources":["../../../src/commands/somatic-mutect/submit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AASH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,0BAA0B,GAAG,IAAI,CAS/E;AAED,wBAAsB,0BAA0B,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,0BAA0B,GAAG,OAAO,CAAC,IAAI,CAAC,CAoDnH"}
@@ -19,6 +19,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
19
19
  return (mod && mod.__esModule) ? mod : { "default": mod };
20
20
  };
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.validateSomaticMutectInputs = validateSomaticMutectInputs;
22
23
  exports.somaticMutectSubmitCommand = somaticMutectSubmitCommand;
23
24
  const chalk_1 = __importDefault(require("chalk"));
24
25
  const ora_1 = __importDefault(require("ora"));
@@ -26,6 +27,22 @@ const axios_1 = __importDefault(require("axios"));
26
27
  const credentials_1 = require("../../lib/auth/credentials");
27
28
  const logger_1 = require("../../lib/utils/logger");
28
29
  const constants_1 = require("../../lib/config/constants");
30
+ function validateSomaticMutectInputs(o) {
31
+ for (const [label, bam, bio] of [['tumor', o.tumorBam, o.tumorBiocid], ['normal', o.normalBam, o.normalBiocid]]) {
32
+ if (!bam && !bio)
33
+ throw new Error(`--${label}-biocid (or --${label}-bam gs://) is required`);
34
+ if (bam && bio)
35
+ throw new Error(`give --${label}-biocid or --${label}-bam, not both`);
36
+ if (bio && !bio.startsWith('biocid://'))
37
+ throw new Error(`--${label}-biocid must be a biocid:// identifier`);
38
+ if (bam && !bam.startsWith('gs://'))
39
+ throw new Error(`--${label}-bam must be a gs:// aligned BAM URI`);
40
+ }
41
+ if (o.refFasta && !o.refFasta.startsWith('gs://'))
42
+ throw new Error('--ref-fasta must be a gs:// fasta URI');
43
+ if (o.intervalFile && !o.intervalFile.startsWith('gs://'))
44
+ throw new Error('--interval-file must be a gs:// BED URI');
45
+ }
29
46
  async function somaticMutectSubmitCommand(caseId, options) {
30
47
  const spinner = (0, ora_1.default)('Submitting somatic-mutect (Parabricks Mutect2 tumor/normal) job to biofs-node...').start();
31
48
  try {
@@ -33,21 +50,21 @@ async function somaticMutectSubmitCommand(caseId, options) {
33
50
  if (!credentials)
34
51
  throw new Error('Not authenticated. Run "biofs login" first.');
35
52
  const apiBase = constants_1.CONFIG.API_BASE_URL;
36
- if (!options.tumorBam || !options.tumorBam.startsWith('gs://'))
37
- throw new Error('--tumor-bam must be a gs:// aligned BAM URI');
38
- if (!options.normalBam || !options.normalBam.startsWith('gs://'))
39
- throw new Error('--normal-bam must be a gs:// aligned BAM URI');
40
- if (options.refFasta && !options.refFasta.startsWith('gs://'))
41
- throw new Error('--ref-fasta must be a gs:// fasta URI');
53
+ validateSomaticMutectInputs(options);
42
54
  const jobId = `somamu-${caseId}-${Date.now()}`;
43
55
  spinner.text = `Submitting somatic-mutect for case ${caseId} -> biofs-node...`;
44
56
  const response = await axios_1.default.post(`${apiBase}/api_biofs_node/job`, {
45
57
  jobId,
46
58
  biosampleId: caseId,
47
59
  inputType: 'somatic-mutect', // discriminator; front routes this to the Parabricks GPU executor
48
- tumorBam: options.tumorBam,
49
- normalBam: options.normalBam,
60
+ tumorBam: options.tumorBam || '',
61
+ normalBam: options.normalBam || '',
62
+ tumorBiocid: options.tumorBiocid || '',
63
+ normalBiocid: options.normalBiocid || '',
50
64
  refFasta: options.refFasta || '',
65
+ intervalFile: options.intervalFile || '',
66
+ streamNormal: !!options.streamNormal,
67
+ streamThresholdGb: options.streamThresholdGb || '60',
51
68
  lowMemory: options.lowMemory !== false,
52
69
  creatorWallet: credentials.wallet_address,
53
70
  creatorSig: credentials.user_signature,
@@ -65,8 +82,8 @@ async function somaticMutectSubmitCommand(caseId, options) {
65
82
  console.log(` ${chalk_1.default.cyan('Job ID:')} ${response.data.jobId || jobId}`);
66
83
  console.log(` ${chalk_1.default.cyan('Case:')} ${caseId}`);
67
84
  console.log(` ${chalk_1.default.cyan('Caller:')} Parabricks mutectcaller (Mutect2 tumor/normal, GPU)`);
68
- console.log(` ${chalk_1.default.cyan('Tumor BAM:')} ${options.tumorBam}`);
69
- console.log(` ${chalk_1.default.cyan('Normal BAM:')} ${options.normalBam}`);
85
+ console.log(` ${chalk_1.default.cyan('Tumor BAM:')} ${options.tumorBiocid || options.tumorBam}`);
86
+ console.log(` ${chalk_1.default.cyan('Normal BAM:')} ${options.normalBiocid || options.normalBam}`);
70
87
  console.log(` ${chalk_1.default.cyan('Reference:')} ${options.refFasta || 'auto (hs37d5/b37 candidates)'}`);
71
88
  console.log(` ${chalk_1.default.cyan('Status:')} ${response.data.status || 'accepted'}`);
72
89
  console.log();
@@ -1 +1 @@
1
- {"version":3,"file":"submit.js","sourceRoot":"","sources":["../../../src/commands/somatic-mutect/submit.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;AAiBH,gEAiDC;AAhED,kDAA0B;AAC1B,8CAAsB;AACtB,kDAA0B;AAC1B,4DAA4D;AAC5D,mDAAgD;AAChD,0DAAoD;AAU7C,KAAK,UAAU,0BAA0B,CAAC,MAAc,EAAE,OAAmC;IAClG,MAAM,OAAO,GAAG,IAAA,aAAG,EAAC,kFAAkF,CAAC,CAAC,KAAK,EAAE,CAAC;IAChH,IAAI,CAAC;QACH,MAAM,WAAW,GAAG,MAAM,IAAA,4BAAc,GAAE,CAAC;QAC3C,IAAI,CAAC,WAAW;YAAE,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;QACjF,MAAM,OAAO,GAAG,kBAAM,CAAC,YAAY,CAAC;QAEpC,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;QAC/H,IAAI,CAAC,OAAO,CAAC,SAAS,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,OAAO,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;QAClI,IAAI,OAAO,CAAC,QAAQ,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;QAExH,MAAM,KAAK,GAAG,UAAU,MAAM,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,CAAC;AACH,CAAC"}
package/dist/index.js CHANGED
@@ -92,6 +92,7 @@ const enrich_1 = require("./commands/imaging/enrich");
92
92
  const compare_1 = require("./commands/imaging/compare");
93
93
  const reconcile_1 = require("./commands/imaging/reconcile");
94
94
  const register_2 = require("./commands/imaging/register");
95
+ const package_1 = require("./commands/imaging/package");
95
96
  const submit_3 = require("./commands/methyl/submit");
96
97
  const exec_1 = require("./commands/methyl/exec");
97
98
  const submit_4 = require("./commands/align-shard/submit");
@@ -108,6 +109,9 @@ const submit_9 = require("./commands/ont-variants/submit");
108
109
  const exec_7 = require("./commands/ont-variants/exec");
109
110
  const submit_10 = require("./commands/hifi-align/submit");
110
111
  const exec_8 = require("./commands/hifi-align/exec");
112
+ const register_derived_1 = require("./commands/register-derived");
113
+ const neoantigen_pipeline_1 = require("./commands/neoantigen-pipeline");
114
+ const onramp_https_1 = require("./commands/onramp-https");
111
115
  const submit_11 = require("./commands/pbsv/submit");
112
116
  const exec_9 = require("./commands/pbsv/exec");
113
117
  const submit_12 = require("./commands/repeat-genotype/submit");
@@ -1388,6 +1392,40 @@ imagingCmd
1388
1392
  process.exit(1);
1389
1393
  }
1390
1394
  });
1395
+ // imaging package — the organ package of a finished register job (per organ and timepoint: native volume, CT crop and mask,
1396
+ // slice table, GLB meshes, volume change with its measured repeatability floor), built on the GPU executor via biofs-node.
1397
+ imagingCmd
1398
+ .command('package <registerJobId>')
1399
+ .description('Build the organ package of a finished imaging register job (GPU via biofs-node)')
1400
+ .option('--organs <list>', 'comma separated organ names (default: the standard organ list)')
1401
+ .option('--no-floors', 'leave the repeatability floors out of the change table')
1402
+ .option('--wait', 'Wait for the GPU job and print the summary')
1403
+ .option('--quiet', 'Suppress progress output')
1404
+ .option('--json', 'Output as JSON')
1405
+ .action(async (registerJobId, options) => {
1406
+ try {
1407
+ await (0, package_1.imagingPackageCommand)(registerJobId, options);
1408
+ }
1409
+ catch (error) {
1410
+ logger_1.Logger.error(`imaging package failed: ${error}`);
1411
+ process.exit(1);
1412
+ }
1413
+ });
1414
+ imagingCmd
1415
+ .command('package-status <packageJobId>')
1416
+ .description('Status and summary of an organ package job')
1417
+ .option('--wait', 'Wait until the job finishes')
1418
+ .option('--quiet', 'Suppress progress output')
1419
+ .option('--json', 'Output as JSON')
1420
+ .action(async (packageJobId, options) => {
1421
+ try {
1422
+ await (0, package_1.imagingPackageStatusCommand)(packageJobId, options);
1423
+ }
1424
+ catch (error) {
1425
+ logger_1.Logger.error(`imaging package-status failed: ${error}`);
1426
+ process.exit(1);
1427
+ }
1428
+ });
1391
1429
  // Workspace commands — the shared intra-LLM case workspace (append-only,
1392
1430
  // hash-chained log that Claude Code + Grok Build co-edit via biofs-node).
1393
1431
  const workspaceCmd = program
@@ -2634,9 +2672,14 @@ const somaticMutectCmd = program
2634
2672
  somaticMutectCmd
2635
2673
  .command('submit <caseId>', { isDefault: true })
2636
2674
  .description('Submit a tumor/normal Mutect2 job to biofs-node (panel-design source for tumor-informed MRD)')
2637
- .requiredOption('--tumor-bam <gs>', 'gs:// aligned tumor BAM')
2638
- .requiredOption('--normal-bam <gs>', 'gs:// aligned matched-normal BAM (same reference)')
2675
+ .option('--tumor-biocid <biocid>', 'biocid:// of the aligned tumor BAM (registered to the signing biowallet)')
2676
+ .option('--normal-biocid <biocid>', 'biocid:// of the aligned matched-normal BAM (registered to the signing biowallet)')
2677
+ .option('--tumor-bam <gs>', 'gs:// aligned tumor BAM (legacy; prefer --tumor-biocid)')
2678
+ .option('--normal-bam <gs>', 'gs:// aligned matched-normal BAM (legacy; prefer --normal-biocid)')
2639
2679
  .option('--ref-fasta <gs>', 'Explicit gs:// reference fasta the BAMs were aligned to')
2680
+ .option('--interval-file <gs>', 'gs:// BED of the regions to call (default: whole genome)')
2681
+ .option('--stream-normal', 'Read the normal BAM in place through a read-only gcsfuse mount instead of copying it')
2682
+ .option('--stream-threshold-gb <n>', 'Stream (not copy) a normal larger than this many GB', '60')
2640
2683
  .option('--no-low-memory', 'Disable pbrun --mutect-low-memory')
2641
2684
  .option('--json', 'Output as JSON')
2642
2685
  .action(async (caseId, options) => {
@@ -2655,6 +2698,9 @@ somaticMutectCmd
2655
2698
  .requiredOption('--tumor-bam <gs>', 'gs:// aligned tumor BAM')
2656
2699
  .requiredOption('--normal-bam <gs>', 'gs:// aligned matched-normal BAM')
2657
2700
  .option('--ref-fasta <gs>', 'Explicit gs:// reference fasta')
2701
+ .option('--interval-file <gs>', 'gs:// BED of the regions to call (default: whole genome)')
2702
+ .option('--stream-normal', 'Read the normal BAM in place through a read-only gcsfuse mount instead of copying it')
2703
+ .option('--stream-threshold-gb <n>', 'Stream (not copy) a normal larger than this many GB', '60')
2658
2704
  .option('--ref <build>', 'Reference build hint appended by the executor spawner (ignored; --ref-fasta wins)', 'auto')
2659
2705
  .option('--no-low-memory', 'Disable pbrun --mutect-low-memory')
2660
2706
  .option('--hotspot <ctg:pos>', 'Identity sanity pileup locus', '12:25398284')
@@ -4321,6 +4367,223 @@ consentCmd
4321
4367
  process.exit(1);
4322
4368
  }
4323
4369
  });
4370
+ // ONRAMP_HTTPS_VERB_20261111: stream public HTTPS objects (hash-verified) into the vault under an owner biowallet, server side.
4371
+ const onrampHttpsCmd = program
4372
+ .command('onramp-https')
4373
+ .description('Stream public HTTPS objects into the BioRouter vault under an owner biowallet, hash-verified, server side (dispatched through biofs-node)');
4374
+ onrampHttpsCmd
4375
+ .command('submit')
4376
+ .description('Submit an on-ramp job; the manifest lists each object with its published sha256 and size')
4377
+ .requiredOption('--owner <biowallet>', 'Owner biowallet (a custodial biowallet is claimable)')
4378
+ .requiredOption('--serial <serial>', 'Origin biosample serial (never UNKNOWN)')
4379
+ .requiredOption('--case-id <id>', 'Case identifier (never a person name)')
4380
+ .requiredOption('--originlab <tag>', 'Origin lab or source tag, lowercase')
4381
+ .requiredOption('--manifest <file>', 'Manifest JSON: objects with url (or key with --base-url), sha256, bytes, optional dataset')
4382
+ .option('--base-url <url>', 'Base URL for catalog objects given as keys')
4383
+ .option('--key-prefix <prefix>', 'Only catalog keys that start with this prefix')
4384
+ .option('--wait', 'Poll until the job finishes')
4385
+ .option('--json', 'Emit JSON')
4386
+ .action(async (options) => { await (0, onramp_https_1.onrampHttpsSubmitCommand)(options); });
4387
+ onrampHttpsCmd
4388
+ .command('status <job>')
4389
+ .description('Show an on-ramp job')
4390
+ .option('--wait', 'Poll until done or failed')
4391
+ .option('--json', 'Emit JSON')
4392
+ .action(async (id, options) => { await (0, onramp_https_1.onrampHttpsStatusCommand)(id, options); });
4393
+ // NEOANTIGEN_PIPELINE_VERBS_20261111: evidence table and engine v2 design for a patient's somatic calls (dispatched through biofs-node; every input a biocid).
4394
+ const neoantigenEvidenceCmd = program
4395
+ .command('neoantigen-evidence')
4396
+ .description('Read-level evidence for every somatic missense call (tumor, normal, second assay, RNA) plus FilterMutectCalls status and TPM, as one features table (dispatched through biofs-node)');
4397
+ neoantigenEvidenceCmd
4398
+ .command('submit <caseId>')
4399
+ .description('Submit a neoantigen-evidence job; every input is a biocid')
4400
+ .requiredOption('--somatic-sqlite <biocid>', 'OpenCRAVAT somatic annotation sqlite of the tumor/normal callset')
4401
+ .requiredOption('--filtered-vcf <biocid>', 'FilterMutectCalls VCF of the same callset')
4402
+ .requiredOption('--tumor <biocid>', 'Aligned tumor BAM/CRAM')
4403
+ .requiredOption('--normal <biocid>', 'Aligned matched-normal BAM/CRAM')
4404
+ .option('--second-dna <biocid...>', 'Optional second tumor DNA assay (orthogonal evidence)')
4405
+ .option('--rna <biocid>', 'Optional tumor RNA BAM')
4406
+ .option('--tpm <biocid>', 'Optional gene TPM table')
4407
+ .option('--min-mapq <n>', 'Minimum mapping quality (default 20)')
4408
+ .option('--min-bq <n>', 'Minimum base quality (default 20)')
4409
+ .option('--label <text>', 'Case label (a case identifier, never a name)')
4410
+ .option('--executor <where>', 'auto (default): a healthy neoantigen worker agent, else this node; worker: only a worker, never falls back; local: only this node')
4411
+ .option('--owner <biowallet>', 'Owner biowallet when an operator runs the job for a custodial biowallet (default: the signer)')
4412
+ .option('--wait', 'Poll until the job finishes')
4413
+ .option('--json', 'Emit JSON')
4414
+ .action(async (caseId, options) => { await (0, neoantigen_pipeline_1.neoantigenEvidenceSubmitCommand)(caseId, options); });
4415
+ neoantigenEvidenceCmd
4416
+ .command('status <job>')
4417
+ .description('Show a neoantigen-evidence job (only the signer who submitted it can read it)')
4418
+ .option('--wait', 'Poll until done or failed')
4419
+ .option('--json', 'Emit JSON')
4420
+ .action(async (id, options) => { await (0, neoantigen_pipeline_1.neoantigenStatusCommand)('evidence', id, options); });
4421
+ const neoantigenDesignCmd = program
4422
+ .command('neoantigen-design')
4423
+ .description('Rank neoantigens from a neoantigen-evidence result with the genobank engine v2 and assemble the cassette (dispatched through biofs-node)');
4424
+ neoantigenDesignCmd
4425
+ .command('submit <caseId>')
4426
+ .description('Submit a neoantigen-design job; the evidence result is a biocid')
4427
+ .requiredOption('--evidence <biocid>', 'Result biocid of a neoantigen-evidence job')
4428
+ .option('--hla <alleles>', 'Comma separated class I alleles, for example HLA-A*02:01,HLA-A*29:02,HLA-B*38:01 (or give --hla-from)')
4429
+ .option('--hla-from <biocid>', 'Result biocid of a neoantigen-hla job: the design reads the germline alleles from its report and refuses a low confidence one')
4430
+ .option('--accept-low-confidence', 'With --hla-from: use a report flagged low confidence anyway (the design records that you did)')
4431
+ .option('--proteome <biocid>', 'GENCODE protein FASTA (default: the node reference)')
4432
+ .option('--n <count>', 'Cassette size, 1 to 50 (default 20)')
4433
+ .option('--weights <list>', 'presentation,foreignness,expression,clonality[,evidence] summing to 1 (default 0.45,0.25,0.20,0.10)')
4434
+ .option('--patient <label>', 'Case label (a case identifier, never a name)')
4435
+ .option('--expect <genes>', 'Comma separated genes, for a retrospective check only')
4436
+ .option('--executor <where>', 'auto (default): a healthy neoantigen worker agent, else this node; worker: only a worker, never falls back; local: only this node')
4437
+ .option('--owner <biowallet>', 'Owner biowallet when an operator runs the job for a custodial biowallet (default: the signer)')
4438
+ .option('--wait', 'Poll until the job finishes')
4439
+ .option('--json', 'Emit JSON')
4440
+ .action(async (caseId, options) => { await (0, neoantigen_pipeline_1.neoantigenDesignSubmitCommand)(caseId, options); });
4441
+ neoantigenDesignCmd
4442
+ .command('status <job>')
4443
+ .description('Show a neoantigen-design job (only the signer who submitted it can read it)')
4444
+ .option('--wait', 'Poll until done or failed')
4445
+ .option('--json', 'Emit JSON')
4446
+ .action(async (id, options) => { await (0, neoantigen_pipeline_1.neoantigenStatusCommand)('design', id, options); });
4447
+ const neoantigenHlaCmd = program
4448
+ .command('neoantigen-hla')
4449
+ .description('Class I and II HLA typing with T1K from the HLA gene windows of the germline BAM (optional tumor RNA cross-check, depth curve, unmapped reads), memory-capped (dispatched through biofs-node)');
4450
+ neoantigenHlaCmd
4451
+ .command('submit <caseId>')
4452
+ .description('Submit an HLA typing job; every input is a biocid')
4453
+ .requiredOption('--normal <biocid>', 'Aligned germline (matched normal) BAM/CRAM')
4454
+ .option('--rna <biocid>', 'Optional tumor RNA BAM for a cross-check')
4455
+ .option('--depth-curve <fractions>', 'Retype at these fractions of the read pairs (1 to 5, for example 0.5,0.25,0.1) to show how much depth the call needs')
4456
+ .option('--include-unmapped', 'Also type with the unmapped reads of the BAM and compare with the windows-only call')
4457
+ .option('--executor <where>', 'auto (default): a healthy neoantigen worker agent, else this node; worker: only a worker, never falls back; local: only this node')
4458
+ .option('--owner <biowallet>', 'Owner biowallet when an operator runs the job for a custodial biowallet (default: the signer)')
4459
+ .option('--wait', 'Poll until the job finishes')
4460
+ .option('--json', 'Emit JSON')
4461
+ .action(async (caseId, options) => { await (0, neoantigen_pipeline_1.neoantigenHlaSubmitCommand)(caseId, options); });
4462
+ neoantigenHlaCmd
4463
+ .command('status <job>')
4464
+ .description('Show an HLA typing job (only the signer who submitted it can read it)')
4465
+ .option('--wait', 'Poll until done or failed')
4466
+ .option('--json', 'Emit JSON')
4467
+ .action(async (id, options) => { await (0, neoantigen_pipeline_1.neoantigenStatusCommand)('hla', id, options); });
4468
+ const neoantigenFusionCmd = program
4469
+ .command('neoantigen-fusion')
4470
+ .description('Junction-spanning peptides of an RNA-confirmed in-frame fusion: reading frame found from the data, hybrid codon kept, proteome-novel peptides only, class I scored (dispatched through biofs-node)');
4471
+ neoantigenFusionCmd
4472
+ .command('submit <caseId>')
4473
+ .description('Submit a fusion junction peptide job; every input is a biocid')
4474
+ .requiredOption('--fusion-evidence <biocid>', 'Result biocid of a fusion-evidence job (junction sequences and RNA chimeric read support)')
4475
+ .requiredOption('--five-gene <symbol>', "5' partner gene symbol, for example CDH1")
4476
+ .requiredOption('--three-gene <symbol>', "3' partner gene symbol, for example NRG1")
4477
+ .option('--hla <alleles>', 'Comma separated class I alleles (or give --hla-from)')
4478
+ .option('--hla-from <biocid>', 'Result biocid of a neoantigen-hla job: the alleles come from its report, a low confidence one is refused')
4479
+ .option('--accept-low-confidence', 'With --hla-from: use a report flagged low confidence anyway (the job records that you did)')
4480
+ .option('--proteome <biocid>', 'GENCODE protein FASTA (default: the node reference)')
4481
+ .option('--min-templates <n>', 'Minimum chimeric RNA templates for the fusion to count as confirmed, 1 to 1000 (default 10)')
4482
+ .option('--executor <where>', 'auto (default): a healthy neoantigen worker agent, else this node; worker: only a worker, never falls back; local: only this node')
4483
+ .option('--owner <biowallet>', 'Owner biowallet when an operator runs the job for a custodial biowallet (default: the signer)')
4484
+ .option('--wait', 'Poll until the job finishes')
4485
+ .option('--json', 'Emit JSON')
4486
+ .action(async (caseId, options) => { await (0, neoantigen_pipeline_1.neoantigenFusionSubmitCommand)(caseId, options); });
4487
+ neoantigenFusionCmd
4488
+ .command('status <job>')
4489
+ .description('Show a fusion junction peptide job (only the signer who submitted it can read it)')
4490
+ .option('--wait', 'Poll until done or failed')
4491
+ .option('--json', 'Emit JSON')
4492
+ .action(async (id, options) => { await (0, neoantigen_pipeline_1.neoantigenStatusCommand)('fusion', id, options); });
4493
+ const neoantigenIndelCmd = program
4494
+ .command('neoantigen-indel')
4495
+ .description('Neoantigen peptides of somatic frameshift and in-frame indel calls: mutant protein rebuilt from the transcript, checked against the annotation, NMD flagged, class I scored (dispatched through biofs-node)');
4496
+ neoantigenIndelCmd
4497
+ .command('submit <caseId>')
4498
+ .description('Submit an indel and frameshift peptide job; every input is a biocid')
4499
+ .requiredOption('--somatic-sqlite <biocid>', 'The somatic annotation sqlite of the case')
4500
+ .option('--hla <alleles>', 'Comma separated class I alleles (or give --hla-from)')
4501
+ .option('--hla-from <biocid>', 'Result biocid of a neoantigen-hla job: the alleles come from its report, a low confidence one is refused')
4502
+ .option('--accept-low-confidence', 'With --hla-from: use a report flagged low confidence anyway (the job records that you did)')
4503
+ .option('--proteome <biocid>', 'GENCODE protein FASTA (default: the node reference)')
4504
+ .option('--gtf <biocid>', 'GENCODE annotation GTF (default: the node reference, GENCODE v44)')
4505
+ .option('--transcripts <biocid>', 'GENCODE transcript sequences (default: the node reference, GENCODE v44)')
4506
+ .option('--tpm <biocid>', 'Gene expression table (gene, TPM): joined to every call, so frameshift candidates in unexpressed genes can be told apart')
4507
+ .option('--rna <biocid>', 'Tumor RNA alignment (BAM): counts the reads that carry each call\'s allele, so a transcript predicted to be degraded can be told apart from one that is expressed')
4508
+ .option('--min-alt <n>', 'Minimum alternate reads in the tumor for a call to be scored, 1 to 200 (default 8)')
4509
+ .option('--genes <symbols>', 'Comma separated gene symbols: restrict the run to these genes (diagnostics)')
4510
+ .option('--executor <where>', 'auto (default): a healthy neoantigen worker agent, else this node; worker: only a worker, never falls back; local: only this node')
4511
+ .option('--owner <biowallet>', 'Owner biowallet when an operator runs the job for a custodial biowallet (default: the signer)')
4512
+ .option('--wait', 'Poll until the job finishes')
4513
+ .option('--json', 'Emit JSON')
4514
+ .action(async (caseId, options) => { await (0, neoantigen_pipeline_1.neoantigenIndelSubmitCommand)(caseId, options); });
4515
+ neoantigenIndelCmd
4516
+ .command('status <job>')
4517
+ .description('Show an indel and frameshift peptide job (only the signer who submitted it can read it)')
4518
+ .option('--wait', 'Poll until done or failed')
4519
+ .option('--json', 'Emit JSON')
4520
+ .action(async (id, options) => { await (0, neoantigen_pipeline_1.neoantigenStatusCommand)('indel', id, options); });
4521
+ const synapsePullCmd = program
4522
+ .command('synapse-pull')
4523
+ .description('Pull controlled-access research data from Synapse onto a worker, into your biowallet, with the Synapse id, version and MD5 as lineage (the Synapse token lives only on the worker; dispatched through biofs-node)');
4524
+ synapsePullCmd
4525
+ .command('submit <caseId>')
4526
+ .description('Submit a Synapse pull (or, with --list-only, only list sizes, MD5 and annotations: nothing is downloaded)')
4527
+ .option('--entities <ids>', 'Comma separated Synapse file ids, for example syn101,syn102 (up to 500)')
4528
+ .option('--folder <id>', 'A Synapse folder or project: every file under it (recursive), optionally filtered by --suffixes')
4529
+ .option('--suffixes <list>', 'With --folder: only files whose name ends with one of these, for example .fastq.gz,.bam')
4530
+ .option('--project <id>', 'The Synapse project the files belong to, recorded in the lineage')
4531
+ .option('--list-only', 'Do not download: write a manifest of names, sizes, MD5, versions and annotations (the compute estimate)')
4532
+ .option('--access-basis <text>', 'The approval this job runs under (a download is refused without it), 10 to 300 characters')
4533
+ .option('--max-total-bytes <n>', 'Refuse the job if the files total more than this many bytes (nothing is downloaded)')
4534
+ .option('--executor <where>', 'worker (the only value: the token exists only on a worker)')
4535
+ .option('--owner <biowallet>', 'Owner biowallet when an operator runs the job for a custodial biowallet (default: the signer)')
4536
+ .option('--wait', 'Poll until the job finishes')
4537
+ .option('--json', 'Emit JSON')
4538
+ .action(async (caseId, options) => { await (0, neoantigen_pipeline_1.synapsePullSubmitCommand)(caseId, options); });
4539
+ synapsePullCmd
4540
+ .command('status <job>')
4541
+ .description('Show a Synapse pull job (only the signer who submitted it can read it)')
4542
+ .option('--wait', 'Poll until done or failed')
4543
+ .option('--json', 'Emit JSON')
4544
+ .action(async (id, options) => { await (0, neoantigen_pipeline_1.neoantigenStatusCommand)('synapse', id, options); });
4545
+ const teslaGateCmd = program
4546
+ .command('tesla-gate')
4547
+ .description('The registered test of the case 1 evidence gate on the TESLA subjects: join variants to pMHC, apply the frozen gate, exact and permutation statistics (dispatched through biofs-node)');
4548
+ teslaGateCmd
4549
+ .command('submit <caseId>')
4550
+ .description('Submit the TESLA gate test; every input is a biocid and the code and protocol hashes must be the registered ones')
4551
+ .requiredOption('--outcomes <biocid>', 'The pMHC outcomes table made from the public TESLA supplement (Tables S4 and S7)')
4552
+ .requiredOption('--features <pairs...>', 'patient=biocid of that subject\'s neoantigen-evidence features table, repeatable: 1=biocid://... 2=biocid://...')
4553
+ .requiredOption('--code-sha256 <hex>', 'SHA-256 of tesla_gate.py as registered; the worker refuses any other code')
4554
+ .requiredOption('--protocol-sha256 <hex>', 'SHA-256 of the registered protocol')
4555
+ .requiredOption('--ledger-record <n>', 'The pre-registration ledger record number')
4556
+ .option('--proteome <biocid>', 'GENCODE protein FASTA (default: the node reference)')
4557
+ .option('--selftest', 'Randomize the labels within subject: proves the plumbing, says nothing about the gate')
4558
+ .option('--executor <where>', 'auto (default): a healthy neoantigen worker agent, else this node; worker: only a worker, never falls back; local: only this node')
4559
+ .option('--owner <biowallet>', 'Owner biowallet when an operator runs the job for a custodial biowallet (default: the signer)')
4560
+ .option('--wait', 'Poll until the job finishes')
4561
+ .option('--json', 'Emit JSON')
4562
+ .action(async (caseId, options) => { await (0, neoantigen_pipeline_1.teslaGateSubmitCommand)(caseId, options); });
4563
+ teslaGateCmd
4564
+ .command('status <job>')
4565
+ .description('Show a TESLA gate job (only the signer who submitted it can read it)')
4566
+ .option('--wait', 'Poll until done or failed')
4567
+ .option('--json', 'Emit JSON')
4568
+ .action(async (id, options) => { await (0, neoantigen_pipeline_1.neoantigenStatusCommand)('tesla_gate', id, options); });
4569
+ const registerDerivedCmd = program
4570
+ .command('register-derived')
4571
+ .description('Give a biocid, with lineage, to a derived biofile (dispatched through biofs-node)');
4572
+ registerDerivedCmd
4573
+ .command('gcs <gsUri>')
4574
+ .description('Register a job output that already sits in your own biowallet GCS prefix, in place (the node hashes it on the server)')
4575
+ .requiredOption('--type <biodata_type>', 'Biodata type of the new biocid, for example vcf, annotation, report')
4576
+ .requiredOption('--parent <biocid...>', 'Parent biocid(s) the output derives from (1 to 8, owned by you)')
4577
+ .option('--case-id <id>', 'Case identifier (never a person name)')
4578
+ .option('--filename <name>', 'Dataset name of the biocid (default: the object name)')
4579
+ .option('--category <cat>', 'dna | rna | clinical | imaging | protein', 'dna')
4580
+ .option('--json', 'Emit JSON')
4581
+ .action(async (gsUri, options) => { await (0, register_derived_1.registerDerivedGcsCommand)(gsUri, options); });
4582
+ registerDerivedCmd
4583
+ .command('read <biocid>')
4584
+ .description('Read back a small derived biofile of your own (5 MB cap; the node checks owner, consent and SHA-256, and so does this verb)')
4585
+ .option('--out <file>', 'Save to a file (mode 600) instead of printing')
4586
+ .action(async (biocid, options) => { await (0, register_derived_1.readDerivedCommand)(biocid, options); });
4324
4587
  // FLUENCY_LINEAGE_VERBS_20260730: make a genomics store AI-conversable, and report the metamorphosis.
4325
4588
  // Registered with the other groups, BEFORE the welcome banner and program.parse().
4326
4589
  const fluencyCmd = program