Dear
Nicola or Prof. Huttenhower,
Sorry for a silly question here. When I try to execute the "
A) Format Data for LEfSe" step on the LEfSe Galaxy server with my uploaded data, I got an error message as follows:
Traceback (most recent call last):
File "/home/usr/local/galaxy-dist/tools/lefse/format_input.py", line 268, in <module>
feats = numerical_values(feats,params['norm_v'])
File "/home/usr/local/galaxy-dist/tools/lefse/format_input.py", line 127, in numerical_values
for i in range(len(feats.values()[0])): IndexError: list index out of range
This error message looks like to be caused by the "Per-sample normalization" setting when formatting the data. In my case, I did per-sample normalization of the sum of the values to 1M, therefore, I chose "Yes" for this setting. Here are the first few lines with my input file:
NAME S1 S2 Stool1 Stool2 S3 S4
ko00564 4364.73 5393.18 3783.45 3963.85 4921.46 5966.87
ko00680 4542.29 3870.01 5717.12 5803.42 5357.55 4521.2
ko00563 0 17.6 0 0 0 260.132
Again, I normalized those values so that all values per column (therefore per sample) added up to 1,000,000.
Would you please give me a hint where I could possibly did wrong here?
Thanks a lot,
Wennie