Fix up metagenome_contribution.py script