|
a |
|
b/softwares_database/bwa.txt |
|
|
1 |
1. install |
|
|
2 |
mamba install bwa |
|
|
3 |
|
|
|
4 |
2. build index |
|
|
5 |
bwa index <path to reference genome file> |
|
|
6 |
|
|
|
7 |
3. alignment with single-end reads |
|
|
8 |
bwa mem <path to reference genome file> <path to reads file> > <path to output sam file> |
|
|
9 |
|
|
|
10 |
4. alignment with paired-end reads |
|
|
11 |
bwa mem <path to reference genome file> <path to read 1 file> <path to read 2 file> > <path to output sam file> |
|
|
12 |
|
|
|
13 |
5. alignment with PacBio subreads |
|
|
14 |
bwa mem -x pacbio <path to reference genome file> <path to reads file> > <path to output sam file> |
|
|
15 |
|
|
|
16 |
6. alignment with Oxford Nanopore reads |
|
|
17 |
bwa mem -x ont2d <path to reference genome file> <path to reads file> > <path to output sam file> |