{"id":2351,"date":"2015-04-01T08:23:55","date_gmt":"2015-04-01T08:23:55","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/?page_id=2351"},"modified":"2018-05-11T14:26:05","modified_gmt":"2018-05-11T14:26:05","slug":"structure","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/structure\/","title":{"rendered":"structure"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>Strucure is a package for using multi-locus genotype data to investigate population structure.<\/p>\n<p>Version 2.3.4 is installed on the CSF. It was compiled with gcc 4.8.2 and -msse4.2 . This is a 64 bit version and thus should be able to handle large datasets as mentioned on the <a href=\"https:\/\/web.stanford.edu\/group\/pritchardlab\/structure.html\">Structure website<\/a>.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>Details of the licence, restrictions, links to licence docs etc<\/p>\n<h2>Set up procedure<\/h2>\n<p>To access the software you must first load the modulefile:<\/p>\n<pre>\r\nmodule load apps\/gcc\/structure\/2.3.4\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>Please do not run Structure on the login node. Jobs should be submitted to the compute nodes via batch.<\/p>\n<h3>Serial batch job submission &#8211; example 1<\/h3>\n<p>Make sure you have the modulefile loaded.<\/p>\n<p>In the directory from which you wish to run the job make sure you have a <code>mainparams<\/code> and if required <code>extraparams<\/code> file.<\/p>\n<p>Then in the same directory 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\nstructure\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>Serial batch job submission &#8211; example 2 <\/h3>\n<p>Make sure you have the modulefile loaded.<\/p>\n<p>In the directory from which you wish to run the job make sure you have parameter files &#8211; these do not have to follow the stanard name, but you need to tell the software what you have called them using <code>-m<\/code> and <code>-e<\/code> in your submission script.<\/p>\n<p>Then in the same directory 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\nstructure -m mymainparams -e myextraparams\r\n<\/pre>\n<p>where <code>mymainparams<\/code> and <code>myextraparams<\/code> are replaced with the names of your files.<\/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>No example available or not possible with the software.<\/p>\n<p>If you have a need to run a large number of similar serial jobs please use <a href=\"\/csf2\/csf-user-documentation\/sge-job-arrays\/\">job arrays<\/a>.<\/p>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"https:\/\/web.stanford.edu\/group\/pritchardlab\/structure.html\">Structure website<\/a><\/li>\n<li><a href=\"http:\/\/pritchardlab.stanford.edu\/structure_software\/release_versions\/v2.3.4\/structure_doc.pdf\">Structure Documentation<\/a>. A copy of this PDF is also available on the CSF and can be read using evince: <code>evince $STRUCTURE_HOME\/doc\/structure_doc.pdf<\/code><\/li>\n<li>A basic examples of <code>mainparams<\/code> and <code>extraparams<\/code> files can be found in <code>$STRUCTURE_HOME\/params<\/code>.<\/li>\n<li><a href=\"http:\/\/pritchardlab.stanford.edu\/structure_software\/release_versions\/v2.3.4\/html\/structure-data.html\">Sample Data Sets<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Strucure is a package for using multi-locus genotype data to investigate population structure. Version 2.3.4 is installed on the CSF. It was compiled with gcc 4.8.2 and -msse4.2 . This is a 64 bit version and thus should be able to handle large datasets as mentioned on the Structure website. Restrictions on use Details of the licence, restrictions, links to licence docs etc Set up procedure To access the software you must first load.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/structure\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":31,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2351","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/2351","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/comments?post=2351"}],"version-history":[{"count":12,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/2351\/revisions"}],"predecessor-version":[{"id":4688,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/2351\/revisions\/4688"}],"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=2351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}