diff options
-rw-r--r-- | examples/call.nix | 3 | ||||
-rw-r--r-- | examples/ex-nextflow/nextflow-example1.nix | 4 | ||||
-rw-r--r-- | examples/ex-tnpair/tnpair.nix | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/examples/call.nix b/examples/call.nix index 0e4ea05..90832ee 100644 --- a/examples/call.nix +++ b/examples/call.nix @@ -7,9 +7,10 @@ ,ref ? bionix.ref.grch38.seq }: with bionix; +with lib; let - preprocess = pipe [ + preprocess = flip pipe [ (bwa.align { inherit ref; }) (samtools.fixmate {}) (samtools.sort {}) diff --git a/examples/ex-nextflow/nextflow-example1.nix b/examples/ex-nextflow/nextflow-example1.nix index 0ec1cae..4f00431 100644 --- a/examples/ex-nextflow/nextflow-example1.nix +++ b/examples/ex-nextflow/nextflow-example1.nix @@ -24,7 +24,7 @@ let ''; }; -in pipe [ +in pipe input [ splitSequences (each reverse) -] input +] diff --git a/examples/ex-tnpair/tnpair.nix b/examples/ex-tnpair/tnpair.nix index ada96c8..51cd703 100644 --- a/examples/ex-tnpair/tnpair.nix +++ b/examples/ex-tnpair/tnpair.nix @@ -11,7 +11,7 @@ with lib; let input = mapAttrs (_: fetchFastQGZ); - preprocess = pipe [ + preprocess = flip pipe [ input (bwa.align { ref = fetchFastA ref; }) (samtools.fixmate {}) |