enveomics icon indicating copy to clipboard operation
enveomics copied to clipboard

Enveomics::UnimplementedError

Open dot4822 opened this issue 3 years ago • 1 comments

Hi,

I am trying to use the ANIr script to estimate the ANI of reads against genomes. To do this, I have created a CONDA environment with Ruby v2.4.5p335 and samtools v1.9 installed.

To use anir.rb, I simply git clone the Enveomics collection.

The command line I used is enveomics/Scripts/anir.rb -m [BAM file] --m-format bam -t 2. The script worked well at the first stage, and threw out error information at the step "Modeling identities by gaussian mixture model using EM".

The error information is as below:

enveomics/Scripts/lib/enveomics_rb/anir.rb:257:in `model_identities_by_gmm_em': Unimplemented operation (Enveomics::UnimplementedError)

I am not sure whether I missed any installation step before running the script.

I wonder whether anyone has got the same error, or knows how to solve this.

Thanks!

Best wishes, Dot

dot4822 avatar Mar 08 '21 03:03 dot4822

Dear Dot,

We're in the process of implementing the automated detection of identity thresholds, and it took longer than expected. However, you can use the script by setting a fixed identity threshold instead by passing the flag -a fix.

This should get your run to work without issues, but please let me know if you face any more problems.

Best wishes, Miguel.

lmrodriguezr avatar Mar 08 '21 10:03 lmrodriguezr