-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
48 lines (32 loc) · 1.55 KB
/
Makefile
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
UCSCURL = http://hgdownload.cse.ucsc.edu/goldenpath/hg19/liftOver/hg19ToHg38.over.chain.gz
ENSURL = ftp://ftp.ensembl.org/pub/assembly_mapping/homo_sapiens/GRCh37_to_GRCh38.chain.gz
CHAINS = resources/hg19ToHg38.over.chain.gz resources/GRCh37_to_GRCh38.chain.gz
GNOMADEXOMES=gnomad.exomes.r2.1.1.sites.vcf.bgz
GNOMADEXOMESTBI = $(GNOMADEXOMES).tbi
# TODO make urls platform specific (linux, macosx etc.)
.PHONY: chains
chains: ${CHAINS}
resources/hg19ToHg38.over.chain.gz:
cd resources; wget ${UCSCURL}
resources/GRCh37_to_GRCh38.chain.gz:
cd resources; wget ${ENSURL}
.PHONY: gnomad
gnomad: resources/$(GNOMADEXOMES) resources/$(GNOMADEXCOMESTBI)
resources/$(GNOMADEXOMES):
cd resources; wget https://storage.googleapis.com/gnomad-public/release/2.1.1/vcf/exomes/gnomad.exomes.r2.1.1.sites.vcf.bgz
resources/$(GNOMADEXOMESTBI):
cd resources; wget https://storage.googleapis.com/gnomad-public/release/2.1.1/vcf/exomes/gnomad.exomes.r2.1.1.sites.vcf.bgz.tbi
utils: liftOver liftOverMerge liftUp
chmod +x liftOver liftOverMerge liftUp
liftOver:
wget http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/liftOver
liftOverMerge:
wget http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/liftOverMerge
liftUp:
wget http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/liftUp
resources: grch38
grch38:
wget ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_29/GRCh38.p12.genome.fa.gz
resources/cancerhotspots.v2.maf:
cd resources; wget http://download.cbioportal.org/cancerhotspots/cancerhotspots.v2.maf.gz
cd resources; gunzip cancerhotspots.v2.maf.gz