metageni / SUPER-FOCUS

A tool for agile functional analysis of shotgun metagenomic data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

divide by zero error

linsalrob opened this issue · comments

There is a divide by zero error when you have many samples that have different ss levels and one or a few that do not.

In this line:

relative_abundance = list((level_results[level]/normalizer) * 100)

normalizer is a numpy array that may contain zero's.