how to calculate the #nodes of pangenome info page of the report
In the Pangenome Info page of the html report, on the groups tab, the number of nodes per sample appears to be greater than the total node count in the graph. I don’t quite understand why this is the case.
Could you explain how the node count per sample is calculated on the groups tab in the Pangenome Info page?
The total node count simply consists of every node of the graph.
The node count per sample on the other hand counts the nodes the paths of the sample traverses. So if a path goes through one node 3 times that node results in a +3 for the node count per sample. (This can also happen if two paths of the same sample go through the same node). Therefore, the node count per sample counts the number of steps of all the paths belonging to that sample.