Write Query sequences to file as fasta with with QNAME as identifier

Usage,
sam_to_fasta(x, file)

Arguments

x

SAM file in tabular format (eg. as read by read_sam())

file

Path to output file

Value

Nothing. File written to disk