-
Notifications
You must be signed in to change notification settings - Fork 0
/
roary-gbk_bcw_260.sh
executable file
·45 lines (37 loc) · 1.11 KB
/
roary-gbk_bcw_260.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
#!/bin/bash -l
#SBATCH -D /home/smhigdon/Projects/lactococcus
#SBATCH -o /home/smhigdon/Projects/lactococcus/slurm-log/roary-all-stdout-%j.txt
#SBATCH -e /home/smhigdon/Projects/lactococcus/slurm-log/roary-all-stderr-%j.txt
#SBATCH -J roary_all
#SBATCH -p high
#SBATCH -N 1
#SBATCH -n 24
#SBATCH --mem=64000
#SBATCH -t 72:00:00
#SBATCH --mail-type=END,FAIL
#SBATCH --mail-user=smhigdon@ucdavis.edu
# Name: roary-bcw_lactococcus.sh
# Created by: Shawn Higdon
# creation date: June 30, 2020
# This script will generate a pan-genome for all lactococcus genomes using roary: the pan genome pipeline (v3.12.0 built with conda).
# Load Modules
source activate roary
# Define variables
ANALYSIS_FOLDER=analysis
mkdir -p $ANALYSIS_FOLDER
PROKKA_FOLDER=$ANALYSIS_FOLDER/prokka-gff-ms3
ROARY_FOLDER=$ANALYSIS_FOLDER/roary-gff-ms3
mkdir -p $ROARY_FOLDER
# Generate Pan-Genome with Roary using multi-fasta amino acid files from Prokka
roary \
-e \
-p 24 \
-i 90 \
-f $ROARY_FOLDER \
-o all_isolate_clustered_proteins \
$PROKKA_FOLDER/*.gff
source deactivate
hostname
export OMP_NUM_THREADS=$SLURM_NTASKS
module load benchmarks
stream