Hi Mary,
I'm not aware of direct commands to implement it in QIIME2 but you can export results and make a phyloseq object in R. Then you can use the following codes kindly shared by Mike Mclaren to do the calculation at the reads and ASV level.
Yanxian