-
Notifications
You must be signed in to change notification settings - Fork 0
/
minimap2.sh
24 lines (21 loc) · 1.24 KB
/
minimap2.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
#!/bin/bash
#SBATCH --job-name=minimap2_shortq
#SBATCH --partition=shortq
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=40
#SBATCH --mem=178g
#SBATCH --time=12:00:00
#SBATCH --output=./%x.out
#SBATCH --error=./%x.err
source $HOME/.bash_profile
mamba activate minimap2
# Generate alignment files for asm-to-ref mapping with SAM output
minimap2 -ax asm5 --eqx -t C_excelsa_V5.fa cochlearia_groenlandica_18Oct2019_dfYNf.fa > excelsa_groenlandica.sam
minimap2 -ax asm5 --eqx -t 4 C_excelsa_V5.fa Danica_hifi_c4_dups60.asm.bp.p_ctg.fa > excelsa_danica.sam
minimap2 -ax asm5 --eqx -t 4 cochlearia_groenlandica_18Oct2019_dfYNf.fa Danica_hifi_c4_dups60.asm.bp.p_ctg.fa > groenlandica_danica.sam
# Generate alignment files for asm-to-ref mapping with PAF output
minimap2 -cx asm5 --eqx C_excelsa_V5.fa Danica_hifi_c4_dups60.asm.bp.p_ctg.fa > excelsa-danica_eqx.paf
minimap2 -cx asm5 --eqx C_excelsa_V5.fa cochlearia_groenlandica_18Oct2019_dfYNf.fa > excelsa-groenlandica_eqx.paf
minimap2 -cx asm5 --eqx cochlearia_groenlandica_18Oct2019_dfYNf.fa Danica_hifi_c4_dups60.asm.bp.p_ctg.fa > groenlandica-danica_eqx.paf
minimap2 -cx asm5 --eqx Danica_hifi_c4_dups60.asm.bp.p_ctg.fa cochlearia_groenlandica_18Oct2019_dfYNf.fa > danica-groenlandica_eqx.paf