Error when running extract_markers.py

Hi @Lenus_SUN
Indeed it seems that is a problem with the Python version. Since Python 2 is already deprecated it could be a problem difficult to solve. I would suggest you install the latest version of MetaPhlAn /StrainPhlAn, that also uses a way more complate microbial database (https://www.biorxiv.org/content/10.1101/2020.11.19.388223v1)

Hi thanks so much for swift reply. My purpose is to extract some specific bacteria sequence, which are mainly found in this bacteria, and to design probe and primer based on the sequence extracted.
So im wondering if only assign the db, and follow STEP 4, is fine and valid to fulfill my aim? Thanks a lot for your time and help.

Hi @Lenus_SUN
If you are only interesting on recovering clade-specific markers for your species of interest, that step will do the job.

Best,
Aitor