User Tools

Site Tools


structure-software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
structure-software [2017/02/21 08:36] – [Sample Script] joguyastructure-software [2022/06/13 08:37] (current) aorth
Line 7: Line 7:
   * Latest version: 2.3.4   * Latest version: 2.3.4
   * Added: June, 2014   * Added: June, 2014
-  * Link: http://pritchardlab.stanford.edu/structure.html+  * Link: https://web.stanford.edu/group/pritchardlab/structure.html
  
 ===== Usage ===== ===== Usage =====
  
-See which versions of Structure are available:+See which versions are available:
 <code>$ module avail structure</code> <code>$ module avail structure</code>
  
-Load structure +Load one version into your environment and run it: 
-<code>$ module load structure/2.3.4</code>+<code>$ module load structure/2.3.4 
 +$ structure</code>
  
 ==== Sample Script ===== ==== Sample Script =====
  
-Here's a script to run structure using SLURM job scheduler whereby each structure iteration is submitted as a separate SLURM batch job:+Here's a script to run structure using the SLURM job scheduler whereby each structure iteration is submitted as a separate SLURM batch job:
  
-<code> +<code>#!/bin/env bash
-#!/bin/env bash+
  
 ## shell script to run structure in the background using SLURM job scheduler ## shell script to run structure in the background using SLURM job scheduler
Line 106: Line 106:
  
         done         done
-done +done</code>
-</code>+
  
 Usage: Usage:
  
-<code> +<code>./run-structure.sh 5 /home/joguya/structure/mainparams /home/joguya/structure/extraparams /home/joguya/structure/241SNPs-struct.in</code> 
-./run-structure.sh 5 /home/joguya/structure/mainparams /home/joguya/structure/extraparams /home/joguya/structure/241SNPs-struct.in                                                                         + 
-</code>+===== Installation ===== 
 +Notes from the sysadmin during installation: 
 + 
 +<code>$ cd /tmp 
 +$ wget https://web.stanford.edu/group/pritchardlab/structure_software/release_versions/v2.3.4/structure_kernel_source.tar.gz 
 +$ tar xf structure_kernel_source.tar.gz  
 +$ cd structure_kernel_src 
 +$ make 
 +$ sudo cp structure /export/apps/structure/2.3.4/bin</code>
structure-software.1487666204.txt.gz · Last modified: 2017/02/21 08:36 by joguya