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 #43

Open
lingrongjin opened this issue Sep 6, 2024 · 0 comments · May be fixed by #44
Open

ValueError #43

lingrongjin opened this issue Sep 6, 2024 · 0 comments · May be fixed by #44

Comments

@lingrongjin
Copy link

I got the following error when running the COBRA pipeline. I have run cobra.py with other metagenomes which worked fine but had problems this particular sample. I checked that contig "AcMG_755" is in the query list and it's also in the path_circular list according to the debug file. I'm wondering if you have any clues where the error may come from? Thanks!

2.2. Analyzing assemblied paths and solving conflicts: 88%|████████▊ | 7/8 [00:06<00:01, 1.03s/it]Traceback (most recent call last):
File "/storage/jufengLab/jinlingrong/Software/cobra/cobra.py", line 2291, in
main()
File "/storage/jufengLab/jinlingrong/Software/cobra/cobra.py", line 2273, in main
cobra(
File "/storage/jufengLab/jinlingrong/Software/cobra/cobra.py", line 1646, in cobra
check_assembly_reason = {
File "/storage/jufengLab/jinlingrong/Software/cobra/cobra.py", line 1649, in
for k, v in get_assembly2reason(
File "/storage/jufengLab/jinlingrong/Software/cobra/cobra.py", line 1393, in get_assembly2reason
frags = frags[: frags.index(subset_circular[0]) + 1]
ValueError: 'AcMG_755' is not in list

Hocnonsense added a commit to Hocnonsense/cobra that referenced this issue Sep 7, 2024
@Hocnonsense Hocnonsense linked a pull request Sep 7, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant