[014e6e]: / softwares_database / bowtie2.txt

Download this file

13 lines (9 with data), 651 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
1. Install the bowtie2
mamba install -c bioconda bowtie2 -y
2. Build an index using bowtie2
bowtie2-build --threads <number of alignment threads to launch> <path to genome fasta file> <path to Index filename prefix (minus trailing .X.bt2)>>
3. map reads to reference genome with bowtie2
#PE
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>
#SE
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>