m3triq 0.2.12 → 0.2.13

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.
package/dist/cli.js CHANGED
@@ -25,7 +25,7 @@ const program = new Command();
25
25
  program
26
26
  .name('m3t')
27
27
  .description('M3TRIQ — protein-ligand analysis from the terminal')
28
- .version('0.2.12')
28
+ .version('0.2.13')
29
29
  .option('--json', 'Output as JSON (machine-readable)')
30
30
  .hook('preAction', (thisCommand) => {
31
31
  const opts = thisCommand.optsWithGlobals();
@@ -13,19 +13,14 @@ export function registerPredictCommands(program) {
13
13
  .action(async (sequence, opts) => {
14
14
  await runPredict(sequence, 'esmfold', opts.name);
15
15
  });
16
- // m3t predict alphafold2 — RETIRED (the alphafold2-nim VM was decommissioned in
17
- // favour of ESMFold2). Kept as a signpost so scripts get a clear redirect instead
18
- // of a job that silently fails on the deleted backend.
16
+ // m3t predict alphafold2 — AF2 (ptm) monomer via the self-hosted ColabFold service
17
+ // (the alphafold2-nim VM was retired; same AF2 weights, deep MSA from m3t_msa_server).
19
18
  predict.command('alphafold2')
20
- .argument('[sequence]', 'Amino acid sequence (single letter codes)')
19
+ .argument('<sequence>', 'Amino acid sequence (single letter codes, max 2048aa)')
21
20
  .option('--name <name>', 'Name for the prediction')
22
- .description('[RETIRED use `predict esmfold2`] AlphaFold2 single-sequence prediction')
23
- .action(async () => {
24
- process.stderr.write('AlphaFold2 has been retired (the self-hosted backend was decommissioned).\n' +
25
- 'Use ESMFold2 instead — higher accuracy and it folds complexes too:\n' +
26
- ' m3t predict esmfold2 --sequence <seq> # monomer\n' +
27
- ' m3t predict esmfold2 --chain A:<seq> --chain B:<seq> # complex\n');
28
- process.exit(2);
21
+ .description('AlphaFold2 (ptm) monomer prediction deep MSA + ColabFold (~5-15 min, +cold start)')
22
+ .action(async (sequence, opts) => {
23
+ await runPredict(sequence, 'alphafold2', opts.name);
29
24
  });
30
25
  // m3t predict esmfold2 — monomer OR multi-chain (antibody-antigen, PPI)
31
26
  predict.command('esmfold2')
@@ -101,7 +96,7 @@ async function runPredict(sequence, method, name) {
101
96
  });
102
97
  const url = jobUrl(consoleUrl, project.id, result.job_id);
103
98
  maybeOpenBrowser(url);
104
- const timeEst = method === 'alphafold2' ? '~15-20 minutes (varies with length)' : '~10 seconds';
99
+ const timeEst = method === 'alphafold2' ? '~5-15 minutes (deep MSA + ColabFold; +cold start)' : '~10 seconds';
105
100
  const data = { job_id: result.job_id, method, sequence_length: sequence.length, url };
106
101
  output(data, `${method} prediction created\nJob ID: ${result.job_id.substring(0, 8)}\nLength: ${sequence.length} residues\nEstimated: ${timeEst}`);
107
102
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "m3triq",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "description": "M3TRIQ \u2014 protein-ligand analysis from the terminal",
5
5
  "type": "module",
6
6
  "bin": {