|
a |
|
b/softwares_database/bowtie2.txt |
|
|
1 |
1. Install the bowtie2 |
|
|
2 |
mamba install -c bioconda bowtie2 -y |
|
|
3 |
|
|
|
4 |
2. Build an index using bowtie2 |
|
|
5 |
bowtie2-build --threads <number of alignment threads to launch> <path to genome fasta file> <path to Index filename prefix (minus trailing .X.bt2)>> |
|
|
6 |
|
|
|
7 |
3. map reads to reference genome with bowtie2 |
|
|
8 |
#PE |
|
|
9 |
bowtie2 -p <number of alignment threads to launch> -x <path to Index filename prefix (minus trailing .X.bt2)> -1 <path to read 1 file> -2 <path to read 2 file> -S <path to output sam file> |
|
|
10 |
|
|
|
11 |
#SE |
|
|
12 |
bowtie2 -p <number of alignment threads to launch> -x <path to Index filename prefix (minus trailing .X.bt2)> -U <path to read 1 file> -S <path to output sam file> |