I am attempting to run LEfSe on metagenomic data from the microbiome. We have used the same classification database many times without issue, but now I am receiving the error below. All spaces and other potentially problematic characters have been removed. It crashes during the “LDA Effect Size” step. Any guidance would be much appreciated.
/galaxy_venv/local/lib/python2.7/site-packages/rpy2/rinterface/__init__.py:185: RRuntimeWarning: Error in (function (file = "", n = NULL, text = NULL, prompt = "?", keep.source = getOption("keep.source"), :
<text>:1:71: unexpected input
1: z <- suppressWarnings(lda(as.formula(class ~ Flavonifractor_plautii + ^
warnings.warn(x, RRuntimeWarning)
Traceback (most recent call last):
File "/shed_tools/testtoolshed.g2.bx.psu.edu/repos/george-weingart/lefse/a6284ef17bf3/lefse/run_lefse.py", line 89, in <module>
if params['rank_tec'] == 'lda': lda_res,lda_res_th = test_lda_r(cls,feats,class_sl,params['n_boots'],params['f_boots'],params['lda_abs_th'],0.0000000001,params['nlogs'])
File "/export/shed_tools/testtoolshed.g2.bx.psu.edu/repos/george-weingart/lefse/a6284ef17bf3/lefse/lefse.py", line 189, in test_lda_r
z = robjects.r('z <- suppressWarnings(lda(as.formula('+f+'),data=sub_d,tol='+str(tol_min)+'))')
File "/galaxy_venv/local/lib/python2.7/site-packages/rpy2/robjects/__init__.py", line 358, in __call__
p = _rparse(text=StrSexpVector((string,)))
rpy2.rinterface.RRuntimeError: Error in (function (file = "", n = NULL, text = NULL, prompt = "?", keep.source = getOption("keep.source"), :
<text>:1:71: unexpected input
1: z <- suppressWarnings(lda(as.formula(class ~ Flavonifractor_plautii + _
^
admin reformat