Closed Cupplesam closed 3 years ago
Hi
Please provide a reproducible example.
I have the same issue for a while! I can no longer import biom files that used to work. I suspect that the problem was caused by updates because I can't use it since the installations. Found a similar problem reported on GitHub : https://github.com/knausb/vcfR/issues/159 https://github.com/knausb/vcfR/issues/159#issuecomment-636526057 that was traced back to R and dplyr updates in spring.
Error: Can't combine ..1$Kingdom
..2$Kingdom
rlang::last_error()
to see where the error occurred.
In addition: Warning message:
Taxonomy had less than 7 levels for all OTU's (Kingdom->Species), filling with NA from Species level and up.
rlang::last_error() <error/vctrs_error_incompatible_type> Can't combine
..1$Kingdom
and ..2$Kingdom
. Backtrace:
- ampvis2::amp_import_biom("mypath/myfile.biom")
- vctrs::vec_default_ptype2(...)
- vctrs::stop_incompatible_type(...)
- vctrs:::stop_incompatible(...)
- vctrs:::stop_vctrs(...) Run
rlang::last_trace()
to see the full context. rlang::last_trace() <error/vctrs_error_incompatible_type> Can't combine..1$Kingdom
and ..2$Kingdom
. Backtrace: x - +-ampvis2::amp_import_biom("mypath/myfile.biom")
- | -dplyr::bind_rows(taxSkeleton, tax)
- | -vctrs::vec_rbind(!!!dots, .names_to = .id)
- -vctrs::vec_default_ptype2(...)
- -vctrs::stop_incompatible_type(...)
- -vctrs:::stop_incompatible(...)
- -vctrs:::stop_vctrs(...)
I think I would need your exact biom file or a subset thereof for debugging, I cannot reproduce the error on my end.
Hi
The issue should now be fixed. Please see #113
I am having trouble using the following command with my mothur biom file. The error message is below. Any suggestions would be appreciated, thanks so much for your time.
amp_import_biom(file)
Error: Can't combine and
..1$Kingdom
..2$Kingdom
<factor<01553>>. Runrlang::last_error()
to see where the error occurred. In addition: Warning message: Taxonomy had less than 7 levels for all OTU's (Kingdom->Species), filling with NA from Species level and up.