Local alignment
To use local alignment to align some longer reads included with Bowtie 2, stay in the same directory and run:
This aligns the long reads to the reference genome using local alignment, with results written to the file eg3.sam.
eg3.sam