raphael-group / THetA

Tumor Heterogeneity Analysis (THetA) and THetA2 are algorithms that estimate the tumor purity and clonal/subclonal copy number aberrations directly from high-throughput DNA sequencing data. This repository includes the updated algorithm, called THetA2.
http://compbio.cs.brown.edu/projects/theta/
70 stars 33 forks source link

get_formatted_chrm: don't crash after "chrX" #3

Closed etal closed 9 years ago

etal commented 9 years ago

After encountering "x" or similar, chr_string becomes an int and the next test for "y" crashes because ints don't have a "lower" method. Fix: return immediately, don't keep going after "x".