Open fedarko opened 1 year ago
Hello, I have installed qurro in qiime2-2023.5 conda environment, and received this notification:
Successfully uninstalled altair-5.0.0 Successfully installed altair-3.1.0 qurro-0.8.0
Does anybody know whether downgrading altair will interfere with other qiime2 plugins?
Best,
Based on searching through the QIIME 2 codebase, I think the only command in the core distribution of QIIME 2 that uses Altair (at the moment) is qiime composition da-barplot
, which visualizes ANCOM-BC outputs. (There may also be some other community plugins besides Qurro that use Altair, but I'm not aware of any.)
It looks like downgrading Altair causes some problems for qiime composition da-barplot
-- when I try running this command in a Q2 2023.5 environment that has altair==3.1.0
installed, the command generates a visualization without crashing (yay) but the visualization is broken (not yay):
good (using altair==5.0.1 ) |
bad (using altair==3.1.0 ) |
---|---|
So, for the time being:
qiime composition da-barplot
.qiime composition da-barplot
, then it should be fine to use Qurro in current QIIME 2 environments.qiime composition da-barplot
usable again), I think you can run pip uninstall qurro
and then pip install "altair>5"
.Eesh -- sorry for the trouble! This problem should be resolvable by updating Qurro to work with newer versions of Altair -- this is discussed in #216. I'm swamped with other projects right now, so I can't promise a quick resolution to this problem :(, but hopefully the information above is sufficient in the meantime.
Hi, Thank you for the detailed help. I will continue tu use qurro with previous releases of q2, since I use da-barplot, too. Best regards
Hi @fedarko In addition to the Altair issue described above, I would like to point to another change in q2-2023.5 which seems to be relevant to q2-qurro: https://forum.qiime2.org/t/q2-composition-da-barplot/26576/12?u=arwqiime It seems that qurro (in previous q2-versions) cannot read q2 artifacts created by q2-2023.5 (which use archive version '6'). I assume that you are aware of the downgrade incompatibility caused by different archive versions, just to make sure... Best regards,
Thank you for letting me know—I wasn't aware of that change. Since it seems like this incompatibility exists at the level of QIIME 2, it seems like the workarounds will have to occur outside of Qurro. If you have a QIIME 2 artifact (let's call it X) from QIIME 2 2023.5 or newer that you'd like to use with Qurro in an older version of QIIME 2, I guess the easiest workarounds are:
Export or extract the underlying file from X, and then import it back into QIIME 2 (in the older QIIME 2 environment). This will enable you to use X with Qurro within an older version of QIIME 2.
Export or extract the underlying file from X, as well as your other QIIME 2 artifacts that you would like to provide to Qurro. This will enable you to run Qurro as a standalone tool outside of QIIME 2.
Neither of these workarounds are ideal, I know -- the first will remove provenance information from X, and the second will remove provenance information from X and from your other QIIME 2 artifacts.
The ideal solution to this is problem will be updating Qurro to work with the later version of Altair that QIIME 2 2023.5 uses (#216), which will then allow Qurro to be installed into QIIME 2 2023.5 (and thus negate this problem). The existence of this problem makes this update more urgent—I'll try to set aside some time soon to fix this. Thanks again for the note.
Hi @fedarko
I have used gemelli (instead of deicode to circumvent the np.int issue) in conda env q2-amplicon-2023.9. I have seen in the RPCA QIIME2 CLI tutorial of gemelli, that qurro has been used to inspect the relationship of contrasting groups of the biplot visualization. I have tried to install qurro in the current q2 environment, but was not successful. May I ask whether the issue from the previous post (Jul 7, 2023) has been already resolve and whether an updated qurro plugin is available? Thanks for your great plugins, Best,
Thanks @ARW-UBT! I apologize -- it's been a busy period here (wrapping up other research projects, finishing my thesis, other duties...), so I have not yet gotten around to resolving this issue. I'll try to move it higher up in my priorities, since this is causing problems with other tools' workflows.
For what it's worth, I tried to install the latest version of QIIME 2 on my laptop today in order to start testing this -- and of course ran into all sorts of problems with my now-out-of-date version of conda :) So I'm going to have to take a bit to remember how this infrastructure works...
Hi @fedarko Thank you for your reply, and especially for the great service you provide to the q2 community and users - beside all other things. Qurro's capabilities are unique in q2 (to my knowledge) as it provides access to the contributing features in beta diversity analyses, which is different to q2-ancombc visualizations. And we often use the sample plot in qurro, which adds a unique view to the most-contributing feature to beta diversity analyses. Having said that, I appreciate your willingness to work on a Qurro plugin update. Best,
Any update on this @fedarko?
Sorry -- not yet. I've been swamped with other tasks for now. I will try to get this addressed as soon as I can.
See the discussion here.
Option 1: adjust the "system requirements" section (maybe put this beforehand, and just have the system requirements section talk about python version & browsers?)
Option 2: just add an extra parenthetical to the "system requirements" section --
The second option is more elegant, I think, but the first option is more obvious.