Hi,
I am using methphaser on chm13 T2T masked reference. I have filtered the ONT bams for only primary alignment. The snp phased vcfs were generated using longphase and were subset to autosomes only.
I am encountering pandas dataframe error as follows:
File "/home/miniconda3/envs/methphaser/bin/meth_phaser_parallel", line 283, in
main(sys.argv[1:])
~~~~^^^^^^^^^^^^^^
File "/home/miniconda3/envs/methphaser/bin/meth_phaser_parallel", line 235, in main
phased_df_chr.get_group(chromosome).iterrows()
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/home/miniconda3/envs/methphaser/lib/python3.13/site-packages/pandas/core/groupby/groupby.py", line 885, in get_group
raise KeyError(name)
KeyError: 'chr1'
Can anyone please help resolving this error?
Thank you.
Hi,
I am using methphaser on chm13 T2T masked reference. I have filtered the ONT bams for only primary alignment. The snp phased vcfs were generated using longphase and were subset to autosomes only.
I am encountering pandas dataframe error as follows:
File "/home/miniconda3/envs/methphaser/bin/meth_phaser_parallel", line 283, in
main(sys.argv[1:])
~~~~^^^^^^^^^^^^^^
File "/home/miniconda3/envs/methphaser/bin/meth_phaser_parallel", line 235, in main
phased_df_chr.get_group(chromosome).iterrows()
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/home/miniconda3/envs/methphaser/lib/python3.13/site-packages/pandas/core/groupby/groupby.py", line 885, in get_group
raise KeyError(name)
KeyError: 'chr1'
Can anyone please help resolving this error?
Thank you.