Sometimes, you need to run the pyigmap with limited amount of CPUs and RAM at every step. I think this can be implemented at the nextflow.config level with using --cpu <NUM> and --ram <NUM> as input parameters. By default, these parameters will be equal to the maximum size of the CPU and RAM on the machine