Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The code works fine.

replace "sys.exit(0)" with "break" to exit the inner loop when the case or snp file is bad.

Potential improvements:
- separate data input from code.  Minimize hard-coded data input.  Even the simulation time could become an input.
- snp filenames do not have to match same sequence as cnv filenames.  Better, read a pair (cnv, snp) of filenames per run.
- for over tens of runs, it pays to use parallel processing (one run per CPU)