-
Notifications
You must be signed in to change notification settings - Fork 33
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
Potential bug in panaroo #303
Comments
Hi, Sorry for the delayed reply, and thank you very much for flagging these issues. The first is indeed a typo, which I will fix in the next release. However, it should not affect the output, as Panaroo only uses global alignment (use_local=False), which overrides this parameter. The second issue appears to be a potential bug, although it would likely have a very small impact on the output. It could result in at most one miscalled gene if an annotation error occurred in the last gene processed by Panaroo. I will investigate this further and fix it if necessary in the next release. |
I'm reading the code of panaroo, and I've found something difficult to understand
One is in cdhit.py, is it a typo for "as=AS"? it may be
in
panaroo/panaroo/cdhit.py
Lines 186 to 210 in e928a7a
Another is in generate_network.py, I think genes at the end of contigs should be marked as
node['hasEnd']=True
panaroo/panaroo/generate_network.py
Lines 69 to 78 in e928a7a
However, at the end of cycle, the last gene was ignored.
panaroo/panaroo/generate_network.py
Lines 226 to 228 in e928a7a
Is it necessary to add another check for it such as:
Thanks if you could reply!
The text was updated successfully, but these errors were encountered: