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 occurred while parsing the output of qiime2 #102

Open
LaitingChoi opened this issue Aug 24, 2023 · 0 comments
Open

Error occurred while parsing the output of qiime2 #102

LaitingChoi opened this issue Aug 24, 2023 · 0 comments

Comments

@LaitingChoi
Copy link

Hi Shuangbin,

I met some troubles while parsing the output of qiime2. I've checked the output of qiime2 but I didn't find any reasons of the following error.

running:
otuqza="./table.qza"
taxaqzafile="./taxonomy.qza"
mapfile="./metadata.tsv"
mpse <- mp_import_qiime2(otuqza=otuqzafile, taxaqza=taxaqzafile, mapfilename=mapfile)
mpse

error:
Error in validityMethod():
! The number of tip labels of taxatree is not equal the number of otu in assays.
• Please check the taxatree or assays!
Run rlang::last_trace() to see where the error occurred.

rlang::last_trace()
<error/rlang_error>
Error in validityMethod():
! The number of tip labels of taxatree is not equal the number of otu in assays.
• Please check the taxatree or assays!


Backtrace:

  1. ├─methods (local) <stndrdGn>(<MPSE[,0]>)
  2. ├─MicrobiotaProcess (local) <stndrdGn>(<MPSE[,0]>)
  3. │ └─object %>% print()
  4. ├─base::print(.)
  5. └─MicrobiotaProcess:::print.MPSE(.)
  6. └─MicrobiotaProcess:::print2.MPSE(...)
  7. ├─x[seq_len(n), seq_len(min(1, ncol(x))), drop = FALSE]
    
  8. └─x[seq_len(n), seq_len(min(1, ncol(x))), drop = FALSE]
    
  9.   └─methods::validObject(nx)
    
  10.     ├─methods (local) anyStrings(validityMethod(object))
    
  11.     │ └─base::isTRUE(x)
    
  12.     └─MicrobiotaProcess (local) validityMethod(object)
    

Run rlang::last_trace(drop = FALSE) to see 1 hidden frame.

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

1 participant