If the headers has fixed names like
Loi
S_an
S_ani
S_barcode
etc.

There will be a flexible coding.
But, of course, you need to know what to extract beforehand.