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

mashtree_jackknife.pl: main::main: ERROR: one or more threads did not return an array of jack knife tree files as expected #78

Open
Rohit-Satyam opened this issue Aug 3, 2023 · 2 comments

Comments

@Rohit-Satyam
Copy link

Rohit-Satyam commented Aug 3, 2023

I have some 300 fasta genomes and 6 nanopore fastq files and I was trying to run mashtree_jackknife. However I keep getting the following error

mashtree_jackknife.pl --reps 100  --numcpus 4 *.fastq *.fasta -- --min-depth 0 >  mashtree.jackknife.dnd
Thread 1 terminated abnormally: mashtree_jackknife.pl: Mashtree::mashDist: Can't take log of 0 
Stopped at /home/subudhak/miniconda3/envs/lib/perl5/site_perl/Mashtree.pm line 351.
mashtree_jackknife.pl: main::main: ERROR: one or more threads did not return an array of jack knife tree files as expected. 
Stopped at /home/subudhak/miniconda3/envs/bin/mashtree_jackknife.pl line 153.
Perl exited with active threads:
	3 running and unjoined
	0 finished and unjoined
	0 running and detached

However, mashtree runs successfully.
Besides, I wish to understand the use of --genomeSize option. These genomes are on an average 8.3Kb long so should I set it to 8300 ?

@lskatz
Copy link
Owner

lskatz commented Aug 3, 2023

  • Yes, set it to --genomeSize 8300 to match 8.3Kb

Does this error occur consistently or was it stochastic? I wonder if you have any very small or zero byte files? What version do you have?

@lskatz
Copy link
Owner

lskatz commented Aug 3, 2023

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. v0.57, can be obtained by running mashtree --version.]
  • which method did you install with? E.g., cpanm, git clone, ...

Additional context
Add any other context about the problem here.

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

2 participants