-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Norway spruce dataset case study #169
Comments
Norway spruce has 12 chromosomes totaling some 19Gbp. The assembly consists of more contigs, but I only focus on the main chromosome-level autosomes here. For reasons related to the overflow Jerome mentioned, the VCF files have been generated in 100Mbp chunks over each chromosome, such that there are 160+ files in total. It would indeed be beneficial if we could work in real chromosome coordinates instead of as now having convert between different systems. I attach the output of vcf2zarr inspect for one test run for both ICF and VCZ. I will provide more information on runtimes when I process the data. Suffice to say that using 128 cores (256 threads) it took only a couple of minutes to convert a 50GiB VCF to ICF and VCZ. |
That's fantastic @percyfal! Could we try doing all 160 files at once?? That might need distributing over the cluster, or if you're happy to wait, a few days on your big machine. |
I'll see if I can get this going before weekend, the bottleneck is more likely the conversion of gzipped VCFs to bgzip. |
Just so I'm clear: when you say all VCFs in one go, you mean making one ICF store that then is encoded as VCZ? |
Yeah, so convert all the VCFs to ICF at the same time using There's no rush at all. |
I ran
|
Awesome! How are currently dealing with the coordinate overflow problem in VCF? It would be nice to describe how to fix this up, and how long it takes to run (should be a fraction of a second). |
@percyfal has applied bio2zarr to a spruce dataset, and it would be an excellent addition to the paper as a further case study.
A notable thing about Norway spruce is the genome size (19Gbp). AFAIK, this means that individual chromosomes overflow the VCF limit of 32 bit integers. As well the usual discussion about compression etc here it would be nice to show that we can overcome these limits by updating the
variant_position
and contig arrays in place, so that the true genome coordinates are used, and we can show that downstream tools can work on this, unmodified.This is also a good place to demonstrate the one-big-whole genome Zarr I think?
@percyfal can you update here with details about the dataset, runtimes and the output of vcf2zarr inspect please?
The text was updated successfully, but these errors were encountered: