Closed sharbie88 closed 5 years ago
(I am unsure what "frozen/flexible environment issues" means)
Are you running it in its own environment?
conda create -n nullarbor_env nullarbor
conda activate nullarbor_env
nullarbor.pl --check
The frozen/flexible issues were part of the "solving environment" problems. But the dedicated environment solved the issues above - thank you.
One last issue exists, however:
ERROR: Please set KRAKEN_DEFAULT_DB appropriately.
I pasted the following instructions into my $HOME/.bashrc, however, the error remains.
export KRAKEN_DEFAULT_DB=$HOME/minikraken_20171019_4GB
export CENTRIFUGE_DEFAULT_DB=$HOME/centrifuge-db/p_compressed+h+v
Note that I also have kraken2-2.0.7-beta in my Home folder.
You need to actually run the commands. When you log in, bash runs the .bashrc file for you. Try logging out and in again.
(And I assume you downloaded and installed the databases too)
Thanks. I logged out and back in. I have kraken2-2.0.7-beta in my Home folder and MiniKraken2 databases in home/sharb/bio folder. So I changed the .bashrc instruction to export KRAKEN_DEFAULT_DB=$HOME/bio/MiniKraken2 Rerunning nullarbor.pl --check found MiniKraken2, but now returns
ERROR: Can not find file /home/sharb/bio/MiniKraken2/database.idx required by kraken
You are mixing Kraken1 and Kraken2 up - they are separate tools and have different databases.
You will need to install both, and set both:
export KRAKEN_DEFAULT_DB=$HOME/bio/MiniKraken
export KRAKEN2_DEFAULT_DB=$HOME/bio/MiniKraken2
You get the v1 one here: https://ccb.jhu.edu/software/kraken/dl/minikraken_20171101_4GB_dustmasked.tgz And the v2 one here: ftp://ftp.ccb.jhu.edu/pub/data/kraken2_dbs/minikraken2_v2_8GB_201904_UPDATE.tgz
I agree is it confusing - because the databases have v1 and v2 too!
Eventually I will make it easier to get up and running.
medal achieved!! Thanks heaps.
I'm using conda/bioconda to install Nullabor and have a couple of problems that appear to be centred around python 3.7.1.
Firstly, I have frozen/flexible environment issues that appear at the start of every installation attempt. (I haven't included them in every copy below, as they're repeated every time.)
Secondly, I have unsatisfiable errors related to my Python installation. I attempted to resolve the samtools issue within - apparently it's looking for openssl=1.0, but finding 1.1.1 - but that didn't work. I also attempted to install centrifuge, but this also had (besides the frozen/flexible environment issues above) python problems.
Ubuntu 18.04 ~/.condarc is channels: -conda-forge -bioconda -defaults channel_priority: false
conda is 4.7.11 pip is 19.2.2 samtools 1.9 conda-forge::python-3.7.3-h33d41f4_1
Firstly: frozen/flexible issues and nullabor install:
Secondly, nullabor/python problems:
I tried to overcome the samtools 1.1.1 v 1.0 issue using the following, but it mustn't have worked
conda install -c bioconda samtools openssl=1.0
next attempt at nullabor installation produced:
I realised I didn't have centrifuge so used conda to install and got: