What is the purpose of forks in the CPAC default pipeline?

I’m trying to understand the fork logic in the default pipeline, i.e under “registration workflows”:

this is a fork point

  #   selecting both ['ANTS', 'FSL'] will run both and fork the pipeline

Hi, thank you for reaching out! This option is useful if you would like to use multiple different tools for one pipeline step. If you select both options to ‘fork’ the pipeline here, the output directory would contain two versions of each output. One version will have undergone anatomical registration with ANTS and one will have run with FSL. All of the other steps will be identical, but the two versions will split and essentially run in parallel once C-PAC reaches registration.

2 Likes