Closed camilogarciabotero closed 1 year ago
Hi @camilogarciabotero,
Thank you for reporting this. I believe this happens in some versions of Pandas as they read the first column of floats (49884036.0
, 329726.0
, ...
) as abundances when they are actually integers representing the TaxID of each taxa in your sample.
I will be pushing a patch soon to fix this, then you if you update your install and delete your annotation/cog
directory and re-run, the pipeline should be able to resume from there (instead of running everything again).
Thank you for your patience! Vini
Hi @camilogarciabotero,
I've released a version 1.7.7
which hopefully should fix the problems you were experiencing. It might be a couple of days until the conda installation is updated.
Please let me know if you continue to have problems after that. Your feedback is invaluable.
Best, Vini
@camilogarciabotero v1.7.7
is now live in Bioconda. If you could let me know if your plots look ok, that would be great.
Thanks
Thanks V,
I am currently running it, I'll let you know how it goes. Thank you for solving the issue that quick!
Hey V,
I found an error with pandas
library:
.miniconda3/envs/metaphor/lib/python3.11/site-packages/conda_package_handli
ng/api.py:29: UserWarning: Install zstandard Python bindings for .conda support
_warnings.warn("Install zstandard Python bindings for .conda support")
Could not solve for environment specs
The following package could not be installed
└─ pandas >=2 does not exist (perhaps a typo or a missing channel).
Any thoughts on it?
Hm, I hadn't come across that one before.
I believe if you run conda install -n metaphor zstandard -c conda-forge
, i.e. install zstandard on your Metaphor environment, that should be fixed.
Please let me know how it goes.
Thank you, Vini
It says it is already installed...
Could you please try installing it in your base environment instead?
@camilogarciabotero I am going to go ahead and close this issue as I believe it has been fixed as of v1.7.7
, but please don't hesitate to reopen it if you continue to have problems.
Thank you.
Hey V,
So, I sent my data to metaphor and it finished apparently well. I then went to inspect the plots from the
annotation/cog/cobinning
, there I got several abundance tables of the form:As you can see apparently the line after the header is having a blank space for the
genus
column. The result might be affecting the plot as it generate a single column plot, or it might be a problem with thesscinames
which is being used instead and therefore pushing the values to what is actually an ID:Any thoughts on this? By the way, this is happening at all levels of the taxa abundances. Best. Camilo.