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
python convert_long_ARG.py \
> -vcf ../../input/aw_n82_38 \
> -output aw_n82_38 \
> -iteration 0
Processing segment 0
Processing segment 1
Processing segment 2
Processing segment 3
Processing segment 4
Processing segment 5
Processing segment 6
Processing segment 7
Processing segment 8
Processing segment 9
Processing segment 10
Processing segment 11
Processing segment 12
Processing segment 13
Processing segment 14
Processing segment 15
Processing segment 16
Processing segment 17
Processing segment 18
Processing segment 19
Processing segment 20
Processing segment 21
Processing segment 22
Processing segment 23
Traceback (most recent call last):
File "convert_long_ARG.py", line 118, in <module>
main()
~~~~^^
File "convert_long_ARG.py", line 114, in main
ts = read_long_ARG(node_files, branch_files, mutation_files, block_coordinates)
File "convert_long_ARG.py", line 74, in read_long_ARG
ts = tables.tree_sequence()
File "/home/xcj768/miniforge3/envs/tskit-env/lib/python3.14/site-packages/tskit/tables.py", line 3528, in tree_sequence
return tskit.TreeSequence.load_tables(self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/home/xcj768/miniforge3/envs/tskit-env/lib/python3.14/site-packages/tskit/trees.py", line 4295, in load_tables
ts.load_tables(tables._ll_tables, build_indexes=build_indexes)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tskit.LibraryError: A mutation's parent is not consistent with the topology of the tree. Use compute_mutation_parents to set the parents correctly.(TSK_ERR_BAD_MUTATION_PARENT)
Which of the two conversion methods would you recommend for the parallel_singer output convert_to_tskit or convert_long_ARG.py? And your input on how to fix the errors is much appreciated!
hi, many thanks for developing this cool method!
I ran
parallel_singerper chromosome, & the output files look like the ARG generation was successful:But I am having some issues converting the output format to tskit trees, I tried using
convert_to_tskit&convert_long_ARG.pyWhich of the two conversion methods would you recommend for the
parallel_singeroutputconvert_to_tskitorconvert_long_ARG.py? And your input on how to fix the errors is much appreciated!