
import sys

import bio

# python generate_fasta < .sam > .fasta
converter = bio.SamToFasta( sys.stdin, bio.log_stderr )
converter.write( sys.stdout )


import sys

import bio

# python generate_fasta < .sam > .fasta
converter = bio.SamToFasta( sys.stdin, bio.log_stderr )
converter.write( sys.stdout )

# python generate_fasta < .sam > .fasta