{"id":6565,"date":"2022-12-06T16:45:32","date_gmt":"2022-12-06T16:45:32","guid":{"rendered":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=6565"},"modified":"2022-12-06T16:53:33","modified_gmt":"2022-12-06T16:53:33","slug":"modeltest-ng","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/modeltest-ng\/","title":{"rendered":"Modeltest-NG"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"https:\/\/github.com\/ddarriba\/modeltest\">Modeltest-NG<\/a> is a program for selecting the best-fit model of evolution for DNA and protein alignments. ModelTest-NG supersedes jModelTest and ProtTest in one single tool, with graphical and command console interfaces.<\/p>\n<p>Version 0.1.7 is installed on the CSF. Please note that the GUI has not been installed &#8211; all use should be via batch jobs.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>There are no restrictions on accessing Modeltest-NG on the CSF. The software is released under the <a href=\"https:\/\/github.com\/ddarriba\/modeltest\/blob\/master\/LICENSE\">Gnu GPL v3 license<\/a> and all usage must fall within that license.<\/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\/modeltest-ng\/0.1.7          # MPI and multithreaded version\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>Please do not run Modeltest-NG on the login node. Jobs should be submitted to the compute nodes via batch. You may, however, run <code>modeltest-ng --help<\/code> to see a list of command-line flags on the login node.<\/p>\n<p>Example jobs for the multicore and MPI executables are available in the following directory (after loading the modulefile.) You can copy the files you find there to your own scratch area if you like:<\/p>\n<pre>\r\ncp -r $MODELTESTNGDIR\/example-jobs\/ ~\/scratch\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\/modeltest-ng\/0.1.7\r\n\r\n# $NSLOTS is automatically set to 1 for a serial job\r\nmodeltest-ng -p $NSLOTS -i <em>input.fas<\/em> -t <em>topology<\/em> -o <em>results<\/em>\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>Single-node Multicore Parallel batch job submission<\/h3>\n<p>This uses the multi-threaded executable so will only run on a single compute node (max 32 cores.)<\/p>\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#$ -pe smp.pe 8     # Number of cores (can be 2--32)\r\n\r\nmodule load apps\/gcc\/modeltest-ng\/0.1.7\r\n\r\n# $NSLOTS is automatically set to the number of cores requested above\r\nmodeltest-ng -p $NSLOTS <em>flags...<\/em>\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>Single-node small MPI Parallel batch job submission<\/h3>\n<p>This uses the MPI executable so can run on one or more compute nodes. The following is for use on a single compute node (up to 32 cores.)<\/p>\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#$ -pe smp.pe 8     # Number of cores (can be 2--32)\r\n\r\nmodule load apps\/gcc\/modeltest-ng\/0.1.7\r\n\r\n# $NSLOTS is automatically set to the number of cores requested above\r\nmpirun -n $NSLOTS modeltest-ng-mpi <em>flags...<\/em>\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>Multi-node large MPI Parallel batch job submission<\/h3>\n<p>This uses the MPI executable so can run on one or more compute nodes. The following is for use on a multiple compute nodes.<\/p>\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#$ -pe mpi-24-ib.pe 48     # Number of cores (48 or more in multiples of 24)\r\n\r\nmodule load apps\/gcc\/modeltest-ng\/0.1.7\r\n\r\n# $NSLOTS is automatically set to the number of cores requested above\r\nmpirun -n $NSLOTS modeltest-ng-mpi <em>flags...<\/em>\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:\/\/github.com\/ddarriba\/modeltest\/wiki\">Modeltest-NG wiki<\/a> (for end-user documentation)<\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Modeltest-NG is a program for selecting the best-fit model of evolution for DNA and protein alignments. ModelTest-NG supersedes jModelTest and ProtTest in one single tool, with graphical and command console interfaces. Version 0.1.7 is installed on the CSF. Please note that the GUI has not been installed &#8211; all use should be via batch jobs. Restrictions on use There are no restrictions on accessing Modeltest-NG on the CSF. The software is released under the.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/modeltest-ng\/\">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-6565","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/6565","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=6565"}],"version-history":[{"count":4,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/6565\/revisions"}],"predecessor-version":[{"id":6569,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/6565\/revisions\/6569"}],"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=6565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}