diff options
author | l-d-s <distefano.l@wehi.edu.au> | 2019-05-30 16:57:20 +1000 |
---|---|---|
committer | l-d-s <distefano.l@wehi.edu.au> | 2019-05-30 16:58:10 +1000 |
commit | e4c0708d97949bb543e94ff5bdc558eb4c0c3dce (patch) | |
tree | fa17f92204dc8b0b50713c39a19b8a47422b1ab3 /tools | |
parent | fb1cf1c39109cdd0e76687e5788561407d01d629 (diff) |
picard-markDuplicates: Check for _any_ sorting of input
Diffstat (limited to 'tools')
-rw-r--r-- | tools/picard-markDuplicates.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/picard-markDuplicates.nix b/tools/picard-markDuplicates.nix index 8906f9e..6b15310 100644 --- a/tools/picard-markDuplicates.nix +++ b/tools/picard-markDuplicates.nix @@ -9,10 +9,10 @@ with lib; with types; assert (matchFiletype "picard-markDuplicates" { bam = _: true; } inputBam); +assert !(matchFileSorting "picard-markDuplicates" { none = _: true; } inputBam); -# Not sure what to do with sorting: behavior varies based on sortedness of input! -# See: https://broadinstitute.github.io/picard/command-line-overview.html#MarkDuplicates -# assert (matchFileSorting "picard-markDuplicates" { coord = _: true; } inputBam); +# Note that picard markDuplicates has different behaviour depending on whether the input +# is name-sorted or coordinate-sorted. stage { name = "picard-markDuplicates"; |