Using trimmomatic before qiime2

I would recommend using q2-cutadapt to trim off adapters/primers instead of trimmomatic:

The advantage is that this is all in QIIME 2, so the steps get stored in the provenance tracking, and you are much less likely to run into formatting issues.

In theory, using trimmomatic should be fine, but we have had some users report issues after attempting to import those data into QIIME 2. So go for it, but search the archive on this forum for "trimmomatic" to see other formatting troubleshooting that others have needed to do in the past.

Good luck!