Understanding the underlying genetic weakness of certain types of cancer may lead to targeted therapy and provide the key to effective treatment, a new study suggests.