Closed amwenger closed 3 years ago
wow. you are right. that should be >= 0. I'll fix this for next release.
Here is a binary with that fixed if you are able to test or want to proceed with your analysis. Thanks very much for finding and diagnosing this.
@williamrowell
The output of
slivar tsv
differs depending on the order of sample columns in the VCF. In particularly, genotype and depth information is empty for a parent if that parent is the first sample (column 10). slivar_test.zip is a test case with two VCFs that are identical except for the order of the sample columns:It looks to me like the issue might be the
>0
check in lines 42-45 of tsv.nim: https://github.com/brentp/slivar/blob/5b72196e399c90f9c18aefd39cde681316f7849e/src/slivarpkg/tsv.nim#L42-L45.Thank you for the support.