pybedtools.helpers.chromsizes_to_fileΒΆ

pybedtools.helpers.chromsizes_to_file(chrom_sizes, fn=None)[source]ΒΆ

Converts a chromsizes dictionary to a file. If fn is None, then a tempfile is created (which can be deleted with pybedtools.cleanup()).

Returns the filename.