samtools view -b -F 4 file.bam > mapped.bam