You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! First off, this is a cool piece of software, so thank you for putting it together! However I'm trying to get the software working on example data, but ran into an issue that others may have seen:
PRIESSTESS -fg /opt/PRIESSTESS/example_data/example_fg.tab.gz -bg /opt/PRIESSTESS/example_data/example_bg.tab.gz
Folding 5000 fg probes
5000 probes of 5000 have been folded
Folding 5000 bg probes
5000 probes of 5000 have been folded
Identifying motifs with alphabet seq-4
Identifying motifs with alphabet seq-struct-8
Identifying motifs with alphabet seq-struct-16
Identifying motifs with alphabet seq-struct-28
Identifying motifs with alphabet struct-2
Identifying motifs with alphabet struct-4
Identifying motifs with alphabet struct-7
Training PRIESSTESS model
Traceback (most recent call last):
File "/opt/PRIESSTESS/bin/PRIESSTESS_logistic_regression.py", line 45, in <module>
opt = BayesSearchCV(
[conda_env.txt](https://github.com/kaitlin309/PRIESSTESS/files/9551613/conda_env.txt)
File "/opt/conda/envs/PRIESSTESS/lib/python3.8/site-packages/skopt/searchcv.py", line 309, in __init__
super(BayesSearchCV, self).__init__(
File "/opt/conda/envs/PRIESSTESS/lib/python3.8/site-packages/sklearn/utils/validation.py", line 63, in inner_f
return f(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'iid'
Testing PRIESSTESS model on heldout data
Traceback (most recent call last):
File "/opt/PRIESSTESS/bin/test_PRIESSTESS_model.py", line 30, in <module>
lr = pickle.load(open(trainmodel, 'rb'))
FileNotFoundError: [Errno 2] No such file or directory: 'PRIESSTESS_model.sav'
--------
PRIESSTESS model complete
cat: test_PRIESSTESS_model_ON_heldout_auroc.tab: No such file or directory
AUROC on heldout:
Model and results are in ./PRIESSTESS_output
FILES
Model: ./PRIESSTESS_output/PRIESSTESS_model.sav
Model weights: ./PRIESSTESS_output/PRIESSTESS_model_weights.tab
AUROC on heldout: ./PRIESSTESS_output/test_PRIESSTESS_model_ON_heldout_auroc.tab
--------
Dropping the scikit-learn version back down to 0.23 yields another error:
Folding 5000 fg probes
5000 probes of 5000 have been folded
Folding 5000 bg probes
5000 probes of 5000 have been folded
Identifying motifs with alphabet seq-4
Identifying motifs with alphabet seq-struct-8
Identifying motifs with alphabet seq-struct-16
Identifying motifs with alphabet seq-struct-28
Identifying motifs with alphabet struct-2
Identifying motifs with alphabet struct-4
Identifying motifs with alphabet struct-7
Training PRIESSTESS model
Traceback (most recent call last):
File "/opt/PRIESSTESS/bin/PRIESSTESS_logistic_regression.py", line 8, in <module>
from skopt import BayesSearchCV
File "/opt/conda/envs/PRIESSTESS/lib/python3.8/site-packages/skopt/__init__.py", line 55, in <module>
from .searchcv import BayesSearchCV
File "/opt/conda/envs/PRIESSTESS/lib/python3.8/site-packages/skopt/searchcv.py", line 16, in <module>
from sklearn.utils.fixes import MaskedArray
ImportError: cannot import name 'MaskedArray' from 'sklearn.utils.fixes' (/opt/conda/envs/PRIESSTESS/lib/python3.8/site-packages/sklearn/utils/fixes.py)
Testing PRIESSTESS model on heldout data
Traceback (most recent call last):
File "/opt/PRIESSTESS/bin/test_PRIESSTESS_model.py", line 30, in <module>
lr = pickle.load(open(trainmodel, 'rb'))
FileNotFoundError: [Errno 2] No such file or directory: 'PRIESSTESS_model.sav'
--------
PRIESSTESS model complete
cat: test_PRIESSTESS_model_ON_heldout_auroc.tab: No such file or directory
AUROC on heldout:
Model and results are in ./PRIESSTESS_output
FILES
Model: ./PRIESSTESS_output/PRIESSTESS_model.sav
Model weights: ./PRIESSTESS_output/PRIESSTESS_model_weights.tab
AUROC on heldout: ./PRIESSTESS_output/test_PRIESSTESS_model_ON_heldout_auroc.tab
--------
The solution seems to be dropping scikit-learn version back down to 0.22, which seems to contain both functions.
PRIESSTESS -fg /opt/PRIESSTESS/example_data/example_fg.tab.gz -bg /opt/PRIESSTESS/example_data/example_bg.tab.gz
Folding 5000 fg probes
5000 probes of 5000 have been folded
Folding 5000 bg probes
5000 probes of 5000 have been folded
Identifying motifs with alphabet seq-4
Identifying motifs with alphabet seq-struct-8
Identifying motifs with alphabet seq-struct-16
Identifying motifs with alphabet seq-struct-28
Identifying motifs with alphabet struct-2
Identifying motifs with alphabet struct-4
Identifying motifs with alphabet struct-7
Training PRIESSTESS model
Testing PRIESSTESS model on heldout data
--------
PRIESSTESS model complete
AUROC on heldout: 0.57301632
Model and results are in ./PRIESSTESS_output
FILES
Model: ./PRIESSTESS_output/PRIESSTESS_model.sav
Model weights: ./PRIESSTESS_output/PRIESSTESS_model_weights.tab
AUROC on heldout: ./PRIESSTESS_output/test_PRIESSTESS_model_ON_heldout_auroc.tab
--------
I wonder which versions are used in the Laverty et. al. publication?
The text was updated successfully, but these errors were encountered:
Hello! First off, this is a cool piece of software, so thank you for putting it together! However I'm trying to get the software working on example data, but ran into an issue that others may have seen:
PRIESSTESS commitid: 4de5ced
RNAfold 2.5.0
STREME 5.3.0
Python 3.8.13
skopt 0.8.1
Dropping the scikit-learn version back down to 0.23 yields another error:
The solution seems to be dropping scikit-learn version back down to 0.22, which seems to contain both functions.
I wonder which versions are used in the Laverty et. al. publication?
The text was updated successfully, but these errors were encountered: