Function Split-File-Per-Chromosome

Part of:

package elprep
( split-file-per-chromosome < input > < output-path > < output-prefix > < output-extension > )
A function for splitting a sam file into : a file containing all unmapped reads, a file containing all pairs where reads map to different chromosomes, a file per chromosome containing all pairs where the reads map to that chromosome. There are no requirements on the input file for splitting.