关于mp_import_metaphlan中输入treefile错误的问题
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by reproducing the mp_import_metaphlan call with merged_abundance_table.txt and mpa_vOct22_CHOCOPhlAnSGB_202212.nwk under MicrobiotaProcess v1.12.3. Inspect the reported parent validation errors and compare the resulting texatree and otutree objects; the issue is resolved when the supported input behavior and generated tree objects are clear.
Written by the indexing model from the issue text.
Description
各位老师好!我在使用 mp_import_metaphlan 输入metaphlan4的相对丰度的输出结果文件时,指定了我metaphlan4对应的数据库的进化树文件 mpa_vOct22_CHOCOPhlAnSGB_202212.nwk 。但是输入报错,具体如下:
metaphlan_data <- mp_import_metaphlan("merged_abundance_table.txt",linenum=2,treefile = "mpa_vOct22_CHOCOPhlAnSGB_202212.nwk")
ℹ invalid tbl_tree object. Missing column: parent.
ℹ invalid tbl_tree object. Missing column: parent.
ℹ invalid tbl_tree object. Missing column: parent.
ℹ invalid tbl_tree object. Missing column: parent.
Warning messages:
1: The number of features in otu table is not equal the number of tips in otu tree.
• The same features will be extract automatically !
2: In drop.tip.phylo(phy = list(edge = c(30212L, 30213L, 30213L, 30214L, :
drop all tips of the tree: returning NULL
3: In drop.tip.phylo(collapse.singles = FALSE, phy = list(edge = c(787, :
drop all tips of the tree: returning NULL
最终得到的MPSE,除了些样本名的信息之外,texatree、otutree都没能成功生成。 我在bioconductor上安装版本是MicrobiotaProcess v1.12.3。请问老师,这是否是因为目前的版本还不能支持metaphlan4的进化树,只能支持到mpa_v30_CHOCOPhlAn_201901_species_tree.nwk metaphlan3的进化树?或者还是因为一些其它的问题?
感谢您的回复与帮助! @xiangpin
- Dominant language
- R
- Stars
- 195
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from YuLab-SMU/MicrobiotaProcess
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
YuLab-SMU/MicrobiotaProcess#136 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 25/100
YuLab-SMU/MicrobiotaProcess#134 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
YuLab-SMU/MicrobiotaProcess#133 ·
-
Bracken to MPSEOpen
Difficulty 5/5 Over a week Newbie friendliness 25/100
YuLab-SMU/MicrobiotaProcess#132 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
YuLab-SMU/MicrobiotaProcess#131 ·
All issues in YuLab-SMU/MicrobiotaProcess
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
rstudio/reticulate#1933 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
lrberge/fixest#686 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100