hapSummary或 hapPrefix参数有问题,导致无法正确提取或匹配单倍型结果。
我们脚本里会自动给hapPrefix赋值为“Hap”,所以应该是hapSummary出现了问题。
hapSummary是对hapResult进行汇总整理得到的,通过你上面的这个log文件:
Scanning file to determine attributes.
File attributes:
meta lines: 3374
header_line: 3375
variant count: 5
column count: 279
Meta line 3374 read in.
All meta lines processed.
gt matrix initialized.
Character matrix gt created.
Character matrix gt rows: 5
Character matrix gt cols: 279
skip: 0
nrows: 5
row_num: 0
Processed variant: 5
All variants processed
279个样本在这个区间里面5个位点,后面出现一个row_num: 0 表示经过过滤后,没有任何一个变异位点被保留下来。
如果在这五个位点里面所有位点都存在杂合/缺失样本,那就删完了。
可以选择自己修改脚本73和74行,不要过率