| 1 |
# |
| 2 |
# makefile |
| 3 |
# |
| 4 |
|
| 5 |
TMP = /tmp |
| 6 |
USER := $(shell whoami) |
| 7 |
THIS_DIR := ${shell pwd} |
| 8 |
RESULTS = ${TMP}/${USER}/starch_regression_test/results/updating |
| 9 |
SRC = ${THIS_DIR}/src |
| 10 |
COMPEXT_DIR = ${THIS_DIR}/../compression_and_extraction |
| 11 |
COMPEXTRES_DIR = ${TMP}/${USER}/starch_regression_test/results/compression_and_extraction |
| 12 |
ORIGINAL_DIR = ${THIS_DIR}/../original_data |
| 13 |
ORIGINAL_DATA = ${TMP}/${USER}/starch_regression_test/data |
| 14 |
BED_INPUT = ${ORIGINAL_DATA}/data/random.bed |
| 15 |
FIMO_INPUT = ${ORIGINAL_DIR}/data/fimo.combined.xfac.1e-5.parsed.1M.starch |
| 16 |
PLATFORM := ${shell uname} |
| 17 |
BIN_DIR = ${THIS_DIR}/../binaries |
| 18 |
LINUX_BINDIR = ${BIN_DIR}/linux |
| 19 |
OSX_BINDIR = ${BIN_DIR}/osx |
| 20 |
VERSION = v2.2 |
| 21 |
VERSIONP = 2p2p0 |
| 22 |
|
| 23 |
all: archives tests |
| 24 |
|
| 25 |
archives: compext_archives |
| 26 |
|
| 27 |
tests: random_updating_tests |
| 28 |
@echo "[STARCH] randomized archive update tests passed!" |
| 29 |
|
| 30 |
compext_archives: |
| 31 |
@echo "[STARCH] making compression/extraction archives..." |
| 32 |
@test -s ${COMPEXTRES_DIR} || make -C ${COMPEXT_DIR} -f makefile archives |
| 33 |
@echo "[STARCH] archives are ready!" |
| 34 |
|
| 35 |
bed_input: |
| 36 |
@test -s ${BED_INPUT} || make -C ${ORIGINAL_DIR} -f makefile random.bed |
| 37 |
|
| 38 |
results_dir: |
| 39 |
@echo "[STARCH] making results directory..." |
| 40 |
@mkdir -p ${RESULTS} |
| 41 |
|
| 42 |
# --------------------------------------------- |
| 43 |
|
| 44 |
fimo_updating_tests: results_dir |
| 45 |
@echo "[STARCH] extracting v1.2 (bzip2-ed) FIMO archive..." |
| 46 |
ifeq (${PLATFORM},Linux) |
| 47 |
if [ ! -s ${RESULTS}/fimo.bzip2.expected ]; then ${LINUX_BINDIR}/${VERSION}/bin/unstarch ${FIMO_INPUT} > ${RESULTS}/fimo.bzip2.expected; fi |
| 48 |
endif |
| 49 |
ifeq (${PLATFORM},Darwin) |
| 50 |
if [ ! -s ${RESULTS}/fimo.bzip2.expected ]; then ${OSX_BINDIR}/${VERSION}/bin/unstarch ${FIMO_INPUT} > ${RESULTS}/fimo.bzip2.expected; fi |
| 51 |
endif |
| 52 |
@echo "[STARCH] making v1.2 (gzip) FIMO archive from bzip2-ed data..." |
| 53 |
ifeq (${PLATFORM},Linux) |
| 54 |
if [ ! -s ${RESULTS}/fimo.gzip.starch ]; then ${LINUX_BINDIR}/v1.2/bin/starch --gzip ${RESULTS}/fimo.bzip2.expected > ${RESULTS}/fimo.gzip.starch; fi |
| 55 |
endif |
| 56 |
ifeq (${PLATFORM},Darwin) |
| 57 |
if [ ! -s ${RESULTS}/fimo.gzip.starch ]; then ${OSX_BINDIR}/v1.2/bin/starch --gzip ${RESULTS}/fimo.bzip2.expected > ${RESULTS}/fimo.gzip.starch; fi |
| 58 |
endif |
| 59 |
@echo "[STARCH] extracting v1.2 (gzip-ed) FIMO archive..." |
| 60 |
ifeq (${PLATFORM},Linux) |
| 61 |
if [ ! -s ${RESULTS}/fimo.gzip.expected ]; then ${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/fimo.gzip.starch > ${RESULTS}/fimo.gzip.expected; fi |
| 62 |
endif |
| 63 |
ifeq (${PLATFORM},Darwin) |
| 64 |
if [ ! -s ${RESULTS}/fimo.gzip.expected ]; then ${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/fimo.gzip.starch > ${RESULTS}/fimo.gzip.expected; fi |
| 65 |
endif |
| 66 |
@echo "[STARCH] taking v1.2 (gzip) FIMO archive and starchcat-ing it to new v2.2 bzip2 and gzip archives..." |
| 67 |
ifeq (${PLATFORM},Linux) |
| 68 |
if [ ! -s ${RESULTS}/fimo_1p2p0_gzip_to_${VERSIONP}_bzip2.starch ]; then ${LINUX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${RESULTS}/fimo.gzip.starch > ${RESULTS}/fimo_1p2p0_gzip_to_${VERSIONP}_bzip2.starch; fi |
| 69 |
if [ ! -s ${RESULTS}/fimo_1p2p0_gzip_to_${VERSIONP}_gzip.starch ]; then ${LINUX_BINDIR}/${VERSION}/bin/starchcat --gzip ${RESULTS}/fimo.gzip.starch > ${RESULTS}/fimo_1p2p0_gzip_to_${VERSIONP}_gzip.starch; fi |
| 70 |
endif |
| 71 |
ifeq (${PLATFORM},Darwin) |
| 72 |
if [ ! -s ${RESULTS}/fimo_1p2p0_gzip_to_${VERSIONP}_bzip2.starch ]; then ${OSX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${RESULTS}/fimo.gzip.starch > ${RESULTS}/fimo_1p2p0_gzip_to_${VERSIONP}_bzip2.starch; fi |
| 73 |
if [ ! -s ${RESULTS}/fimo_1p2p0_gzip_to_${VERSIONP}_gzip.starch ]; then ${OSX_BINDIR}/${VERSION}/bin/starchcat --gzip ${RESULTS}/fimo.gzip.starch > ${RESULTS}/fimo_1p2p0_gzip_to_${VERSIONP}_gzip.starch; fi |
| 74 |
endif |
| 75 |
@echo "[STARCH] extracting (gzip) v1.2-to-v2.2 bzip2 and gzip FIMO archive..." |
| 76 |
ifeq (${PLATFORM},Linux) |
| 77 |
if [ ! -s ${RESULTS}/fimo.gzip_to_bzip2.observed ]; then ${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/fimo_1p2p0_gzip_to_${VERSIONP}_bzip2.starch > ${RESULTS}/fimo.gzip_to_bzip2.observed; fi |
| 78 |
if [ ! -s ${RESULTS}/fimo.gzip_to_gzip.observed ]; then ${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/fimo_1p2p0_gzip_to_${VERSIONP}_gzip.starch > ${RESULTS}/fimo.gzip_to_gzip.observed; fi |
| 79 |
endif |
| 80 |
ifeq (${PLATFORM},Darwin) |
| 81 |
if [ ! -s ${RESULTS}/fimo.gzip_to_bzip2.observed ]; then ${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/fimo_1p2p0_gzip_to_${VERSIONP}_bzip2.starch > ${RESULTS}/fimo.gzip_to_bzip2.observed; fi |
| 82 |
if [ ! -s ${RESULTS}/fimo.gzip_to_gzip.observed ]; then ${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/fimo_1p2p0_gzip_to_${VERSIONP}_gzip.starch > ${RESULTS}/fimo.gzip_to_gzip.observed; fi |
| 83 |
endif |
| 84 |
@echo "[STARCH] diff-ing v1.2 (gzip, extracted) and v1.2-to-v2.2 (bzip2, observed)..." |
| 85 |
diff --brief ${RESULTS}/fimo.gzip.expected ${RESULTS}/fimo.gzip_to_bzip2.observed |
| 86 |
@echo "[STARCH] diff-ing v1.2 (gzip, extracted) and v1.2-to-v2.2 (gzip, observed)..." |
| 87 |
diff --brief ${RESULTS}/fimo.gzip.expected ${RESULTS}/fimo.gzip_to_gzip.observed |
| 88 |
@echo "[STARCH] taking v1.2 (bzip2) FIMO archive and starchcat-ing it to new v2.2 bzip2 and gzip archives..." |
| 89 |
ifeq (${PLATFORM},Linux) |
| 90 |
if [ ! -s ${RESULTS}/fimo_1p2p0_bzip2_to_${VERSIONP}_bzip2.starch ]; then ${LINUX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${FIMO_INPUT} > ${RESULTS}/fimo_1p2p0_bzip2_to_${VERSIONP}_bzip2.starch; fi |
| 91 |
if [ ! -s ${RESULTS}/fimo_1p2p0_bzip2_to_${VERSIONP}_gzip.starch ]; then ${LINUX_BINDIR}/${VERSION}/bin/starchcat --gzip ${FIMO_INPUT} > ${RESULTS}/fimo_1p2p0_bzip2_to_${VERSIONP}_gzip.starch; fi |
| 92 |
endif |
| 93 |
ifeq (${PLATFORM},Darwin) |
| 94 |
if [ ! -s ${RESULTS}/fimo_1p2p0_bzip2_to_${VERSIONP}_bzip2.starch ]; then ${OSX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${FIMO_INPUT} > ${RESULTS}/fimo_1p2p0_bzip2_to_${VERSIONP}_bzip2.starch; fi |
| 95 |
if [ ! -s ${RESULTS}/fimo_1p2p0_bzip2_to_${VERSIONP}_gzip.starch ]; then ${OSX_BINDIR}/${VERSION}/bin/starchcat --gzip ${FIMO_INPUT} > ${RESULTS}/fimo_1p2p0_bzip2_to_${VERSIONP}_gzip.starch; fi |
| 96 |
endif |
| 97 |
@echo "[STARCH] extracting (bzip2) v1.2-to-v2.2 bzip2 and gzip FIMO archive..." |
| 98 |
ifeq (${PLATFORM},Linux) |
| 99 |
if [ ! -s ${RESULTS}/fimo.bzip2_to_bzip2.observed ]; then ${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/fimo_1p2p0_bzip2_to_${VERSIONP}_bzip2.starch > ${RESULTS}/fimo.bzip2_to_bzip2.observed; fi |
| 100 |
if [ ! -s ${RESULTS}/fimo.bzip2_to_gzip.observed ]; then ${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/fimo_1p2p0_bzip2_to_${VERSIONP}_gzip.starch > ${RESULTS}/fimo.bzip2_to_gzip.observed; fi |
| 101 |
endif |
| 102 |
ifeq (${PLATFORM},Darwin) |
| 103 |
if [ ! -s ${RESULTS}/fimo.bzip2_to_bzip2.observed ]; then ${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/fimo_1p2p0_bzip2_to_${VERSIONP}_bzip2.starch > ${RESULTS}/fimo.bzip2_to_bzip2.observed; fi |
| 104 |
if [ ! -s ${RESULTS}/fimo.bzip2_to_gzip.observed ]; then ${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/fimo_1p2p0_bzip2_to_${VERSIONP}_gzip.starch > ${RESULTS}/fimo.bzip2_to_gzip.observed; fi |
| 105 |
endif |
| 106 |
@echo "[STARCH] diff-ing v1.2 (bzip2, extracted) and v1.2-to-v2.2 (bzip2, observed)..." |
| 107 |
diff --brief ${RESULTS}/fimo.bzip2.expected ${RESULTS}/fimo.bzip2_to_bzip2.observed |
| 108 |
diff --brief ${RESULTS}/fimo.bzip2.expected ${RESULTS}/fimo.bzip2_to_gzip.observed |
| 109 |
@echo "[STARCH] no differences found!" |
| 110 |
|
| 111 |
random_updating_tests: compext_archives results_dir |
| 112 |
@echo "[STARCH] taking v1.2 archive and starchcat-ing it to a new v2.2 archive..." |
| 113 |
ifeq (${PLATFORM},Linux) |
| 114 |
${LINUX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${COMPEXTRES_DIR}/random_1p2p0_bzip2.starch > ${RESULTS}/random_1p2p0_bzip2_to_${VERSIONP}_bzip2.starch |
| 115 |
${LINUX_BINDIR}/${VERSION}/bin/starchcat --gzip ${COMPEXTRES_DIR}/random_1p2p0_bzip2.starch > ${RESULTS}/random_1p2p0_bzip2_to_${VERSIONP}_gzip.starch |
| 116 |
${LINUX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${COMPEXTRES_DIR}/random_1p2p0_gzip.starch > ${RESULTS}/random_1p2p0_gzip_to_${VERSIONP}_bzip2.starch |
| 117 |
${LINUX_BINDIR}/${VERSION}/bin/starchcat --gzip ${COMPEXTRES_DIR}/random_1p2p0_gzip.starch > ${RESULTS}/random_1p2p0_gzip_to_${VERSIONP}_gzip.starch |
| 118 |
endif |
| 119 |
ifeq (${PLATFORM},Darwin) |
| 120 |
${OSX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${COMPEXTRES_DIR}/random_1p2p0_bzip2.starch > ${RESULTS}/random_1p2p0_bzip2_to_${VERSIONP}_bzip2.starch |
| 121 |
${OSX_BINDIR}/${VERSION}/bin/starchcat --gzip ${COMPEXTRES_DIR}/random_1p2p0_bzip2.starch > ${RESULTS}/random_1p2p0_bzip2_to_${VERSIONP}_gzip.starch |
| 122 |
${OSX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${COMPEXTRES_DIR}/random_1p2p0_gzip.starch > ${RESULTS}/random_1p2p0_gzip_to_${VERSIONP}_bzip2.starch |
| 123 |
${OSX_BINDIR}/${VERSION}/bin/starchcat --gzip ${COMPEXTRES_DIR}/random_1p2p0_gzip.starch > ${RESULTS}/random_1p2p0_gzip_to_${VERSIONP}_gzip.starch |
| 124 |
endif |
| 125 |
@echo "[STARCH] taking v1.5 archive and starchcat-ing it to a new v2.2 archive" |
| 126 |
ifeq (${PLATFORM},Linux) |
| 127 |
${LINUX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${COMPEXTRES_DIR}/random_1p5p0_bzip2.starch > ${RESULTS}/random_1p5p0_bzip2_to_${VERSIONP}_bzip2.starch |
| 128 |
${LINUX_BINDIR}/${VERSION}/bin/starchcat --gzip ${COMPEXTRES_DIR}/random_1p5p0_bzip2.starch > ${RESULTS}/random_1p5p0_bzip2_to_${VERSIONP}_gzip.starch |
| 129 |
${LINUX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${COMPEXTRES_DIR}/random_1p5p0_gzip.starch > ${RESULTS}/random_1p5p0_gzip_to_${VERSIONP}_bzip2.starch |
| 130 |
${LINUX_BINDIR}/${VERSION}/bin/starchcat --gzip ${COMPEXTRES_DIR}/random_1p5p0_gzip.starch > ${RESULTS}/random_1p5p0_gzip_to_${VERSIONP}_gzip.starch |
| 131 |
endif |
| 132 |
ifeq (${PLATFORM},Darwin) |
| 133 |
${OSX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${COMPEXTRES_DIR}/random_1p5p0_bzip2.starch > ${RESULTS}/random_1p5p0_bzip2_to_${VERSIONP}_bzip2.starch |
| 134 |
${OSX_BINDIR}/${VERSION}/bin/starchcat --gzip ${COMPEXTRES_DIR}/random_1p5p0_bzip2.starch > ${RESULTS}/random_1p5p0_bzip2_to_${VERSIONP}_gzip.starch |
| 135 |
${OSX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${COMPEXTRES_DIR}/random_1p5p0_gzip.starch > ${RESULTS}/random_1p5p0_gzip_to_${VERSIONP}_bzip2.starch |
| 136 |
${OSX_BINDIR}/${VERSION}/bin/starchcat --gzip ${COMPEXTRES_DIR}/random_1p5p0_gzip.starch > ${RESULTS}/random_1p5p0_gzip_to_${VERSIONP}_gzip.starch |
| 137 |
endif |
| 138 |
@echo "[STARCH] taking v2.0 archive and starchcat-ing it to a new v2.2 archive" |
| 139 |
ifeq (${PLATFORM},Linux) |
| 140 |
${LINUX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${COMPEXTRES_DIR}/random_2p0p0_bzip2.starch > ${RESULTS}/random_2p0p0_bzip2_to_${VERSIONP}_bzip2.starch |
| 141 |
${LINUX_BINDIR}/${VERSION}/bin/starchcat --gzip ${COMPEXTRES_DIR}/random_2p0p0_bzip2.starch > ${RESULTS}/random_2p0p0_bzip2_to_${VERSIONP}_gzip.starch |
| 142 |
${LINUX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${COMPEXTRES_DIR}/random_2p0p0_gzip.starch > ${RESULTS}/random_2p0p0_gzip_to_${VERSIONP}_bzip2.starch |
| 143 |
${LINUX_BINDIR}/${VERSION}/bin/starchcat --gzip ${COMPEXTRES_DIR}/random_2p0p0_gzip.starch > ${RESULTS}/random_2p0p0_gzip_to_${VERSIONP}_gzip.starch |
| 144 |
endif |
| 145 |
ifeq (${PLATFORM},Darwin) |
| 146 |
${OSX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${COMPEXTRES_DIR}/random_2p0p0_bzip2.starch > ${RESULTS}/random_2p0p0_bzip2_to_${VERSIONP}_bzip2.starch |
| 147 |
${OSX_BINDIR}/${VERSION}/bin/starchcat --gzip ${COMPEXTRES_DIR}/random_2p0p0_bzip2.starch > ${RESULTS}/random_2p0p0_bzip2_to_${VERSIONP}_gzip.starch |
| 148 |
${OSX_BINDIR}/${VERSION}/bin/starchcat --bzip2 ${COMPEXTRES_DIR}/random_2p0p0_gzip.starch > ${RESULTS}/random_2p0p0_gzip_to_${VERSIONP}_bzip2.starch |
| 149 |
${OSX_BINDIR}/${VERSION}/bin/starchcat --gzip ${COMPEXTRES_DIR}/random_2p0p0_gzip.starch > ${RESULTS}/random_2p0p0_gzip_to_${VERSIONP}_gzip.starch |
| 150 |
endif |
| 151 |
@echo "[STARCH] diff-comparing elements from v1.2 and v2.2 archives" |
| 152 |
ifeq (${PLATFORM},Linux) |
| 153 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${COMPEXTRES_DIR}/random_1p2p0_bzip2.starch > ${RESULTS}/random_1p2p0_bzip2.bed |
| 154 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${COMPEXTRES_DIR}/random_1p2p0_gzip.starch > ${RESULTS}/random_1p2p0_gzip.bed |
| 155 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p2p0_bzip2_to_${VERSIONP}_bzip2.starch | diff --brief - ${RESULTS}/random_1p2p0_bzip2.bed |
| 156 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p2p0_gzip_to_${VERSIONP}_bzip2.starch | diff --brief - ${RESULTS}/random_1p2p0_gzip.bed |
| 157 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p2p0_bzip2_to_${VERSIONP}_gzip.starch | diff --brief - ${RESULTS}/random_1p2p0_bzip2.bed |
| 158 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p2p0_gzip_to_${VERSIONP}_gzip.starch | diff --brief - ${RESULTS}/random_1p2p0_gzip.bed |
| 159 |
endif |
| 160 |
ifeq (${PLATFORM},Darwin) |
| 161 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${COMPEXTRES_DIR}/random_1p2p0_bzip2.starch > ${RESULTS}/random_1p2p0_bzip2.bed |
| 162 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${COMPEXTRES_DIR}/random_1p2p0_gzip.starch > ${RESULTS}/random_1p2p0_gzip.bed |
| 163 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p2p0_bzip2_to_${VERSIONP}_bzip2.starch | diff --brief - ${RESULTS}/random_1p2p0_bzip2.bed |
| 164 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p2p0_gzip_to_${VERSIONP}_bzip2.starch | diff --brief - ${RESULTS}/random_1p2p0_gzip.bed |
| 165 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p2p0_bzip2_to_${VERSIONP}_gzip.starch | diff --brief - ${RESULTS}/random_1p2p0_bzip2.bed |
| 166 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p2p0_gzip_to_${VERSIONP}_gzip.starch | diff --brief - ${RESULTS}/random_1p2p0_gzip.bed |
| 167 |
endif |
| 168 |
@echo "[STARCH] no differences found!" |
| 169 |
@echo "[STARCH] diff-comparing elements from v1.5 and v2.2 archives" |
| 170 |
ifeq (${PLATFORM},Linux) |
| 171 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${COMPEXTRES_DIR}/random_1p5p0_bzip2.starch > ${RESULTS}/random_1p5p0_bzip2.bed |
| 172 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${COMPEXTRES_DIR}/random_1p5p0_gzip.starch > ${RESULTS}/random_1p5p0_gzip.bed |
| 173 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p5p0_bzip2_to_${VERSIONP}_bzip2.starch | diff --brief - ${RESULTS}/random_1p5p0_bzip2.bed |
| 174 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p5p0_gzip_to_${VERSIONP}_bzip2.starch | diff --brief - ${RESULTS}/random_1p5p0_gzip.bed |
| 175 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p5p0_bzip2_to_${VERSIONP}_gzip.starch | diff --brief - ${RESULTS}/random_1p5p0_bzip2.bed |
| 176 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p5p0_gzip_to_${VERSIONP}_gzip.starch | diff --brief - ${RESULTS}/random_1p5p0_gzip.bed |
| 177 |
endif |
| 178 |
ifeq (${PLATFORM},Darwin) |
| 179 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${COMPEXTRES_DIR}/random_1p5p0_bzip2.starch > ${RESULTS}/random_1p5p0_bzip2.bed |
| 180 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${COMPEXTRES_DIR}/random_1p5p0_gzip.starch > ${RESULTS}/random_1p5p0_gzip.bed |
| 181 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p5p0_bzip2_to_${VERSIONP}_bzip2.starch | diff --brief - ${RESULTS}/random_1p5p0_bzip2.bed |
| 182 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p5p0_gzip_to_${VERSIONP}_bzip2.starch | diff --brief - ${RESULTS}/random_1p5p0_gzip.bed |
| 183 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p5p0_bzip2_to_${VERSIONP}_gzip.starch | diff --brief - ${RESULTS}/random_1p5p0_bzip2.bed |
| 184 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_1p5p0_gzip_to_${VERSIONP}_gzip.starch | diff --brief - ${RESULTS}/random_1p5p0_gzip.bed |
| 185 |
endif |
| 186 |
@echo "[STARCH] no differences found!" |
| 187 |
@echo "[STARCH] diff-comparing elements from v2.0 and v2.2 archives" |
| 188 |
ifeq (${PLATFORM},Linux) |
| 189 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${COMPEXTRES_DIR}/random_2p0p0_bzip2.starch > ${RESULTS}/random_2p0p0_bzip2.bed |
| 190 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${COMPEXTRES_DIR}/random_2p0p0_gzip.starch > ${RESULTS}/random_2p0p0_gzip.bed |
| 191 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_2p0p0_bzip2_to_${VERSIONP}_bzip2.starch | diff --brief - ${RESULTS}/random_2p0p0_bzip2.bed |
| 192 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_2p0p0_gzip_to_${VERSIONP}_bzip2.starch | diff --brief - ${RESULTS}/random_2p0p0_gzip.bed |
| 193 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_2p0p0_bzip2_to_${VERSIONP}_gzip.starch | diff --brief - ${RESULTS}/random_2p0p0_bzip2.bed |
| 194 |
${LINUX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_2p0p0_gzip_to_${VERSIONP}_gzip.starch | diff --brief - ${RESULTS}/random_2p0p0_gzip.bed |
| 195 |
endif |
| 196 |
ifeq (${PLATFORM},Darwin) |
| 197 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${COMPEXTRES_DIR}/random_2p0p0_bzip2.starch > ${RESULTS}/random_2p0p0_bzip2.bed |
| 198 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${COMPEXTRES_DIR}/random_2p0p0_gzip.starch > ${RESULTS}/random_2p0p0_gzip.bed |
| 199 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_2p0p0_bzip2_to_${VERSIONP}_bzip2.starch | diff --brief - ${RESULTS}/random_2p0p0_bzip2.bed |
| 200 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_2p0p0_gzip_to_${VERSIONP}_bzip2.starch | diff --brief - ${RESULTS}/random_2p0p0_gzip.bed |
| 201 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_2p0p0_bzip2_to_${VERSIONP}_gzip.starch | diff --brief - ${RESULTS}/random_2p0p0_bzip2.bed |
| 202 |
${OSX_BINDIR}/${VERSION}/bin/unstarch ${RESULTS}/random_2p0p0_gzip_to_${VERSIONP}_gzip.starch | diff --brief - ${RESULTS}/random_2p0p0_gzip.bed |
| 203 |
endif |
| 204 |
@echo "[STARCH] no differences found!" |
| 205 |
|
| 206 |
# --------------------------------------------- |
| 207 |
|
| 208 |
clean: |
| 209 |
@echo "[STARCH] cleaning up intermediate starch archives..." |
| 210 |
@rm -rf ${RESULTS} |
| 211 |
@echo "[STARCH] all clean!" |