-
Notifications
You must be signed in to change notification settings - Fork 27
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
ValueError: max() arg is an empty sequence #34
Comments
Same issue here, did you find a solution? |
The issue for me was that MitoFinder was not working. Make sure it is in your PATH. Hope this helps! |
@scorreard Thank you for your message. I haven't tried modifying my PATH variable since I was using the singularity container. Were you using a singularity or did you build the pipeline dependencies up from scratch? Or something else? |
@scorreard @marcelauliano I am also having this problem now and I cannot for the life of me fix it.
When running the mitohifi.py it would not work as it could not find makeblastdb. So I added the path to blast bin which was installed in the mitofinder installation. After doing this I progress past the makeblastdb piece. I thought this would also fix the error which I get re the reference t_rnas (the query poised above). So i added all the executable dependency folders from mitofinder into my path as well hoping this would fix this error. As if right now this has not allowed me to progress past this step (ie.e. the error above). Does anyone have any ideas for fixes for this, I feel like i have tried everything and I am stumped at this point. |
Hi! I had a bunch of issues, and ended up changing my approach altogether. For singularity, I had to modify the python files to include the complete path, for example :
But I don't recommend that in the long term. HTH, |
Hi all Thank you @scorreard for your added fixes, I have also got the V3 release to work the whole way through now woooooooooooooo. Fix 1 - added blast to the yml so that it is installed in the conda environment. Can also link the MitoFinder Blast bin to your path to fix this, but I think in the env is more elegant. Fix 2 - to fix the problem identified in the original post, it was obviously linked to MitoFinder and the trnascan dependency. As such I went into MitoFinder and ran the testdata for annotation only and lo and behold it did not work. Despite java being installed and loaded on our cluster, this was the problem. A simple module load java in my submission script fixed this for me, and I would maybe also recomend including openjdk into the yml for the conda environment. Interestingly, I have had no problems with singularity, what error would you get thrown for this ? Ben |
Interesting! I may try it later on, I decided to wait for a stable release for V3. I may change my mind and try it again with your recommendation. I can't remember the singularity issue. Thanks for updating! |
Of course, good luck !!!! |
Hi everyone! A quick update. In order to use MitoHifi V3 from reads (rather than V2 from assembly), I installed MitoHifi V3 with conda (using 'mitohifi_env.yml' from MitoHifi GitHub), and MitoHifi to see how far it would go. I obtained the same error message all over again
I then 'manually' install MitoFinder following the instruction : https://github.com/RemiAllio/MitoFinder And then it worked. |
I am getting the same error. I have tried manually installing MitoFinder several times and cannot fix it. I get the same error when I use mitos. Does anyone have any other ideas? |
To clarify, with MitoFinder I get: And with mitos I get: File "/home/metzgerm/mybiotools/MitoHiFi/src/mitohifi.py", line 566, in I think I am at a wall. |
That's right! In addition, the argument |
Hi,
I'm trying to use MitoHiFi to assemble a multi-chromosome plant mitochondrial genome (though running the pipeline on individual chromosomes at a time). I'm using a singularity instance built from pulling the github repo a few days ago. Running the example dataset completes without any errors. When I try to run my own dataset, whether with reads or with a previously generated Hifiasm assembly, I start seeing errors such as the following:
And the runs eventually end with:
Please let me know if any additional information would be helpful.
The text was updated successfully, but these errors were encountered: