Use "marker2reads" directly

Hello! I found that you collected the data to reads2maker but did not use the dict directly through out the metaphlan.py.
Is it safe for me to collect the reads number by only one dict “markers2reads” which would be like:“{marker1:{read1, read2, …}, marker2: …}” ?
The corresponding code in MPA3 is shown below:
image

Yes, it will produce the same result

1 Like