Commit fc86cebf authored by alessiamarcolini's avatar alessiamarcolini
Browse files

Create folder in Makefile

parent 6cd191ae
......@@ -3,6 +3,7 @@
# Author: Marco Chierici <chierici@fbk.eu>
# Date: 2017-05-12
#
.PHONY: init
SHELL := /bin/bash
......@@ -25,7 +26,11 @@ OUTPREFIX = $(notdir $(basename $(FILE)))
LEVEL1 = $(word 1,$(subst _, ,$(OUTPREFIX)))
LEVEL2 = $(word 2,$(subst _, ,$(OUTPREFIX)))
all: $(OUTDIR)/rSNFi/$(OUTPREFIX)_MCC_scores.txt $(OUTDIR)/rSNF/$(OUTPREFIX)_MCC_scores.txt $(OUTDIR)/juxt/$(OUTPREFIX)_MCC_scores.txt
init:
@mkdir -p $(OUTDIR)/rSNFi
@mkdir -p $(OUTDIR)/rSNF
all: init $(OUTDIR)/rSNFi/$(OUTPREFIX)_MCC_scores.txt $(OUTDIR)/rSNF/$(OUTPREFIX)_MCC_scores.txt $(OUTDIR)/juxt/$(OUTPREFIX)_MCC_scores.txt
$(OUTDIR)/juxt/$(OUTPREFIX)_RandomForest_KBest.log: $(FILE) $(LABEL)
......
......@@ -4,15 +4,14 @@
# output folder
OUT=results_tmp
# prepare output tree
mkdir -p $OUT/juxt
mkdir -p $OUT/rSNF
mkdir -p $OUT/rSNFi
# go!
make -f run_INF_RF-KBest.mk \
make all \
OUTBASE=${OUT} \
DATA1=data/AG1-G_145_LIT_ALL_tr.txt \
DATA2=data/CNV-G_145_LIT_ALL_tr.txt \
FILE=data/AG1-G_CNV-G_145_LIT_ALL_tr.txt \
LABEL=data/label_145_ALL-EFS_tr.lab
LABEL=data/label_145_ALL-EFS_tr.lab \
ENDPOINT=ALL-EFS
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment