ComparativeGenomicsToolkit / cactus

Official home of genome aligner based upon notion of Cactus graphs
Other
526 stars 111 forks source link

Cap number of minigraph construction batches #1445

Closed glennhickey closed 4 months ago

glennhickey commented 4 months ago

They are run in a follow-on chain and Toil apparently handles them with recursive calls. So having more than 999 results in a Python exception about a recursion limit being exceeded.

The default batch size is 50. This PR will boost it to whatever's needed (with a warning) to keep the number of jobs comfortably under 999, allowing inputs of more than 50k genomes to run through (this part of the pipeline) ok.