|
MrBayes: Bayesian inference of phylogenies - Create Submission Script |
|
Page 3 of 6
2. Create Submission script.
More information on MOAB scripts can be found here.
More information on editing text files can be found here
Create a text called dnaml.moab.sh in your phylip directory. The contents of this file should look like this.
#!/bin/bash
#
# Name this job.
#
#MOAB -N dnaml
#
# Run this job in the "backfill" queue. Delete the following line if
# you expect this to run more than 4 hours.
#
#MOAB -q backfill
#
# Maximum wallclock time :( Hours : Minutes : Seconds )
# Change this to the maximum length of time you wish your program
# to run
#
#MOAB -l walltime=03:00:00
#
# Join the two output files (standard output and standard error)
# into one. Based on the job name, this means the single output file
# will be called "dnaml.oJOBID" where JOBID is a job id number
# assigned when the job is submitted.
#
#MOAB -j oe
#
# This command moves from your home directory to the directory
# from which this script was submitted.
#
cd $PBS_O_WORKDIR
#
# First you have to source the script that sets up the Bio Applications
source /usr/local/profile.d/bio.sh
# The command to run
mb bglobin.nex
exit;
|