blob: f9581f8ff1004939e045f39e129e32937c21a345 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{ bionix ? import <bionix> { } }:
with bionix;
with pkgs;
with lib;
let
pair = {
normal = {
type = "reference";
inputs = {
input1 = {
url =
"ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR275/009/ERR2752449/ERR2752449_1.fastq.gz";
sha256 =
"52f8b1b1a58b60c66ce566371dfe7a1301a787e8521a4ee41019bbf4f4d18dfe";
};
input2 = {
url =
"ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR275/009/ERR2752449/ERR2752449_2.fastq.gz";
sha256 =
"9d1e2ea772bbdf5ff3ee6a44d2d4244155b7d195a37745a2028628e2543cd8f0";
};
};
};
tumour = {
type = "melanoma";
inputs = {
input1 = {
url =
"ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR275/000/ERR2752450/ERR2752450_1.fastq.gz";
sha256 =
"2b3c98c36c2b2b6bc4682401a592a900f8eb2a143f93494ee448d6b075c12ec7";
};
input2 = {
url =
"ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR275/000/ERR2752450/ERR2752450_2.fastq.gz";
sha256 =
"0569beded708ef520dadca45ab8a70bd890caf441a0ad3749397f315dc1d2e8c";
};
};
};
};
fetch = s: mapAttrs (_: fetchFastQGZ) s.inputs;
in import ./tnpair.nix {
inherit pair fetch bionix;
}
|