Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: 'ScaffHiC_xxx' is not in list #18

Open
yangxiaofeill opened this issue May 4, 2020 · 0 comments
Open

ValueError: 'ScaffHiC_xxx' is not in list #18

yangxiaofeill opened this issue May 4, 2020 · 0 comments

Comments

@yangxiaofeill
Copy link

Hi author,
I tried HiCAssembler, however, there are some errors like:

Scaffolds:['ScaffHiC_424/1', 'ScaffHiC_636/2', 'ScaffHiC_424/2', 'ScaffHiC_564']
DEBUG:HiCAssembler:Removing weak edge in path connecting two hic-scaffolds: edge: ('ScaffHiC_636/2', 'ScaffHiC_424/2'), weight: 52731.08417428207
Traceback (most recent call last):
  File "~/miniconda3/envs/hicexplorer_new/bin/assemble", line 312, in <module>
    main(args)
  File "~/miniconda3/envs/hicexplorer_new/bin/assemble", line 306, in main
    super_contigs = assembl.assemble_contigs()
  File "~/miniconda3/envs/hicexplorer_new/lib/python3.6/site-packages/hicassembler/HiCAssembler.py", line 210, in assemble_contigs
    self.put_back_small_scaffolds()
  File "~/miniconda3/envs/hicexplorer_new/lib/python3.6/site-packages/hicassembler/HiCAssembler.py", line 728, in put_back_small_scaffolds
    idx_u = path.index(min_edge[0])
ValueError: 'ScaffHiC_636/2' is not in list

What is the solution for this error?

Best
Xiaofei

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant