-
Notifications
You must be signed in to change notification settings - Fork 12
KeyError(f"None of [{key}] are in the [{axis_name}]") using aemb #174
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
Comments
Hi, Did you find any solution for this issue ? Thanks, |
No, didn't try further also |
Any ideas @luispedro ? 🙌 Problem comes from generate_cov_from_abundances() function of generate_coverage.py script. Lines 203-205 : it looks like contigs are splitted during the binning process, but the new names cannot be retrieved from original index names |
If anyone passes by, I've found the problem. In relation to the author's problem, the error is at this stage :
The binning doesn't have to be done on the split contigs, but on the original contigs :
The strobealign step is well realized on split contigs |
Thanks for the feedback! Maybe this can be detected and an error reported... |
I mean, a better error than what is currently done |
This is an easy mistake to make and SemiBin should give a better error, but for now, add a warning in the docs. /cc #174
Uh oh!
There was an error while loading. Please reload this page.
Hi
Using version
2.1.0
, I followed the protocol for strobealign-aemb as suchSemiBin2 split_contigs -i test_orig.fasta -o test -m 1000
strobealign --aemb test/split_contigs.fna.gz R1.fq.gz R2.fq.gz -R 6 > test/cov1.txt
did that for 6 paired readsSemiBin2 single_easy_bin -i test/split_contigs.fna.gz -a test/*cov.txt -o test_results
and got this error
The name of the contigs in the split fasta file and the coverage file is as
iceDNA_Arolla_S42_k141_120429_1
and noticeDNA_Arolla_S42_k141_120429_1_1
.If I don't split before, I get the same error
Any ideas?
Best
Greg
The text was updated successfully, but these errors were encountered: