I am currently extracting unaligned reads with the syntax below:-

Code:
samtools view -f 4 *.bam
According to http://picard....