# This is an example pipeline specification to do multi-sample variant calling # with the Octopus variant caller. Each input is preprocessed by aligning # against a reference genome (defaults to GRCH38), fixing mate information, and # marking duplicates. Finally octopus is called over all samples. { bionix ? import { } , inputs , ref ? bionix.ref.grch38.seq }: with bionix; with lib; let preprocess = flip pipe [ (bwa.align { inherit ref; RG = {SM = "sample"; ID = "sample";};}) (samtools.sort { nameSort = true; }) (samtools.fixmate { }) (samtools.sort { }) (samtools.markdup { }) ]; in octopus.call { } (map preprocess inputs)