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

Invalid taxon labels causes division by zero during parse run #64

Closed
pierrebarbera opened this issue Jan 8, 2020 · 5 comments
Closed

Comments

@pierrebarbera
Copy link

pierrebarbera commented Jan 8, 2020

Example invalid taxon name:
OTU_3747;56074372f84154d24af41b68ba2370a5f931dd4d;size=39546_2

Thrown error during parsing phase of pargenes:

  Average number of taxa: 182
  Max number of taxa: 1481
  Average number of sites: 0
  Max number of sites: 0
[Error] <type 'exceptions.ZeroDivisionError'> integer division or modulo by zero
@lucaslima1618
Copy link

Hi,
I tried every possibility of taxon labeling, but the same error appears.

[Error] <type 'exceptions.ZeroDivisionError'> integer division or modulo by zero
Writing report file in /home/lucaslima/Documentos/Output8/report.txt
When reporting the issue, please always send us this file.

May you please help me?

Thanks in advance.

The report.txt follows

report.txt

@BenoitMorel
Copy link
Owner

Hi Lucas,

Thanks for your report!

The report file says that ParGenes cannot find a file that should be installed by the installation script (install.sh in the top directory). Did you run this script before running ParGenes? If yes, could you please run it again and send me its output?

I will add a more explicit error message for this kind of issue :-)

Benoit

@lucaslima1618
Copy link

Hi Benoit,

Thanks a lot for you help. You were right. I had a unnoted problem with the install.sh.

When I execute it the follow error apears:

Could NOT find BISON (missing: BISON_EXECUTABLE)
-- Could NOT find FLEX (missing: FLEX_EXECUTABLE)
CMake Error at libs/pll-modules/libs/libpll/src/CMakeLists.txt:19 (BISON_TARGET):
Unknown CMake command "BISON_TARGET".

-- Configuring incomplete, errors occurred!
See also "/home/lucaslima/ParGenes/raxml-ng/build/CMakeFiles/CMakeOutput.log".
See also "/home/lucaslima/ParGenes/raxml-ng/build/CMakeFiles/CMakeError.log".

The log files in attachment.

Cheers,

CMakeError.log
CMakeOutput.log

@BenoitMorel
Copy link
Owner

It looks like you have some missing dependencies (flex and bison). See raxml-ng instructions to install them: https://github.com/amkozlov/raxml-ng#installation-instructions

If it still does not work, the best would be to directly ask in our raxml-ng google group: https://groups.google.com/forum/#!forum/raxml

Cheers,
Benoit

BenoitMorel pushed a commit that referenced this issue Jun 29, 2020
…e explaining that ParGenes failed to analyze all MSAs. In addition, produce a report file. #64
@BenoitMorel
Copy link
Owner

Hi Pierre,

after 6 months of procrastination, I fixed this. I don't think I can really detect wrong taxon names from ParGenes (raxml-ng would have to do it), but I replaced the very obscure error message with something less confusing ;-)

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

3 participants