diff --git a/docs/.gitignore b/docs/.gitignore index f3c3680f..f4b2a542 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -1,4 +1,7 @@ notebook-simulation.trees notebook-simulation.samples notebook-simulation-source.trees +notebook-simulation.vc* +notebook-simulation-AA.npy P_dom_chr24_phased.samples +sparrows.vcz diff --git a/docs/_static/example_data.vcz/.zattrs b/docs/_static/example_data.vcz/.zattrs new file mode 100644 index 00000000..f778611e --- /dev/null +++ b/docs/_static/example_data.vcz/.zattrs @@ -0,0 +1,6 @@ +{ + "contigs": [ + "0" + ], + "source": "sgkit-0.9.0" +} \ No newline at end of file diff --git a/docs/_static/example_data.vcz/.zgroup b/docs/_static/example_data.vcz/.zgroup new file mode 100644 index 00000000..3b7daf22 --- /dev/null +++ b/docs/_static/example_data.vcz/.zgroup @@ -0,0 +1,3 @@ +{ + "zarr_format": 2 +} \ No newline at end of file diff --git a/docs/_static/example_data.vcz/.zmetadata b/docs/_static/example_data.vcz/.zmetadata new file mode 100644 index 00000000..24b95bd0 --- /dev/null +++ b/docs/_static/example_data.vcz/.zmetadata @@ -0,0 +1,243 @@ +{ + "metadata": { + ".zattrs": { + "contigs": [ + "0" + ], + "source": "sgkit-0.9.0" + }, + ".zgroup": { + "zarr_format": 2 + }, + "call_genotype/.zarray": { + "chunks": [ + 8, + 3, + 2 + ], + "compressor": { + "blocksize": 0, + "clevel": 5, + "cname": "lz4", + "id": "blosc", + "shuffle": 1 + }, + "dtype": "|i1", + "fill_value": null, + "filters": null, + "order": "C", + "shape": [ + 8, + 3, + 2 + ], + "zarr_format": 2 + }, + "call_genotype/.zattrs": { + "_ARRAY_DIMENSIONS": [ + "variants", + "samples", + "ploidy" + ], + "comment": "Call genotype. Encoded as allele values (0 for the reference, 1 for\nthe first allele, 2 for the second allele), -1 to indicate a\nmissing value, or -2 to indicate a non allele in mixed ploidy datasets.", + "mixed_ploidy": false + }, + "call_genotype_mask/.zarray": { + "chunks": [ + 8, + 3, + 2 + ], + "compressor": { + "blocksize": 0, + "clevel": 5, + "cname": "lz4", + "id": "blosc", + "shuffle": 1 + }, + "dtype": "|i1", + "fill_value": null, + "filters": null, + "order": "C", + "shape": [ + 8, + 3, + 2 + ], + "zarr_format": 2 + }, + "call_genotype_mask/.zattrs": { + "_ARRAY_DIMENSIONS": [ + "variants", + "samples", + "ploidy" + ], + "comment": "A flag for each call indicating which values are missing.", + "dtype": "bool" + }, + "call_genotype_phased/.zarray": { + "chunks": [ + 8, + 3 + ], + "compressor": { + "blocksize": 0, + "clevel": 5, + "cname": "lz4", + "id": "blosc", + "shuffle": 1 + }, + "dtype": "|i1", + "fill_value": null, + "filters": null, + "order": "C", + "shape": [ + 8, + 3 + ], + "zarr_format": 2 + }, + "call_genotype_phased/.zattrs": { + "_ARRAY_DIMENSIONS": [ + "variants", + "samples" + ], + "comment": "A flag for each call indicating if it is phased or not. If omitted\nall calls are unphased.", + "dtype": "bool" + }, + "contig_id/.zarray": { + "chunks": [ + 1 + ], + "compressor": { + "blocksize": 0, + "clevel": 5, + "cname": "lz4", + "id": "blosc", + "shuffle": 1 + }, + "dtype": "` using the Python API: