You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 saying Can'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.
The text was updated successfully, but these errors were encountered:
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
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.The text was updated successfully, but these errors were encountered: