Computational analysis of copy number profiles of tumors