Closed erleholgersen closed 6 years ago
Hey Erle,
Sorry for the errors I will add your headers and fix the wiki to reflect the code. For clarification Num_Targets is the correct equivalent to n_probes. I just pushed a fix that removes the requirement for the ref sum and alt sum columns and will automatically fix the header for the seg file.
Thanks for pointing these out!
Best Amaro
Hi, I was getting stuck on the same problem, as I read in the "Description of inputs" page on the wiki, those columns shouldn't be required, and I got the impression that they aren't used in the code at all.
I eddited one line at the "read_call_stats_file" funtion on deTiN/deTiN.py as bellow: def read_call_stats_file(self):
# they weren't on wiki's "Description of inputs" and apparently weren't actually being used.
fields = ['contig', 'position',
't_alt_count', 't_ref_count' , 'n_alt_count', 'n_ref_count', 'failure_reasons', 'judgement']
#... continues as normal
It appears to fix those problems for good.
Hi it seems like from the most recent version you just removed the alt/ref alleles and tumor and normal sample names? You're right these aren't required by deTiN so that should work just fine. I just include them because they are useful later on.
fields = ['contig', 'position', 'ref_allele', 'alt_allele', 'tumor_name', 'normal_name', 't_alt_count', 't_ref_count' , 'n_alt_count', 'n_ref_count', 'failure_reasons', 'judgement']
Hi again Amaro,
Thanks for all your help so far! I've now successfully run deTiN, but I ran into a few errors with missing input fields (not mentioned on the Wiki) that I figured I'd report here.
First, I got an error from the mutation statistics file:
Adding dummy columns
t_ref_sum
andt_alt_sum
fixed this issue. I used MuTect2 rather than MuTect to call variants, and thus had to assemble my own input file rather than using a pre-made call_stats file.The other error I got was was from the aSCNA segmentation file:
I fixed this by adding a column
n_probes
to the input, set equal toNum_SNPs
from the Allelic CNV output (I wasn't sure if I should useNum_SNPs
orNum_Targets
?)Thanks again!