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 +1 -1
- package/dist/commands/predict.js +7 -12
- package/package.json +1 -1
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.
|
|
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();
|
package/dist/commands/predict.js
CHANGED
|
@@ -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 —
|
|
17
|
-
//
|
|
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('
|
|
19
|
+
.argument('<sequence>', 'Amino acid sequence (single letter codes, max 2048aa)')
|
|
21
20
|
.option('--name <name>', 'Name for the prediction')
|
|
22
|
-
.description('
|
|
23
|
-
.action(async () => {
|
|
24
|
-
|
|
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
|
|
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
|
}
|