Open cboursnell opened 4 years ago
Hi Chris!
Have been recently using this piece of code myself. I think that you got it correctly the first time. One increments the sample names but keeps the numeric suffix constant.
Looking trough the code it seems that the suffix is one based and not zero based as the wiki seems to suggest. I think that is what is causing your error
how many memories you use for the scripts? only one file need more than 200G?
On the wiki
https://github.com/cancerit/ascatNgs/wiki/Reference-files-from-normal-sample-data
it says you can runascatSnpPanelMerge
like this:ascatSnpPanelMerge.pl genome.fa sampleA-hets.tsv.0 [sampleB-hets.tsv.0] > SnpPositions.tsv
where you increment the names of the samples, but keep the
.0
as the suffix. When trying this I got the error from the script sayingCan't use an undefined value as an ARRAY reference at /opt/wtsi-cgp/bin/ascatSnpPanelMerge.pl line 55.
If I rename my inputs to
sample.tsv.0
,sample.tsv.1
... etc then the script runs fine and produces expected output. The method described in the wiki seems better to me.