Closed passdan closed 1 year ago
Coming back to this, actually it seems that updating the alias doesn't fix the issue I was investigating. But actually this come because although the .yaml files specify numpy version number, the Singularity and Docker files don't. Selecting -profile singularity is broken for Kraken as it uses different versions of various tools to the conda install.
This is the conda install line inside the Singularity and Docker files, although they require local build. Updating in your docker repo would fix for all users
# install bulk of bioinformatic tools using conda
conda create -n AmrPlusPlus_env python=3.9 trimmomatic=0.39 bwa samtools=1.15.1 bedtools kraken=2.1.2 biopython matplotlib=3.5.3 numpy=1.23.1 pysam=0.19.1 pandas=1.4.3 fastqc=0.11.8 multiqc
Thanks!
For anyone else coming across these issues in the temporary future, I made a new docker with the only difference that the version numbers are hard-coded, which works for running amr++ : passdan/amrplusplus-update
kraken2_long_to_wide.py uses an outdated alias
np.float
(now justfloat()
) on lines 56 & 61. Will do a pull in the future when got my environment fixed, or corrected code here:Full error: