{"id":4439,"date":"2018-02-19T11:34:55","date_gmt":"2018-02-19T11:34:55","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/?page_id=4439"},"modified":"2018-02-19T11:34:55","modified_gmt":"2018-02-19T11:34:55","slug":"trimmomatic","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/trimmomatic\/","title":{"rendered":"trimmomatic"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>Trimmomatic is a program to perform a variety of useful trimming tasks for Illumina paired-end and single ended data.<\/p>\n<p>Versions 0.32 and 0.36 is installed.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>Trimmomatic is licensed under the GNU General Public License version 3; there are no restrictions on its use.<\/p>\n<h2>Set up procedure<\/h2>\n<p>To access the software you must first load <strong>one<\/strong> of the modulefiles:<\/p>\n<pre>\r\nmodule load apps\/binapps\/trimmomatic\/0.36\r\n<\/pre>\n<h2>Environment variables<\/h2>\n<p>The modulefile defines a number of environment variables that can be used to access data files and modify the behaviour of the program:<\/p>\n<pre>TRIMMOMATIC_JAVA_TMPDIR=\/tmp\r\nTRIMMOMATICSHARE=\/opt\/gridware\/pkg\/apps\/trimmomatic\/0.32\/noarch\/share\r\nTRIMMOMATIC_JAVA_MEM_MX=2g\r\n<\/pre>\n<p>The Trimmomatic adapter files can be found under the directory $TRIMMOMATICSHARE\/adapters\/<\/p>\n<h2>Running the application<\/h2>\n<p>Please do not run Trimmomatic on the login node. Jobs should be submitted to the compute nodes via batch.<\/p>\n<h3>Serial batch job submission<\/h3>\n<p>Make sure you have the modulefile loaded then create a batch submission script, for example:<\/p>\n<pre>\r\n#!\/bin\/bash\r\n#$ -S \/bin\/bash\r\n#$ -cwd             # Job will run from the current directory\r\n#$ -V               # Job will inherit current environment settings\r\n\r\ntrimmomatic --threads $NSLOTS SE in.fq out.fq OPERATION [OPERATION...] &gt; out.log<\/pre>\n<p>Note that the <code>$NSLOTS<\/code> variable will be set automatically to <code>1<\/code> by the batch system. This ensure trimmomatic uses only a single core, matching the single core you&#8217;ve reserved by using a serial jobscript.<\/p>\n<p>Submit the jobscript using:<\/p>\n<pre>qsub <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h3>Parallel batch job submission<\/h3>\n<p>Make sure you have the modulefile loaded then create a batch submission script, for example:<\/p>\n<pre>\r\n#!\/bin\/bash\r\n#$ -S \/bin\/bash\r\n#$ -cwd             # Job will run from the current directory\r\n#$ -V               # Job will inherit current environment settings\r\n#$ -pe smp.pe 8     # Example: 8 cores. Can specify 2-16. Do NOT use 1.\r\n\r\ntrimmomatic --threads $NSLOTS SE in.fq out.fq OPERATION [OPERATION...] &gt; out.log\r\n<\/pre>\n<p>Note that <code>$NSLOTS<\/code> will be set automatically to the number of cores requested on the <code>#$ -pe<\/code> line. This ensures the trimmomatic uses only the cores you have reserved in the batch system.<\/p>\n<p>Submit the jobscript using:<\/p>\n<pre>qsub <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"http:\/\/www.usadellab.org\/cms\/index.php?page=trimmomatic\">Trimmomatic website<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Trimmomatic is a program to perform a variety of useful trimming tasks for Illumina paired-end and single ended data. Versions 0.32 and 0.36 is installed. Restrictions on use Trimmomatic is licensed under the GNU General Public License version 3; there are no restrictions on its use. Set up procedure To access the software you must first load one of the modulefiles: module load apps\/binapps\/trimmomatic\/0.36 Environment variables The modulefile defines a number of environment variables.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/trimmomatic\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":24,"featured_media":0,"parent":31,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4439","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/4439","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/comments?post=4439"}],"version-history":[{"count":1,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/4439\/revisions"}],"predecessor-version":[{"id":4440,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/4439\/revisions\/4440"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/31"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/media?parent=4439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}