From de8aba779f1e255838a6d583e5b311ab182ac910 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Fri, 26 Jul 2019 09:02:16 +1000 Subject: Simplify example --- examples/call.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/call.nix b/examples/call.nix index 212f430..0e4ea05 100644 --- a/examples/call.nix +++ b/examples/call.nix @@ -4,13 +4,13 @@ # marking duplicates. Finally platypus is called over all samples. {bionix ? import ./.. {} ,inputs -,ref ? null}: +,ref ? bionix.ref.grch38.seq }: with bionix; let preprocess = pipe [ - (bwa.align {ref = if ref == null then bionix.ref.grch38.seq else ref;}) + (bwa.align { inherit ref; }) (samtools.fixmate {}) (samtools.sort {}) (samtools.markdup {}) -- cgit v1.2.3