The -Xmx2G tells specifies the maximum memory allocation pool for a Java Virtual Machine (JVM).
Basically that the program can use up to 2Gb of memory
This should not be necessary for Trimmomatic - so you can leave this out and it should run fine with the default settings.
From your command, I see that you are only removing low quality bases from the ends of the reads if the quality is below 20 - It seems that all reads have survived this process (there were no reads where all the bases were of quality below 20).
Trimmomatic runs very fast.
It is a good idea to check your dataset on Fastqc before and after running Trimmomatic to visualize the results.
Basically that the program can use up to 2Gb of memory
This should not be necessary for Trimmomatic - so you can leave this out and it should run fine with the default settings.
From your command, I see that you are only removing low quality bases from the ends of the reads if the quality is below 20 - It seems that all reads have survived this process (there were no reads where all the bases were of quality below 20).
Trimmomatic runs very fast.
It is a good idea to check your dataset on Fastqc before and after running Trimmomatic to visualize the results.
Comment