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

Error importing .qza files into R as a phyloseq object #33

Open
ekquaye opened this issue Jul 16, 2021 · 3 comments
Open

Error importing .qza files into R as a phyloseq object #33

ekquaye opened this issue Jul 16, 2021 · 3 comments

Comments

@ekquaye
Copy link

ekquaye commented Jul 16, 2021

Hi JBisanz,

I tried importing .qza files (feature table, metadata file, taxonomy file, and a tree file) as a phyloseq object using the qiime2R package (version ‘0.99.6’), but I keep getting an error in the form
"Error in FUN(X[[i]], ...) :
numbers of left and right parentheses in Newick string not equal".

However,

  1. I am able to create the phyloseq object without the tree file using qiime2R (version ‘0.99.6’)
  2. Also, I am able to create the phyloseq object (including the tree.qza file) using an older version of qiime2R ('0.99.34') on a less powerful PC of mine.

Could you please help me overcome this error?

@jbisanz
Copy link
Owner

jbisanz commented Jul 16, 2021

Interesting, this wouldn't be coming from qiime2R per se, but rather from the read.tree function of the package ape. It looks like this ?bug? was fixed in ape so I would think installing the latest version should fix your issue.

@ekquaye
Copy link
Author

ekquaye commented Jul 18, 2021

Thank you for the response, jbisanz.
I use the latest version of ape (version 5.5), but, unfortunately, the error still persists.

@neal-caffry19
Copy link

@ekquaye
Hi ekquaye,

Have you solved your problem yet? I met the same problem as you, can you tell me how you solved it?

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

3 participants