{"id":8402,"date":"2024-10-31T15:09:58","date_gmt":"2024-10-31T15:09:58","guid":{"rendered":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=8402"},"modified":"2024-10-31T15:09:58","modified_gmt":"2024-10-31T15:09:58","slug":"lofreq","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/lofreq\/","title":{"rendered":"LoFreq"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"https:\/\/csb5.github.io\/lofreq\/\">LoFreq*<\/a>(i.e. LoFreq version 2) is a fast and sensitive variant-caller for inferring SNVs and indels from next-generation sequencing data. <\/p>\n<p>Version 2.1.5 is installed on the CSF. This has been compiled from source against HTSLib 1.20.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>There are no restrictions on accessing the software on the CSF.<\/p>\n<p>You must cite your usage of LoFreq &#8211; please see the <a href=\"https:\/\/csb5.github.io\/lofreq\/citation\/\">citation page<\/a> for details.<\/p>\n<h2>Set up procedure<\/h2>\n<p>We now recommend loading modulefiles within your jobscript so that you have a full record of how the job was run. See the example jobscript below for how to do this. Alternatively, you may load modulefiles on the login node and let the job <abbr title=\"add '#$ -V' to your jobscript\">inherit these settings<\/abbr>.<\/p>\n<p>Load one of the following modulefiles:<\/p>\n<pre>\r\nmodule load apps\/gcc\/lofreq\/2.1.5\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>Please do not run LoFreq on the login node. Jobs should be submitted to the compute nodes via batch.<\/p>\n<p>You may view the help text by running the following on the login node, after loading the modulefile:<\/p>\n<pre>\r\nlofreq                 # Will show the list of commands supported\r\nlofreq call            # Help about the \"call\" command\r\nlofreq call-parallel   # Help about the \"call-parallel\" command\r\nlofreq <em>command<\/em>         # Help about <em>command<\/em>\r\n<\/pre>\n<h3>Serial batch job submission<\/h3>\n<p>Create a batch submission script (which will load the modulefile in the jobscript), for example:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#$ -cwd             # Job will run from the current directory\r\n                    # NO -V line - we load modulefiles in the jobscript\r\n\r\nmodule load apps\/gcc\/lofreq\/2.1.5\r\n\r\nlofreq call <em>options<\/em> <em>in<\/em>.bam\r\n\r\n# For example:\r\nlofreq call -f ref.fa -o vars.vcf aln.bam\r\n<\/pre>\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>Create a batch submission script (which will load the modulefile in the jobscript), for example:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#$ -cwd\r\n#### Now choose <strong>one<\/strong> of the following parallel environments\r\n#$ -pe smp.pe  8      # Intel hardware, 2--32 cores. Use this for high-memory jobs too.\r\n## OR\r\n#$ -pe amd.pe  8      # AMD Genoa hardware, 2-168 cores.\r\n\r\n# The smp.pe environment can run high-memory jobs. Add extra flags as needed (check the docs.)\r\n\r\nmodule load apps\/gcc\/lofreq\/2.1.5\r\n\r\nlofreq call-parallel --pp-threads $NSLOTS <em>options<\/em> <em>in<\/em>.bam\r\n\r\n# For example\r\nlofreq call-parallel --pp-threads $NSLOTS -f ref.fa -o vars.vcf aln.bam\r\n                                    #\r\n                                    # Will be replaced by the number of cores requested above\r\n\r\n# The somatic command\r\nlofreq somatic --threads $NSLOTS -n normal.bam -t tumor.bam -f hg19.fa  -o out_ [-d dbsnp.vcf.gz]\r\n                  #\r\n                  # The somatic command uses --threads (not --pp-threads)\r\n<\/pre>\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=\"https:\/\/csb5.github.io\/lofreq\/commands\/\">LoFreq command reference<\/a><\/li>\n<li><a href=\"https:\/\/csb5.github.io\/lofreq\/\">LoFreq website<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview LoFreq*(i.e. LoFreq version 2) is a fast and sensitive variant-caller for inferring SNVs and indels from next-generation sequencing data. Version 2.1.5 is installed on the CSF. This has been compiled from source against HTSLib 1.20. Restrictions on use There are no restrictions on accessing the software on the CSF. You must cite your usage of LoFreq &#8211; please see the citation page for details. Set up procedure We now recommend loading modulefiles within your.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/lofreq\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":86,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-8402","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/8402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/comments?post=8402"}],"version-history":[{"count":1,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/8402\/revisions"}],"predecessor-version":[{"id":8403,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/8402\/revisions\/8403"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/86"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/media?parent=8402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}