-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbatch_pandagma_fam_sup.sh
More file actions
executable file
·45 lines (33 loc) · 1 KB
/
batch_pandagma_fam_sup.sh
File metadata and controls
executable file
·45 lines (33 loc) · 1 KB
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
#!/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=/path/to/your/pandagma
CONFIG=$PDGPATH/config/family3_sup_ur.conf
echo "Config: $CONFIG"
export PATH=$PATH:$PDGPATH:$PDGPATH/bin
echo "PATH: $PATH"
printf "Testing path: get_fasta_from_family_file.pl is ";
which get_fasta_from_family_file.pl
echo
##########
# Run all main steps, assuming ./out_pandagma exists from previous run of pandagma fam
pandagma fsup -c $CONFIG
# Below: run indicated steps.
##########
# Run individual steps; equivalent to pandagma fsup -c $CONFIG
#pandagma fsup -c $CONFIG -s ingest
#pandagma fsup -c $CONFIG -s search_families
#pandagma fsup -c $CONFIG -s tabularize
#pandagma fsup -c $CONFIG -s realign_and_trim
#pandagma fsup -c $CONFIG -s calc_trees
#pandagma fsup -c $CONFIG -s summarize
date # print timestamp