{"id":7442,"date":"2024-02-20T19:04:59","date_gmt":"2024-02-20T19:04:59","guid":{"rendered":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=7442"},"modified":"2024-02-20T19:19:11","modified_gmt":"2024-02-20T19:19:11","slug":"sclimbic","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/sclimbic\/","title":{"rendered":"ScLimbic"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"https:\/\/surfer.nmr.mgh.harvard.edu\/fswiki\/ScLimbic\">ScLimbic<\/a> provides a deep learning tool, <code>mri_sclimbic_seg<\/code>, to automatically segment several subcorical limbic structures from T1-weighted images (&#8220;SC&#8221; = subcortical). The structures are shown in the figure below (note: anterior commissure is only present for reference reasons).<\/p>\n<p>Version 2021-07-25 is installed on the CSF.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>We have restricted access to this application to only those people with access to FreeSurfer. Hence you should read the <a href=\"..\/freesurfer\">Restrictions on Use<\/a> section of the FreeSurfer page and follow the instructions there to request access to FreeSurfer. <strong>You will not be able to run ScLimbic if you do not yet have access to FreeSurfer.<\/strong><\/p>\n<p>The authors of this software also state that those using this toolbox should cite: &#8220;A Deep Learning Toolbox for Automatic Segmentation of Subcortical Limbic Structures from MRI Images. Greve, DN, Billot, B, Cordero, D, Hoopes, A, Hoffmann, M, Dalca, A, Fischl, B, Iglesias, JE, Augustinack, JC. Accepted. Neuroimage 2021. 10.1016\/j.neuroimage.2021.118610. PMID: 34571161.&#8221; <a href=\"https:\/\/pubmed.ncbi.nlm.nih.gov\/34571161\">https:\/\/pubmed.ncbi.nlm.nih.gov\/34571161<\/a>. <a href=\"https:\/\/surfer.nmr.mgh.harvard.edu\/pub\/articles\/greve.2021.ni.sclimbic.pdf\">PDF Available here<\/a>.<\/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\n# Please note: you must <em>not<\/em> have any freesurfer modulefiles loaded to use this modulefile!\r\nmodule load apps\/binapps\/sclimbic\/20210725\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>Please do not run <code>mri_sclimbic_seg<\/code> or <code>freeview<\/code> on the login node. Jobs should be submitted to the compute nodes via batch.<\/p>\n<p>You may run <code>mri_sclimbic_seg --help<\/code> to see a list of command-line flags that you may wish to use when writing your jobscripts.<\/p>\n<h3>Running ScLimbic and FreeSurfer<\/h3>\n<p>It is not possible to load both a <code>freesurfer<\/code> modulefile and a <code>sclimbic<\/code> modulefile. <\/p>\n<p>If you wish to run both apps in the same jobscript, you should load one, run the app, then unload that modulefile and load the next. For example<\/p>\n<pre>\r\n#!\/bin\/bash\r\n#$ -cwd\r\n\r\n# This will set SUBJECTS_DIR to ~\/scratch\/subjects\r\nmodule load apps\/binapps\/freesurfer\/7.4.1\r\n<em>freesurfer commands<\/em>\r\n\r\n# Unload all modulefiles\r\nmodule purge\r\n\r\n# Note that this will also set SUBJECTS_DIR to ~\/scratch\/subjects if you've not already set it\r\nmodule load apps\/binapps\/sclimbic\/20210725\r\n<em>sclimibic commands<\/em>\r\n            #\r\n            # See below for a basic command-line\r\n<\/pre>\n<h3>Sample Volume<\/h3>\n<p>The installation comes with the <code>bert.t1.mgz<\/code> sample volume, which can be found at <code>$SCLIMBICDIR\/bert.t1.mgz<\/code> after loading the modulefile.<\/p>\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\n# Please note, you CANNOT have any freesurfer modulefiles loaded at this point.\r\nmodule load apps\/binapps\/sclimbic\/20210725\r\n\r\nmri_sclimbic_seg --i <em>input_vol<\/em>.mgz --o <em>output_vol<\/em>.mgz\r\n  #\r\n  # See the ScLimbic website for more command-lines\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             # Job will run from the current directory\r\n#$ -pe smp.pe 4     # Number of cores (2--32)\r\n                    # NO -V line - we load modulefiles in the jobscript\r\n\r\n# Please note, you CANNOT have any freesurfer modulefiles loaded at this point.\r\nmodule load apps\/binapps\/sclimbic\/20210725\r\n\r\nmri_sclimbic_seg --threads $NSLOTS --i <em>input_vol<\/em>.mgz --o <em>output_vol<\/em>.mgz\r\n  #\r\n  # See the ScLimbic website for more command-lines                                        #\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>Using the freeview viewer<\/h2>\n<p>This should be run in an interactive session, which will run the app on a compute node but display it on your laptop\/PC as follows:<\/p>\n<pre>\r\n# On the CSF login node:\r\nmodule load apps\/binapps\/sclimbic\/20210725\r\ncd ~\/scratch\/where\/your\/volumes\/are\r\nqrsh -l short -cwd -V freeview vol.mgz\r\n<\/pre>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"https:\/\/surfer.nmr.mgh.harvard.edu\/fswiki\/ScLimbic\">ScLimbic website<\/a> which lists more command-line options for the tool.<\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview ScLimbic provides a deep learning tool, mri_sclimbic_seg, to automatically segment several subcorical limbic structures from T1-weighted images (&#8220;SC&#8221; = subcortical). The structures are shown in the figure below (note: anterior commissure is only present for reference reasons). Version 2021-07-25 is installed on the CSF. Restrictions on use We have restricted access to this application to only those people with access to FreeSurfer. Hence you should read the Restrictions on Use section of the FreeSurfer.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/sclimbic\/\">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-7442","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/7442","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=7442"}],"version-history":[{"count":8,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/7442\/revisions"}],"predecessor-version":[{"id":7450,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/7442\/revisions\/7450"}],"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=7442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}