py_hla_match.export.scan_loci

py_hla_match.export.scan_loci(source, chunk_size=10000)[source]

Utility function to scan hla data source and identify all loci present.

Parameters:
  • source (HLADataSource) – HLADataSource to scan

  • chunk_size (int) – Size of the chunks to read from the file

Returns:

Sorted list of unique loci detected in the data source

Return type:

List[str]