diff --git a/bin/iTol.py b/bin/iTol.py
index <HASH>..<HASH> 100755
--- a/bin/iTol.py
+++ b/bin/iTol.py
@@ -136,7 +136,7 @@ def main():
 
     # calculate analysis results
     categories = None
-    if args.map_categories is not None:
+    if args.map_categories is not None and args.analysis_metric != "raw":
         categories = args.map_categories.split(",")
 
     # set transform if --stabilize_variance is specfied
Fixes bug in iTol.py when calculating raw abundance

If a user sets the analysis metric to "raw" and also specifies a category (-c) then the abundance calculation per OTU is split between the groups instead of being calculated across all samples.

The fix simply ignores the -c option if the analysis metric is set to raw.