From d011ca73bb2326b44f93418d73a771ad81f5e72e Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Wed, 3 Oct 2018 13:49:35 +1000 Subject: fix indenting and syntax error --- lib/references.nix | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/lib/references.nix b/lib/references.nix index 72c1243..042d1bc 100755 --- a/lib/references.nix +++ b/lib/references.nix @@ -6,14 +6,14 @@ rec { grch38 = grch38-p12; grch38-p12 = { seq = stdenvNoCC.mkDerivation rec { - name = "seq-grch38.${version}"; - version = "p12"; - src = fetchurl { - url = "ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_28/GRCh38.p12.genome.fa.gz"; - sha256 = "0ji2ggpmgnbpwbhq8mirj6h3lyy02nl2rnz7n892iq5cqpsblh4z"; - }; - buildCommand = "gunzip < $src > $out"; + name = "seq-grch38.${version}"; + version = "p12"; + src = fetchurl { + url = "ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_28/GRCh38.p12.genome.fa.gz"; + sha256 = "0ji2ggpmgnbpwbhq8mirj6h3lyy02nl2rnz7n892iq5cqpsblh4z"; }; + buildCommand = "gunzip < $src > $out"; + }; blacklist = stdenvNoCC.mkDerivation { name = "blacklist-grch38"; src = fetchurl { @@ -27,14 +27,13 @@ rec { grcm38 = grcm38-p6; grcm38-p6 = { seq = stdenvNoCC.mkDerivation rec { - name = "seq-grch38.${version}"; - version = "p6"; - src = fetchurl { - url = "ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_mouse/release_M19/GRCm38.${version}.genome.fa.gz"; - sha256 = "0ryiqab5bldpzawylsk2qpjxr2j701q03ww9jqyxhkimqpn9g3mr"; - }; - buildCommand = "gunzip < $src > $out"; + name = "seq-grch38.${version}"; + version = "p6"; + src = fetchurl { + url = "ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_mouse/release_M19/GRCm38.${version}.genome.fa.gz"; + sha256 = "0ryiqab5bldpzawylsk2qpjxr2j701q03ww9jqyxhkimqpn9g3mr"; }; + buildCommand = "gunzip < $src > $out"; }; }; -- cgit v1.2.3