-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathref.nf
38 lines (34 loc) · 1.32 KB
/
ref.nf
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
Channel.from("foo").set { input_channel }
process make_ref {
echo true
storeDir "${params.ref_dir}"
input:
val(foo) from input_channel
output:
file("iGenomes/Homo_sapiens/UCSC/hg19/Sequence/WholeGenomeFasta/genome.fa")
file("iGenomes/Homo_sapiens/UCSC/hg19/Sequence/WholeGenomeFasta/genome.dict")
file("iGenomes/Homo_sapiens/UCSC/hg19/Sequence/WholeGenomeFasta/genome.fa.fai")
file("BWA/hg19")
file("Illumina/hg19/chrom.sizes")
file("msisensor/hg19/microsatellites.list")
file("contaminants/trimmomatic.fa")
file("gatk-bundle/1000G_phase1.indels.hg19.vcf")
file("gatk-bundle/1000G_phase1.indels.hg19.vcf.idx")
file("gatk-bundle/Mills_and_1000G_gold_standard.indels.hg19.vcf")
file("gatk-bundle/Mills_and_1000G_gold_standard.indels.hg19.vcf.idx")
file("gatk-bundle/dbsnp_138.hg19.vcf")
file("gatk-bundle/dbsnp_138.hg19.vcf.idx")
file("gatk-bundle/dbsnp_138.hg19.vcf.gz")
file("gatk-bundle/dbsnp_138.hg19.vcf.gz.tbi")
file("hg19/CosmicCodingMuts_v73.hg19.vcf")
file("hg19/CosmicCodingMuts_v73.hg19.vcf.idx")
file("hg19/common_all_20170710.vcf.gz.tbi")
file("hg19/common_all_20170710.vcf.gz")
script:
"""
wget https://genome.med.nyu.edu/results/external/NYU/snuderllab/ref.tar.gz
tar -xvzf ref.tar.gz
rm -f ref.tar.gz
mv ref/* .
"""
}