Skip to content

Raise alignment size limits (HyPhyGlobals.ibf) - #148

Merged
stevenweaver merged 1 commit into
mainfrom
feat/raise-alignment-limits
Jul 31, 2026
Merged

Raise alignment size limits (HyPhyGlobals.ibf)#148
stevenweaver merged 1 commit into
mainfrom
feat/raise-alignment-limits

Conversation

@stevenweaver

Copy link
Copy Markdown
Member

Summary

Raises the alignment size limits in HyPhyGlobals.ibf. The previous caps were very restrictive — maxRELSize=75, maxFELSize=maxSLACSize=500 sequences — and were the practical ceiling on what users could submit in DM3.

New values were derived from the DM3 timing calculator (timingEstimates.js power-law fits), targeting a ~12h budget at 1000 sites on the 32-core backend.

Var Old New Methods
maxSLACSize 500 10000 SLAC, BGM, ASR, SBP
maxFELSize 500 25000 FEL
maxMEMESize =FEL 10000 MEME (un-aliased)
maxPRIMESize =FEL 5000 PRIME (un-aliased; costlier than FEL)
maxFUBARSize 5000 25000 FUBAR, FADE
maxRELSize 75 2000 RELAX, aBSREL (via maxBSRSize)
maxGARDSize 300 500 GARD (small; superlinear in taxa)
maxUploadSize 5000 25000 global species ceiling

maxDMSites (12000) unchanged.

Note: these values are compiled into the built SvelteKit client bundle, so a rebuild (BUILD_TARGET=node) is required for them to take effect at runtime — editing the source alone does not change the running limits.

Previous caps were very restrictive (maxRELSize=75, maxFEL/SLACSize=500).
New values derived from the DM3 timing calculator (timingEstimates.js
power-law fits, ~12h budget at 1000 sites on the 32-core backend):

  maxSLACSize   500  -> 10000
  maxFELSize    500  -> 25000
  maxMEMESize   (=FEL) -> 10000   (un-aliased from maxFELSize)
  maxPRIMESize  (=FEL) -> 5000    (un-aliased; PRIME costlier than FEL)
  maxFUBARSize  5000 -> 25000
  maxRELSize    75   -> 2000      (also lifts aBSREL via maxBSRSize)
  maxGARDSize   300  -> 500       (small; GARD is superlinear in taxa)
  maxUploadSize 5000 -> 25000     (global ceiling must be >= per-method caps)

maxDMSites (12000) unchanged. Note: these values are bundled into the
built client, so a rebuild is required for them to take effect.
@stevenweaver
stevenweaver merged commit d92bca9 into main Jul 31, 2026
2 checks passed
@stevenweaver
stevenweaver deleted the feat/raise-alignment-limits branch July 31, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant