uses bam_separator from commandline