-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrun-abyss-unitigs.bash
More file actions
executable file
·49 lines (40 loc) · 1008 Bytes
/
run-abyss-unitigs.bash
File metadata and controls
executable file
·49 lines (40 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#! /bin/bash
#$ -S /bin/bash
#$ -m e
#$ -cwd
###############################################################################
# run-abyss-unitigs.bash
# Shell for openMPI enabled ABySS
# February 4, 2014
# NCGR: www.ncgr.org
###############################################################################
if [ z$1 = z ]; then
exit 1
fi
kmer=$1
data=$2
cov=$3
path=$4
mpi=$5
lib=$6
openmpihome="$lib"
#abysshome=$ABYSS
export LD_LIBRARY_PATH=${openmpihome}/lib:${LD_LIBRARY_PATH}
export OMPI_MCA_plm_rsh_disable_qrsh=1
export OMPI_MCA_btl_tcp_if_include=eth0
echo "$lib" > lib.txt
cat $PE_HOSTFILE | cut -f1 -d' ' > hosts.dat
$mpi/mpirun \
--prefix ${openmpihome} \
-v \
-np $NSLOTS \
--hostfile hosts.dat \
$path/ABYSS-P \
--out=abyssrun-1.fa \
--kmer=${kmer} \
--graph=se-graph.dot \
--snp=popped-bubbles.fa \
--coverage-hist=k-mer_coverage.hist \
--coverage=$cov \
--verbose \
$data \