Open TymekPieszko opened 5 months ago
Hi @TymekPieszko the node order is the same as that in vcf, that the first haplotype in the first individual is the node 0 and the second haplotype in the first individual is the node 1, and so on. I will modify the program to produce the correspondence file shortly after.
Thank you @YunDeng98!! Yes, this would be useful, and if convert_to_tskit
recorded this in the nodes table as well.
no problem, for tskit I can try adding the individual ID to the meta data of the node object. I am in the revision process now and that will involve me changing some parts of the node (mainly utility stuff rather than math). So I can definitely take these features in.
What is the correspondence between sample nodes and individuals? The output includes a
vcfname_nodes_step.txt
file with node times:For some analyses, it would be helpful if a vcfname_individuals.txt file was produced as well, for example: