Function Format-Sam-Programs

Part of:

package elprep
( format-sam-programs < out > < list > )
Write the @PG lines in a SAM file header section.
See http://samtools.github.io/hts-specs/SAMv1.pdf - Section 1.3.