Fri Aug 11 16:02:04 2023 Start to check the difference between EAF and refence vcf alt frequency ...
Fri Aug 11 16:02:04 2023 -Current Dataframe shape : 99998 x 23
Fri Aug 11 16:02:04 2023 -Reference vcf file: /Users/username/.gwaslab/EUR.ALL.split_norm_af.1kgp3v5.hg19.vcf.gz
Fri Aug 11 16:02:04 2023 -CPU Cores to use : 8
Fri Aug 11 16:02:04 2023 -Checking prefix for chromosomes in vcf files...
Fri Aug 11 16:02:05 2023 -No prefix for chromosomes in the VCF files.
Fri Aug 11 16:02:05 2023 -Alternative allele frequency in INFO: AF
Fri Aug 11 16:02:05 2023 -Checking variants: 99998
Fri Aug 11 16:02:28 2023 - DAF min: 0.7962059881538153
Fri Aug 11 16:02:28 2023 - DAF max: -0.8034360408782959
Fri Aug 11 16:02:28 2023 - DAF sd: 0.06905778226683758
Fri Aug 11 16:02:28 2023 - abs(DAF) min: 3.948807716369629e-07
Fri Aug 11 16:02:28 2023 - abs(DAF) max: 0.8034360408782959
Fri Aug 11 16:02:28 2023 - abs(DAF) sd: 0.05518578187132032
Fri Aug 11 16:02:28 2023 Finished allele frequency checking!
I applied the
.plot_daf()
function:The log is like this:
My data now looks like this:
Next I try to use the function
But I get this error:
Any quick fix to solve this?