{"id":394,"date":"2013-04-26T13:40:45","date_gmt":"2013-04-26T13:40:45","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/?page_id=394"},"modified":"2013-04-26T13:40:45","modified_gmt":"2013-04-26T13:40:45","slug":"shellfish","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/shellfish\/","title":{"rendered":"Shellfish"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>Shellfish carries out a variety of tasks related to principal component analysis of genome-wide SNP data.<\/p>\n<p>Version 1.3 is available.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>The software is accessible to all users.<\/p>\n<h2>Set up procedure<\/h2>\n<p>Please load the shellfish modulefile: <code>module load apps\/gcc\/shellfish\/1.3<\/code><\/p>\n<p>Note: This module loads an additional module for python 2.7.1 so unloading it will remove python 2.7.1 from your environment.<\/p>\n<h2>Running the application<\/h2>\n<p>Shellfish must be used in batch.<\/p>\n<h3>Serial batch job submission<\/h3>\n<ul>\n<li>Make sure you have loaded the module.<\/li>\n<li>Write a submission script, for example:<\/li>\n<\/ul>\n<pre class=\"in1\">\r\n#!\/bin\/bash\r\n## Inherit user environment from the login node\r\n#$ -V\r\n## Use the current directory as the working directory for SGE output and determining paths to files\r\n#$ -cwd\r\n\r\n## Create a directory called 'out' for the results and cd to it.\r\nmkdir out && out\r\nshellfish.py --ignore-sge --pca --numpcs 2 --maxprocs $NSLOTS --file ..\/input\/data\r\nshellfish.py --ignore-sge --snpload --numpcs 2 --maxprocs $NSLOTS --evecs shellfish.evecs --file ..\/input\/data\r\n<\/pre>\n<ul>\n<li>Submit with: <code>qsub scriptname<\/code><\/li>\n<\/ul>\n<h3>Parallel batch job submission<\/h3>\n<ul>\n<li>Make sure you have loaded the module.<\/li>\n<li>shellfish is not mpi based, therefore you should use <code>smp.pe<\/code> to ensure all processes run on just one compute node.<\/li>\n<li>Write a submission script, for example:<\/li>\n<\/ul>\n<pre class=\"in1\">\r\n#!\/bin\/bash\r\n## Inherit user environment from the login node\r\n#$ -V\r\n## Use the current directory as the working directory for SGE output and determining paths to files\r\n#$ -cwd\r\n## Request parallel environment and a number cores\r\n#$ -pe smp.pe 12\r\n\r\n## Create a directory called 'out' for the results and cd to it.\r\nmkdir out && out\r\nshellfish.py --ignore-sge --pca --numpcs 2 --maxprocs $NSLOTS --file ..\/input\/data\r\nshellfish.py --ignore-sge --snpload --numpcs 2 --maxprocs $NSLOTS --evecs shellfish.evecs --file ..\/input\/data\r\n<\/pre>\n<ul>\n<li>Submit with: <code>qsub scriptname<\/code><\/li>\n<\/ul>\n<h3>Additional notes about the example scripts<\/h3>\n<ul>\n<li><code>--ignore-sge<\/code> &#8211; perhaps unintuitively, this option is required on the CSF otherwise your job will fail or will be allocated resource, but do nothing until it reaches the time limit, at which point it will be automatically killed.<\/li>\n<li>The above script assumes you have a directory called <code>input<\/code> containing the genotype files.<\/li>\n<li>The variable <code>NSLOTS<\/code> is an SGE variable which ensures <code>maxprocs<\/code> matches the number of cores requested. For a serial job you do not need to specify a pe &#8211; SGE assumes that without it you want one core and schedules the job accordingly.<\/li>\n<\/ul>\n<h2>Further info<\/h2>\n<ul>\n<li>From the command line: <code>shellfish.py --help<\/code> gives information about the options available.<\/li>\n<li><a href=\"http:\/\/www.stats.ox.ac.uk\/~davison\/software\/shellfish\/shellfish.php\">Shellfish website<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Overview Shellfish carries out a variety of tasks related to principal component analysis of genome-wide SNP data. Version 1.3 is available. Restrictions on use The software is accessible to all users. Set up procedure Please load the shellfish modulefile: module load apps\/gcc\/shellfish\/1.3 Note: This module loads an additional module for python 2.7.1 so unloading it will remove python 2.7.1 from your environment. Running the application Shellfish must be used in batch. Serial batch job submission.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/software\/applications\/shellfish\/\">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-394","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/394","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=394"}],"version-history":[{"count":1,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/394\/revisions"}],"predecessor-version":[{"id":395,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf-apps\/wp-json\/wp\/v2\/pages\/394\/revisions\/395"}],"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=394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}