Closed lincj1994 closed 2 years ago
Even when I run the example data, nothing was generated in the spss_output folder.
spss.single_sample(data, "spss_output", ref="GRCh38", exome=True, check_rules=False)
Hi, @lincj1994. The issue you have with the example data is due to the reference genome. GRCh37 should be used instead. In the case of your data, you need to provide only numbers in the pandas data frames for both the mutational matrix (data
) and the signature database (sig_db
).
I hope this helps, and thanks for your interest! Please reopen the issue in case you still have problems.
Hi. Does it mean that I should match the mutation type and trinucleotide between data and sig_db and then remove the first two columns of both data frames?
Hi. Does it mean that I should match the mutation type and trinucleotide between data and sig_db and then remove the first two columns of both data frames?
OK. It worked! Thanks.
Hi. @marcos-diazg @mishugeb @itsvenu I want to assign activities of known COSMIC signatures to each sample and I have prepared data (by MatrixGenerator) and sig_database (from the COSMIC website) according to the example input file and imported them using the following codes.
Below are the first few rows of each data frame.
I run spss based on these two dfs and it didn't run.
I'm wondering if the input file was not formated correctly but I prepared them according to the example files, including the colnames.