isinaltinkaya/vcfgl

Simulating different depths for different individuals

Closed this issue · 0 comments

I've been using vcfgl for a project where I'd like to experiment with using different mean depths for different samples. Of course, I could probably split out individuals, simulate them individually using vcfgl, and then join them back together to achieve this result. However, I think this is a fairly common use case (also supported by msToGlf, I believe), so perhaps it would be a nice feature to have in vcfgl?

If so, I think the cli could keep accepting a single value for depth (which would then be applied to all individuals), but also alternatively take as many (say, comma-separated) depths as there are samples in the input VCF, and use them in the same order?

Thanks for your work on this.