Debian Codegraph @

tests/cbcf_data/Makefile

raw symbols SCIP
1 ALL_VCF=$(wildcard *.vcf)
2 VCF=$(filter-out example_empty.vcf,$(ALL_VCF))
3
4 VCFGZ=$(VCF:%.vcf=%.vcf.gz)
5 BCF=$(VCF:%.vcf=%.bcf)
6
7 all: all.stamp
8
9 all.stamp: $(VCFGZ) $(BCF)
10 touch $@
11
12 %.vcf.gz: %.vcf
13 bgzip < $< > $@
14 tabix -f -p vcf $@ # create tbi index
15 bcftools index -f $@ # create csi index
16
17 %.bcf: %.vcf.gz
18 bcftools view -O b $< -o $@
19 bcftools index -f $@
20
21 example_empty.bcf: example_empty.vcf.gz
22 touch $@
23
24 clean:
25 -rm -rf all.lock all.stamp *.gz *.tbi *.csi *.bcf