Open jeromekelleher opened 6 months ago
On LSF I have a bash
script:
N=$LSB_JOBINDEX
vcf2zarr dexplode-partition [ICF_DIR] $((N-1))
Then submit with bsub -J job_name[1-(NPARTS+1)]
Should we add a "--one-based" option to dexplode-partition
and dencode-partiton
? It's fiddly having to translate to zero-based in the shell for these things that want to go 1...N
Here's how you do it with xargs (for my own reference; in reality you'd use the worker processes option):