scglue.genomics.get_chr_len_from_fai

scglue.genomics.get_chr_len_from_fai(fai)[source]

Get chromosome length information from fasta index file

Parameters

fai (os.PathLike) – Fasta index file

Return type

typing.Mapping[str, int]

Returns

chr_len – Length of each chromosome