if sum_elements is not None:
information.write("Sum of matrix:\t{}\n".format(sum_elements))
if chromosomes is not None:
information.write("Chromosomes:\t{}\n".format(
", ".join(toString(chromosomes))))
if nchroms is not None:
information.write("Number of chromosomes:\t{}\n".format(nchroms))
if num_non_zero is not None:
information.write(