chrisquince / DESMAN

De novo Extraction of Strains from MetAgeNomes
Other
69 stars 22 forks source link

ERROR in GeneAssign.py in straintigs #42

Open lauren-mak opened 4 years ago

lauren-mak commented 4 years ago

I'm getting an error when trying to run desmanflow.nf on the included test data:

The NextFlow script exits at the GeneAssign.py command of the straintigs step with the following error (everything else is fine):

/home/lam4003/bin/DESMAN/lib/python3.6/site-packages/desman-2.1.1-py3.6-linux-x86_64.egg/desman/Eta_Sampler.py:155:` RuntimeWarning: 
invalid value encountered in true_divide
  gammaR = gammaR / row_sums[:, np.newaxis]

I have tried switching the script to python3 (as in #39) but I still get the same error. I have checked all of my environment variables and they seem to be in order. I've also checked the input files to see if anything's been deleted and they're all there. To make sure it's not slurm messing with the Nextflow script, I pulled out the GeneAssign.py command and tried it on the command line, but I got the exact same error.

Any insight into the problem? Thanks!