Sorry for the slow reply. Making this table isn’t a part of the HUMAnN workflow per se. You would need to first merge your per-sample profiles into a multi-profile table (we do bundle utility scripts with bioBakery for doing this step). You would then need to merge your metadata table onto the multi-profile table, typically using the sample ID as a key for merging.