bowtie2-build -f referenceGenome.fa index
bowtie2 -p thread -x index -U SE.fq.gz > | samtools view -bhS -@ thread -F 0x4 -q 42 - | samtools sort -@ thread - > sorted.bam
bowtie2 -p thread --no-mixed --no-discordant -X 500 -x index -1 PE_1.fq.gz -2 PE_2.fq.gz | samtools sort -@ thread -O bam - > sorted.bam
--no-mixed: suppress unpaired alignments for PE. --no-discordant: suppress discordant alignments for PE. -X int: maximu fragment length (default: 500).