Tag Archives: NGS

Filtering Unmapped .sam reads

GenOO’s power can be show with the ease that it can handle alignment files such as .sam files.

For example, say we need to filter all unaligned reads within a certain length range and output the sequences into a .fasta file format.

This simple script will filter and print unmapped reads, with options to use the –min and –max to control the length range of the .sam read. It can be easily changed to do other queries.