{"id":4776,"date":"2018-06-29T10:24:06","date_gmt":"2018-06-29T10:24:06","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/?page_id=4776"},"modified":"2018-06-29T10:24:06","modified_gmt":"2018-06-29T10:24:06","slug":"gubbins","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/gubbins\/","title":{"rendered":"Gubbins"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>Gubbins (Genealogies Unbiased By recomBinations In Nucleotide Sequences) is an algorithm that iteratively identifies loci containing elevated densities of base substitutions while concurrently constructing a phylogeny based on the putative point mutations outside of these regions. <\/p>\n<p>Version 2.3.2 is installed on the CSF. This can use Anaconda Python v5.1.0 (python 3.6.4).<\/p>\n<h2>Restrictions on use<\/h2>\n<p>There are no restrictions on accessing Gubbins on the CSF. The source is released under the GNU GPL v2 license.<\/p>\n<h2>Set up procedure<\/h2>\n<p>To access the software you must first load <em>one<\/em> of the following modulefile:<\/p>\n<pre>\r\nmodule load apps\/gcc\/python-packages\/anaconda3-5.1.0\/gubbins\/2.3.2\r\n<\/pre>\n<p>The modulefile will automatically load the required version of Anaconda modulefile for you.<\/p>\n<h2>Running the application<\/h2>\n<p>Please do not run Gubbins on the login node. Jobs should be submitted to the compute nodes via batch. <\/p>\n<p>Ensure that your python script reads the number of cores your job has reserved in the batch system by getting the <code>$NSLOTS<\/code> environment variable. You should then pass this value to the Gubbins python functions to ensure your code only uses that number of cores. <\/p>\n<p>run_gubbins.py [FASTA alignment]<\/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\nrun_gubbins.py [FASTA alignment]\r\n\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>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     # Number of cores to use (2-24)\r\n\r\n# You must ensure your python script reads the $NSLOTS environment variable\r\n# to obtain the correct number of cores to use.\r\n\r\nrun_gubbins.py [FASTA alignment] --threads $NSLOTS\r\n\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=\"http:\/\/sanger-pathogens.github.io\/gubbins\/\">Gubbins website<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/sanger-pathogens\/gubbins\">Gubbins github website<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Gubbins (Genealogies Unbiased By recomBinations In Nucleotide Sequences) is an algorithm that iteratively identifies loci containing elevated densities of base substitutions while concurrently constructing a phylogeny based on the putative point mutations outside of these regions. Version 2.3.2 is installed on the CSF. This can use Anaconda Python v5.1.0 (python 3.6.4). Restrictions on use There are no restrictions on accessing Gubbins on the CSF. The source is released under the GNU GPL v2 license&#8230; <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/gubbins\/\">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-4776","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/4776","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=4776"}],"version-history":[{"count":1,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/4776\/revisions"}],"predecessor-version":[{"id":4777,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/4776\/revisions\/4777"}],"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=4776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}