export bam_separator.js