forked from soedinglab/hhdatabase_cif70
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pdb70_cstranslate_old.sh
executable file
·37 lines (28 loc) · 1.24 KB
/
pdb70_cstranslate_old.sh
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
#!/bin/bash
#BSUB -q mpi
#BSUB -W 47:50
#BSUB -n 16
#BSUB -a openmp
#BSUB -o /usr/users/jsoedin/jobs/cif70_cstranslate_old.log
#BSUB -R "span[hosts=1]"
#BSUB -R np16
#BSUB -R haswell
#BSUB -R cbscratch
#BSUB -J cif70_cstranslate_old
#BSUB -m hh
#BSUB -w "done(cif70_hhblits)"
source paths.sh
source $HOME/.bashrc
mkdir -p /local/${USER}
MYLOCAL=$(mktemp -d --tmpdir=/local/${USER})
src_input=${pdb70_build_dir}/pdb70_a3m_without_ss
input_basename=$(basename ${src_input})
cp ${src_input}.ff* ${MYLOCAL}
input=${MYLOCAL}/${input_basename}
echo "pdb70_cstranslate_old: Copied data from ${pdb70_build_dir}/pdb70_a3m_without_ss to ${MYLOCAL}/${input_basename}."
echo "pdb70_cstranslate_old: Running: cstranslate -A ${HHLIB}/data/cs219.lib -D ${HHLIB}/data/context_data.lib -x 0.3 -c 4 -f -i ${input} -o ${MYLOCAL}/pdb70_cs219_old -I a3m"
cstranslate -A ${HHLIB}/data/cs219.lib -D ${HHLIB}/data/context_data.lib -x 0.3 -c 4 -f -i ${input} -o ${MYLOCAL}/pdb70_cs219_old -I a3m
ffindex_build -as ${MYLOCAL}/pdb70_cs219_old.ff{data,index}
rm -f ${pdb70_build_dir}/pdb70_cs219_old.ff{data,index}
cp ${MYLOCAL}/pdb70_cs219_old.ff{data,index} ${pdb70_build_dir}/
echo "pdb70_cstranslate_old: Copied data from ${MYLOCAL}/pdb70_cs219_old.ff{data,index} to ${pdb70_build_dir}"