From bac9248a5e08e8afdf5485a6e27cfe72e1ca5090 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Fri, 29 Oct 2021 17:39:01 +1100 Subject: treewide reformatting and simplification - simplify with statix - reformat with nixpkgs-fmt --- tools/gridss-assemble.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tools/gridss-assemble.nix') diff --git a/tools/gridss-assemble.nix b/tools/gridss-assemble.nix index 1a46eae..15e5ca6 100644 --- a/tools/gridss-assemble.nix +++ b/tools/gridss-assemble.nix @@ -1,12 +1,12 @@ { bionix -, bwaIndexAttrs ? {} -, faidxAttrs ? {} -, indexAttrs ? {} -, collectMetricsAttrs ? {} +, bwaIndexAttrs ? { } +, faidxAttrs ? { } +, indexAttrs ? { } +, collectMetricsAttrs ? { } , flags ? null , config ? null , heapSize ? "31g" -, workdirs ? [] +, workdirs ? [ ] , jobIndex ? null , jobNodes ? null }: @@ -36,7 +36,7 @@ let in assert (all sorted inputs); -assert (homoRef); +assert homoRef; stage rec { name = "gridss-assemble"; @@ -70,6 +70,6 @@ stage rec { touch $out cp -r out.gridss.working $work ''; - passthru.filetype = filetype.bam { ref = ref; sorting = sort.none {}; }; + passthru.filetype = filetype.bam { inherit ref; sorting = sort.none { }; }; passthru.multicore = true; } -- cgit v1.2.3