Running erro
BurinkiWU opened this issue · 1 comments
$ PlasFlow.py --input filtered_seameta_trim_9.fasta --output seameta_trim_9.plasflow_predictions.tsv --threshold 0.7
/home/disk3-8T/wzq/miniconda3/lib/python3.5/site-packages/rpy2/rinterface/init.py:186: RRuntimeWarning: Failed with error:
warnings.warn(x, RRuntimeWarning)
/home/disk3-8T/wzq/miniconda3/lib/python3.5/site-packages/rpy2/rinterface/init.py:186: RRuntimeWarning:
warnings.warn(x, RRuntimeWarning)
/home/disk3-8T/wzq/miniconda3/lib/python3.5/site-packages/rpy2/rinterface/init.py:186: RRuntimeWarning: ‘package ‘BiocGenerics’ 0.24.0 is loaded, but >= 0.25.3 is required by ‘IRanges’’
warnings.warn(x, RRuntimeWarning)
/home/disk3-8T/wzq/miniconda3/lib/python3.5/site-packages/rpy2/rinterface/init.py:186: RRuntimeWarning:
warnings.warn(x, RRuntimeWarning)
Importing sequences
Traceback (most recent call last):
File "/home/disk3-8T/wzq/miniconda3/lib/python3.5/site-packages/rpy2/robjects/init.py", line 337, in getattribute
return self.getitem(attr)
File "/home/disk3-8T/wzq/miniconda3/lib/python3.5/site-packages/rpy2/robjects/init.py", line 342, in getitem
res = _globalenv.get(item)
LookupError: 'readDNAStringSet' not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/disk3-8T/wzq/miniconda3/bin/PlasFlow.py", line 93, in
input_data = r.readDNAStringSet(inputfile)
File "/home/disk3-8T/wzq/miniconda3/lib/python3.5/site-packages/rpy2/robjects/init.py", line 339, in getattribute
raise AttributeError(orig_ae)
AttributeError: 'R' object has no attribute 'readDNAStringSet'
Make sure you have R installed (check with which R
from the command line). If it is there, BioStrings bioconductor package should be also installed as lack of it is the source of your problem. If you install from conda it should be already there. If it is still not there run R from the command line and install according to the instruction on the Biostrings website