sgkit.io.vcf.concat_zarrs#

sgkit.io.vcf.concat_zarrs(urls, output, *, storage_options=None, chunk_length=None)#

Concatenate multiple Zarr stores into a single Zarr store.

Deprecated since version 0.9.0: Functions for reading VCF are deprecated, please use the bio2zarr package.

The Zarr stores are concatenated and rechunked to produce a single combined store.

Parameters:
urls Sequence[str]

A list of URLs to the Zarr stores to combine, typically the return value of vcf_to_zarrs().

output str | Path | MutableMapping[str, bytes]Union[str, Path, MutableMapping[str, bytes]]

Zarr store or path to directory in file system.

storage_options {str: str} | NoneOptional[Dict[str, str]] (default: None)

Any additional parameters for the storage backend (see fsspec.open).

chunk_length int | NoneOptional[int] (default: None)

The length of the variant dimension chunks in the output Zarr store. If not specified, the chunk length of the first input Zarr store is used.

Return type:

None