HenrikBengtsson / aroma.affymetrix

🔬 R package: Analysis of Large Affymetrix Microarray Data Sets
https://cran.r-project.org/package=aroma.affymetrix
10 stars 3 forks source link

ROBUSTNESS: process() for MatNormalization does not create CEL files atomically #10

Closed HenrikBengtsson closed 8 years ago

HenrikBengtsson commented 8 years ago

There are two steps in process() for MatNormalization that writes CEL files. The first step creates the CEL files and writes some initial data, whereas the second step updates/rescales this data.

There is currently no way to know whether the existing CEL files are complete/valid or not. For instance, if there is an interrupts after the first step there is nothing in the CEL files that tells us they're complete or not.

SUGGESTION: The first step should create CEL files with temporary filenames that the second step works from.