After creating the pipeline configuration file, it is time to run it. COSAP comes with a pipeline runner currently supported by Snakemake. To create a COSAP PipelineRunner:
from cosap import PipelineRunnerrunner =PipelineRunner()
You can then run the pipeline with the previously created config:
COSAP supports the NVIDIA Parabricks suite for GPU accelerated tasks in several steps. Parabricks must be set up beforehand manually. To do this please follow the instructions at Parabricks Documentation.
After you set up Parabricks, you can activate it in the pipeline runner as follows:
from cosap import PipelineRunnerrunner =PipelineRunner(device="gpu")