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

readQZA fails #491

Open
antagomir opened this issue Feb 13, 2024 · 4 comments
Open

readQZA fails #491

antagomir opened this issue Feb 13, 2024 · 4 comments

Comments

@antagomir
Copy link
Member

I tried to load example files "distance.qza" and "ordination.qza" from QIIME/DEICODE tutorial.

After downloading them I did in R:

distance.qiime <- mia::readQZA("distance.qza")
ordination.qiime <- mia::readQZA("ordination.qza")

Both throw the error:

Error: Only files in format of 'BIOMV210DirFmt', 'TSVTaxonomyDirectoryFormat', NewickDirectoryFormat' and 'DNASequencesDirectoryFormat' are supported.

-> We might need to add support for more formats? I am not sure how critical feature this is.

@antagomir
Copy link
Member Author

antagomir commented Feb 13, 2024

Interestingly, the qiime2R package seems to work. Something to learn from there?

remotes::install_github("jbisanz/qiime2R")
library(qiime2R)
d <- read_qza("distance.qza")
o <- read_qza("ordination.qza")

@antagomir
Copy link
Member Author

We are now adding TSE support for qiime2R; perhaps this solves the issue and we could switch to using qiime2R functions instead of maintaining parallel mia implementation?

This is currently limited by the fact that qiime2R is not available via CRAN or Bioc. There is an open issue on that, however, perhaps the problem will be solved: jbisanz/qiime2R#3

@Insaynoah
Copy link
Contributor

I'll keep an eye on this issue. Might be good to add an example in the book once it's easier to load in qza files and transform them into a tse object.

@antagomir
Copy link
Member Author

Support for TreeSE has been added now in qiime2R PR 64.

However that pkg is not yet in Bioc or CRAN

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