File: clustering.makefile

package info (click to toggle)
cnvkit 0.9.12-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 96,464 kB
  • sloc: python: 12,407; makefile: 263; sh: 84; xml: 38
file content (19 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Clustered reference method
example_cnn_dir=~/code/cnvkit-examples/targeted

cnr_of_interest=TR_101.clustered.cnr TR_77.clustered.cnr TR_55.clustered.cnr TR_42.clustered.cnr

all: $(cnr_of_interest)

clean:
	rm -vf $(cnr_of_interest) ref-clustered.cnn

$(cnr_of_interest): \
	TR_%.clustered.cnr: \
	$(example_cnn_dir)/TR_%_T.targetcoverage.cnn \
	$(example_cnn_dir)/TR_%_T.antitargetcoverage.cnn \
	ref-clustered.cnn
	cnvkit.py fix $^ --cluster -o $@

ref-clustered.cnn: $(wildcard $(example_cnn_dir)/TR_*targetcoverage.cnn)
	cnvkit.py reference $^ --cluster -o $@