Sometime some regions of the genome are hard to call to get VCF files.
The following Nextflow workflow use a divide-and-conquer strategy: if the region is hard to call - that is the process fails (here as an example in CALL_VARIANTS
the region must have a length lower than 10bp) - the error is ignored (errorStrategy=ignore
) , the region is divided into 10 smaller regions , and again, and again , until the caller is able complete the job.
Thanks Mahesh Binzer-Panchal for the help. https://nextflow.slack.com/archives/C02T98A23U7/p1738431084540439