summaryrefslogtreecommitdiff
path: root/models/mutagenicity-padel/Makefile
blob: ca484b82c93f9337e2d4681da1d900965a2276c4 (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
LAZAR_BIN = ../../bin
PARAMETERS = independent_variable_type dependent_variable_type dependent_variable_values similarity_thresholds

all: crossvalidation/summaries metadata.json

# Crossvalidation

crossvalidation/summaries: crossvalidation
	$(LAZAR_BIN)/classification_summary.rb crossvalidation

crossvalidation: independent_variables
	$(LAZAR_BIN)/classification_crossvalidation.rb .

# Model

independent_variables: GenoTox-database.csv $(METADATA)
	$(LAZAR_BIN)/scale_independent_variables.rb $< 

# Metadata

metadata.json:
	echo '{"species":"Salmonella typhimurium","endpoint":"Mutagenicity","source":"http://cheminformatics.org/datasets/bursi/cas_4337.zip, http://doc.ml.tu-berlin.de/toxbenchmark/Mutagenicity_N6512.csv, https://data.europa.eu/euodp/data/storage/f/2017-07-19T142131/GENOTOX data and dictionary.xls","qmrf":{"group":"QMRF 4.10. Mutagenicity","name":"OECD 471 Bacterial Reverse Mutation Test"}}' > $@

# Model parameters

independent_variable_type:
	echo "numeric" > $@

dependent_variable_type:
	echo "binary" > $@

dependent_variable_values:
	echo -e "\"0\"\n\"1\"" > $@

similarity_thresholds:
	echo -e "0.2\n0.5" > $@