-
Notifications
You must be signed in to change notification settings - Fork 1
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
Error after identifying connected components #5
Comments
Could you share the input bins with me here in a zip file? |
I'm sorry, but I can't share them. Is there any other information I can provide? |
Hm, I wonder what the problem may be. Does |
Let's test a thing EDIT: Fixed a typo in the code |
I only obtained this output after the "Extracting forward component" I changed the order of the bins and SuperPang run until comp 246/718 and then it fails also after: This is how it look lines 291-293
|
Thanks for trying this. It seems like a different case of a bug I'd fixed before, but I would need more info
|
This is the output after modifiying Assembler.py |
Thanks! This gives me something to work with... I'll come back to you if I need some extra stuff |
Ok, try replacing the function with this
Hopefully this'll work |
I obtained the following error. Traceback (most recent call last): I tried with 2 different set of bins from 2 different species and I obtained the same error after a different number of "Working on comp XX/YY" |
My fault, was missing an argument
|
Now I have a different error in the function #Find reverse complement Non-Branching Paths Traceback (most recent call last): |
Hi again! |
Thank you very much! |
Glad to hear. Thanks for testing it! |
Hi! I have an error after the step "identifying connected components".
I installed SuperPang using conda and I am working with 4 bins (>90% compl <5% contamination) from the same species (ANI > 97%). test-SuperPang.py runs with out problems.
The error occurs after running
$SuperPang.py -f genomes/*fa -t 20 -o SuperPang --force-overwrite --checkm checkm_sox.txt
Traceback (most recent call last):
File "/home/jcifuentes/miniconda3/envs/SuperPang/bin/SuperPang.py", line 291, in
main(parse_args())
File "/home/jcifuentes/miniconda3/envs/SuperPang/bin/SuperPang.py", line 144, in main
contigs = Assembler(input_minimap2, args.ksize, args.threads).run(args.minlen, args.mincov, args.bubble_identity_threshold, args.genome_assignment_threshold, args.threads)
File "/home/jcifuentes/miniconda3/envs/SuperPang/lib/python3.8/site-packages/SuperPang/lib/Assembler.py", line 322, in run
psets = get_psets(comp2nvs[nc1] | comp2nvs[nc2])
File "/home/jcifuentes/miniconda3/envs/SuperPang/lib/python3.8/site-packages/SuperPang/lib/Assembler.py", line 292, in get_psets
assert len(nvs_) == 2
AssertionError
The checkM file has the format Bin_Id Completeness Contamination, but I have the same error after running SuperPang with the --assume-complete flag.
The text was updated successfully, but these errors were encountered: