bam_lengths.sh created to count lines