fix of generate_sbatch.py: getting average frag length from statusdb + handeling .gz files
fix of generate_sbatch.py: getting average frag length from statusdb + handeling .gz files

SciLifeLab/scilifelab,senthil10/scilifelab,senthil10/scilifelab,SciLifeLab/scilifelab,SciLifeLab/scilifelab,kate-v-stepanova/scilifelab,senthil10/scilifelab,jun-wan/scilifelab,SciLifeLab/scilifelab,jun-wan/scilifelab,kate-v-stepanova/scilifelab,kate-v-stepanova/scilifelab,kate-v-stepanova/scilifelab,senthil10/scilifelab,jun-wan/scilifelab,jun-wan/scilifelab