diff options
author | Justin Bedo <cu@cua0.org> | 2021-10-29 17:39:01 +1100 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2021-10-29 17:39:01 +1100 |
commit | bac9248a5e08e8afdf5485a6e27cfe72e1ca5090 (patch) | |
tree | 8719a280b56122017d46b582cd3da8547dd3f548 /tools/gridss-computeSamTags.nix | |
parent | ab809b8c77efdad9fb54d3591a0193a1cbe888d1 (diff) |
treewide reformatting and simplification
- simplify with statix
- reformat with nixpkgs-fmt
Diffstat (limited to 'tools/gridss-computeSamTags.nix')
-rw-r--r-- | tools/gridss-computeSamTags.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tools/gridss-computeSamTags.nix b/tools/gridss-computeSamTags.nix index de44478..e07f6a5 100644 --- a/tools/gridss-computeSamTags.nix +++ b/tools/gridss-computeSamTags.nix @@ -1,5 +1,10 @@ -{ bionix, bwaIndexAttrs ? { }, faidxAttrs ? { }, flags ? null, config ? null -, heapSize ? "1G" }: +{ bionix +, bwaIndexAttrs ? { } +, faidxAttrs ? { } +, flags ? null +, config ? null +, heapSize ? "1G" +}: with bionix; with lib; @@ -11,7 +16,8 @@ let ref = matchFiletype "gridss-computeSamTags" { bam = x: x.ref; } input; sorted = matchFileSorting "gridss-computeSamTags" { name = _: true; } input; -in assert (sorted); +in +assert sorted; stage rec { name = "gridss-computeSamTags"; |