Controlling the available memory
The default amount of memory avilable to trimmomatic is set to 8GB.
To change the default amount of memory you can set the environment variable
_JAVA_OPTIONS to -Xmx<amount_of_memory_in_GB>G. The recommended way to
set this is in the job_conf.xml file. To change the available memory to 6GB, a
line like the below should be added:
<env id="_JAVA_OPTIONS">-Xmx6G</env>
This will set the environment variable _JAVA_OPTIONS to -Xmx6G.
Credits
This wrapper was originally developed and maintained by Peter Briggs
(@pjbriggs).
Peter van Heusden (@pvanheus) and Marius van den Beek (@mvdbeek) contributed
support for gz compressed FastQ files. Charles Girardot (@cgirardot) and
Jelle Scholtalbers (@scholtalbers) contributed additional options to
ILLUMINACLIP.
Matthias Bernt (@bernt-matthias) added log and trimlog output.
Nicola Soranzo (@nsoranzo) suggested using coreutils to enable cross-platform
support across Linux and MacOS.
Cristóbal Gallardo (@gallardoalba) updated Trimmomatic up to version 0.39.
Peter Briggs wishes to acknowledge the help from Matthia Bernt
(@bernt-matthias) with relocating the tool in the IUC tool repository,
and the IUC for taking on responsibility for the tool.
Licence (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.