In this tutorial we will read a PMO we previously created and update it with extra metadata. This example uses data downloaded from the SRA associated with the following study:
Furstenau, T. N., Whealy, R., Timm, S., Roberts, A., Maltinsky, S., Wells, S. J., Drake, K., Ross, A., Bolduc, C., Pearson, T., & Fofanov, V. Y. (2025). High-throughput targeted amplicon screening tool for characterizing intrahost diversity in Staphylococcus aureus directly from sample. Microbial Genomics, 11(6). https://doi.org/10.1099/mgen.0.001427
Right now the specimen_info is simply the specimen_name, but we can add additional metadata. For example, if we just look at the first sample we can see it only has the specimen_name field completed
Code
staph_aureus_pmo["specimen_info"][0]
{'specimen_name': '85b498-Wk16-Nasal'}
First we load the metadata from SRA. There are several columns in the SRA/ENA metadata but for now we use as example the geographic location country and the date of collection collection_date.