Closed Johnsonzcode closed 1 year ago
Hi Johnsonz,
The ExtraInfo parse the field like tp:A:P cm:i:6864 s1:i:37853 s2:i:30597
from the 13th column to the end of the line.
It separates the field by :
and checks whether it contains three parts or not.
I check your example PAF but there is no invalid field. Could you please check through your PAF file and find the exception lines?
Best wishes Lidong Guo
How to check? My paf file is huge(156Gb).
How about this:
awk '{if (NF>12) {for(i=13;i<NF+1;i++) { split($i,a,":"); if(length(a)!=3) print $0;} } }' xxx.paf
PS: 156Gb paf may cost huge memory, good luck to you.
How about use this to filter paf first ? awk '$4-$3>1000{print $0}' paf > newpaf
Solved, use latest minimap2 and -x map-hifi
.
Dear @cchd0001
TGS-GapCloser is a powerful tool in gap filling field. Manys times successful experience but not this time. I use HiFi reads to fill gap.
minimap2 version is 2.17-r941.
prefix.fill.log:
paf file content:
I think it is about the paf format problem(like last four columns or total column number).
Best Johnsonz