Hcc1359 alignment bowtie2
Use BOWTIE2 to Align hcc1395 FASTQ Files to the Genome
BOWTIE2 is a non-splice aware aligner that is used for analyzing DNA sequences. The hcc1395 FASTQ files will be aligned to the human chromosome 22 reference genome to compare the differences between the alignment outcome obtained from a splice aware aligner (HISAT2) and a non-splice aware aligner such as BOWTIE2.
Build BOWTIE2 Reference Index
Similar to HISAT2, BOWTIE2 requires that users index the reference genome prior to alignment. To create the index, use the following:
Listing the contents of the references
folder will reveal the BOWTIE2 indices with extension .bt2
.
Perform the BOWTIE2 Alignment
cat hcc1395_sample_ids.txt | parallel "bowtie2 -x references/22 -1 reads/{}_R1.fq -2 reads/{}_R2.fq -S hcc1395_bowtie2/{}.sam"
Change into hcc1395_bowtie2
and remove hcc1395
from the SAM alignment outputs.
Convert BOWTIE2 SAM Output to BAM
Create sorted BAM.
Create BAM index.