def create_read_list_file(filename):
    """
	Creates a file (including header line) for read list information to be written to and returns
	the file object.
	"""
    f = open(filename, 'w')
    print('#readname', 'source_id', 'sample', 'phaseset', 'haplotype',
        'covered_variants', 'first_variant_pos', 'last_variant_pos', sep=
        '\t', file=f)
    return f
