Closed pimarin closed 11 months ago
Hello @pimarin and thank you very much for reporting this bug! This seems an issue with SequentialSequenceWriter
being deprecated in biopython from version 1.80 and beyond. Thanks!
I found that this is a bioconda problem, not a Recentrifuge's one, as the conda recipe is not updated with the proper versions for the dependencies. I have issued a PR to try to correct and update the bioconda recipe for Recentrifuge, but I am not the maintainer of the recipe nor a bioconda dev, so I don't know if I will be successful. If I am not, @pimarin, feel free to open this issue against bioconda. Thanks.
@pimarin, my bioconda PR has been reviewed and accepted. Hopefully, it will be soon propagated and you'll have the last Recentrifuge version working properly on conda.
Thank you @khyox, this is also to the Galaxy community to have the last rcf available version !
Hello, I have updated recentrifuge to version 1.12.1 (conda env), but I still have the same error message. Python in my environment is 3.9. Do we have to downgrade python to a version before 3.8? Thank you
Hi @nbat64, thanks for reporting. The problem is not with the python version, since Recentrifuge supports from python 3.6 to python 3.11 version. The issue is with the biopython package, which should be not newer than 1.79. The current bioconda recipe for 1.12.1 has the right dependencies. Please check your version of biopython. Perhaps reinstalling the Recentrifuge conda package will make conda work with the right dependencies. Let me know if that solves the problem.
Hi @khyox Thanks for your response. I was able to make it work by creating a new env only for recentrifuge. My main env have biopython 1.79 but rcf 1.12.1 failed with the SequentialSequenceWriter
error message. I will check version of deoendencies.
pip install biopython==1.78 did the trick for me
It's weird that biopython 1.79 fails: both the manual and automated tests are using that version of biopython and are all OK. Also, the problem in the conda recipe should be solved by now —unless it's an old conda env before this problem was addressed.
Hello,
I failed to use recentrifuge using conda after installation. Failed for :
mamba create -n rcf -c bioconda recentrifuge=1.10.0
mamba install -c bioconda recentrifuge=1.10.0
mamba install -c bioconda recentrifuge
This error :