Given that the steps of metaphlan4 can take a while, it would be great to have logging.info() with progress updates.
For example:
import logging
logging.basicConfig(format='%(asctime)s - %(message)s', level=logging.DEBUG)
# later on
logging.info('Starting step 1...')
[...]
logging.info('Starting step N...')