From Genome Analysis Wiki
Jump to navigationJump to search
1,370 bytes removed
, 18:09, 23 October 2014
Line 135: |
Line 135: |
| | | |
| === Running on a Cluster === | | === Running on a Cluster === |
− | To run on the Cluster, the following settings need to be added to the configuration file:
| + | See [[#Cluster Configuration|Cluster Configuration]] settings for information on how to run on a cluster. |
− | BATCH_TYPE = batch_type
| |
− | BATCH_OPTS = options to your batch system, as you would normally specify them
| |
− | | |
− | Alternatively, <code>--batchtype</code> and <code>--batchopts</code> can be specified on the command line.
| |
− | | |
− | Valid values for BATCH_TYPE are: mosix, sge, sgei, slurm, slurmi, pbs, local
| |
− | * If you are at UM and are using flux, you can specify either <code>flux</code> or <code>pbs</code>.
| |
− | * <code>sgei</code> and <code>slurmi</code> run in interactive mode.
| |
− | * For any BATCH_TYPEs that run in batch mode, GotCloud generates a script that will wait until the step is complete before returning.
| |
− | ** In a sense, it "fakes" interactive mode for all batch types since it will not proceed until a command is finished.
| |
− | | |
− | | |
− | Here's the same configuration file we used above but now made to run on a cluster computer with MOSIX.
| |
− | === Example Configuration File ===
| |
− | CHRS = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| |
− | BAM_INDEX = /path/freeze5/freeze5.bam.index
| |
− | OUT_DIR = /path/freeze5/output
| |
− | REF = /path/reference/hs37d5.fa
| |
− | INDEL_PREFIX = /path/reference/1kg.pilot_release.merged.indels.sites.hg19
| |
− | HM3_VCF = /path/reference/hapmap3_r3_b37.sites.vcf.gz
| |
− | DBSNP_VCF = /path/reference/dbsnp_135.b37.sites.vcf.gz
| |
− | BATCH_TYPE = mosix ### Specify MOSIX as the batch system
| |
− | BATCH_OPTS = -j10,11,12,13 ### Specify available MOSIX compute nodes
| |
| | | |
| == Results == | | == Results == |