-
Notifications
You must be signed in to change notification settings - Fork 0
/
04_align.sh
35 lines (28 loc) · 875 Bytes
/
04_align.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
#!/bin/bash
#SBATCH --account=vuw03922
#SBATCH --cpus-per-task=2
#SBATCH --mem=500MB
#SBATCH --time=0-0:5:00
#SBATCH --job-name=align
#SBATCH -o /nesi/nobackup/vuw03922/stdout/align.%j.out
#SBATCH -e /nesi/nobackup/vuw03922/stdout/align.%j.err
#SBATCH --mail-type=END,FAIL
#SBATCH [email protected]
#load modules
module purge
module load MAFFT/7.505-gimkl-2022a-with-extensions
#set environment
fasta=/nesi/nobackup/vuw03922/projects/BycatchID/data/fasta
#combine all sequences
cat $fasta/*/*.fasta > $fasta/combined.fasta
#align
mafft --auto $fasta/combined.fasta > $fasta/combined_mafft_mitogenome.fasta
#Cluster: mahuika
#Job ID: 43967788
#State: COMPLETED
#Cores: 1
#Tasks: 1
#Nodes: 1
#Job Wall-time: 2.0% 00:00:06 of 00:05:00 time limit
#CPU Efficiency: 83.3% 00:00:05 of 00:00:06 core-walltime
#Mem Efficiency: 0.0% 0.00 MB of 1.00 GB