-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbatch_pan_example_conda.sh
executable file
·64 lines (51 loc) · 1.42 KB
/
batch_pan_example_conda.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash
#SBATCH # Your ...
#SBATCH # sbatch ...
#SBATCH # commands ...
#SBATCH # here ...
#SBATCH # ...
set -o errexit
set -o nounset
set -o xtrace
date # print timestamp
# If using conda environment for dependencies:
conda activate pandagma
PDGPATH=$PWD
CONFIG=$PWD/config/XXX.conf
echo "Config: $CONFIG"
export PATH=$PATH:$PDGPATH:$PDGPATH/bin
echo "PATH: $PATH"
##########
# Test PATH
which pandagma
which calc_ks_from_dag.pl
##########
## Run all main steps
#pandagma pan -c $CONFIG
##########
## Run individual steps
#pandagma pan -c $CONFIG -s ingest
#pandagma pan -c $CONFIG -s mmseqs
#pandagma pan -c $CONFIG -s filter
#pandagma pan -c $CONFIG -s dagchainer
#pandagma pan -c $CONFIG -s mcl
#pandagma pan -c $CONFIG -s consense
#pandagma pan -c $CONFIG -s cluster_rest
#pandagma pan -c $CONFIG -s add_extra
#pandagma pan -c $CONFIG -s pick_exemplars
#pandagma pan -c $CONFIG -s filter_to_pctile
#pandagma pan -c $CONFIG -s order_and_name
#pandagma pan -c $CONFIG -s calc_chr_pairs
#pandagma pan -c $CONFIG -s summarize
##########
# Optional alignment and tree-construction steps
#pandagma pan -c $CONFIG -s align_cds
#pandagma pan -c $CONFIG -s align_protein
#pandagma pan -c $CONFIG -s model_and_trim
#pandagma pan -c $CONFIG -s calc_trees
pandagma pan -c $CONFIG -s xfr_aligns_trees
##########
## Optional work-directory cleanup steps
#pandagma pan -c $CONFIG -s clean
#rm -rf work_pandagma
date # print timestamp