Running coxiella.ncbi.fa through the webserver version with a minimum number of 10 genes works fine. Running the same file through the standalone version with the command:
processing: coxiella
time after genecalls: 441.18290638923645
time after feature calculations: 806.0731310844421
[16:36:12] WARNING: ../src/tree/./updater_quantile_hist.h:162: Attempted to load internal configuration for a model file that was generated by a previous version of XGBoost. A likely cause for this warning is that the model was saved with saveRDS() in R or pickle.dump() in Python. We strongly ADVISE AGAINST using saveRDS() or pickle.dump() so that the model remains accessible in current and upcoming XGBoost releases. Please use xgb.save() instead to preserve models for the long term. For more details and explanation, see https://xgboost.readthedocs.io/en/latest/tutorials/saving_model.html
Traceback (most recent call last):
File "/home/artic/miniconda3/envs/PhageBoost-env/bin/PhageBoost", line 8, in <module>
sys.exit(main())
File "/home/artic/.local/lib/python3.7/site-packages/PhageBoost/main.py", line 223, in main
model, feats, feats_, limit = read_model_from_file(model_file)
File "/home/artic/.local/lib/python3.7/site-packages/PhageBoost/main.py", line 65, in read_model_from_file
feats_ = [i.replace('-delta', '') for i in feats]
TypeError: 'NoneType' object is not iterable
For now PhageBoost needs XBboost 1.02
In your conda environment, you can install the specific xgboost version using conda within the environment where phageboost is installed
Currently trying to use the standalone version to identify phages in coxiella.
First I created an input file to PhageBoost with:
Running
coxiella.ncbi.fa
through the webserver version with a minimum number of 10 genes works fine. Running the same file through the standalone version with the command:Throws the following error:
output from
conda env export
: