# Format Data for LEfSe on data 25

**URL:** <https://forum.biobakery.org/t/format-data-for-lefse-on-data-25/5561>\
**Category:** LEfSe\
**Created:** [June 30, 2023, 2:16pm UTC](https://forum.biobakery.org/t/format-data-for-lefse-on-data-25/5561 "2023-06-30T14:16:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zahraa\_Rahal](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/zahraa_rahal/32/2245_2.png) [@Zahraa\_Rahal](https://forum.biobakery.org/u/Zahraa_Rahal)\
**Post date:** [June 30, 2023, 2:16pm UTC](https://forum.biobakery.org/t/format-data-for-lefse-on-data-25/5561/1 "2023-06-30T14:16:14Z")

</div>

Dataset Error Report  
An error occurred while running the tool LEfSe\_for.

Details  
Execution resulted in the following messages:

Fatal error: Exit code 1 ()  
Tool generated the following standard error:

Traceback (most recent call last):  
File “/usr/bin/lefse\_format\_input.py”, line 8, in   
sys.exit(format\_input())  
File “/usr/lib/python3.6/site-packages/lefse/lefse\_format\_input.py”, line 437, in format\_input  
class\_sl,subclass\_sl,class\_hierarchy = get\_class\_slices(list(zip(cls[‘class’], cls[‘subclass’], cls[‘subject’])))  
File “/usr/lib/python3.6/site-packages/lefse/lefse\_format\_input.py”, line 163, in get\_class\_slices  
previous\_class = data[0][0]  
IndexError: list index out of range
