aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2020-11-03 14:08:32 +1100
committerJustin Bedo <cu@cua0.org>2020-11-03 14:08:32 +1100
commita50933a96096d53c341b30d487362d0913977574 (patch)
tree408eac092e9f39dbe8c91e76cb34a573a931abdd /examples
parenta719ec06337643949bb0a9cbbecb7425340c49af (diff)
update example to not use explicit path reference
Diffstat (limited to 'examples')
-rw-r--r--examples/call.nix2
-rw-r--r--examples/default.nix4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/call.nix b/examples/call.nix
index 90832ee..8c4f073 100644
--- a/examples/call.nix
+++ b/examples/call.nix
@@ -2,7 +2,7 @@
# with the Platypus variant caller. Each input is preprocessed by aligning
# against a reference genome (defaults to GRCH38), fixing mate information, and
# marking duplicates. Finally platypus is called over all samples.
-{bionix ? import ./.. {}
+{bionix ? import <bionix> {}
,inputs
,ref ? bionix.ref.grch38.seq }:
diff --git a/examples/default.nix b/examples/default.nix
index e048f4e..9aace38 100644
--- a/examples/default.nix
+++ b/examples/default.nix
@@ -1,6 +1,6 @@
# This example uses the pipelines specified in the call.nix file on the
# synthetic data in this directory.
-{bionix ? import ./.. {}}:
+{bionix ? import <bionix> {}}:
with bionix;
@@ -16,7 +16,7 @@ let
};
input2 = fetchFastQ {
- url = "https://github.com/PapenfussLab/bionix/raw/master/examples/sample1-2.fq";
+ url = "https://github.com/PapenfussLab/bionix/raw/master/examples/sample1-2.fq";
sha256 = "0czk85km6a91y0fn4b7f9q7ps19b5jf7jzwbly4sgznps7ir2kdk";
};
}