Hi HapNe team,
First off, thanks for the fantastic tool and congrats on the 2023 Nature Communications paper! I'm particularly thankful for the features that facilitate the handling of low coverage, genotyping errors, and pseudohaploid data, which are huge for the ancient DNA community.
I have a quick question regarding the best way to prep human and utilize HapNe's time-heterogeneity feature (if I understand correctly this only applies to HapNe-LD but I may be mistaken) using aDNA data not derived from the AADR database (e.g. one's own data).
Importantly, starting from VCF already (or PLINK files), we think of course about bypassing the eigenstrat2vcf step found in the pipeline.py script provided in your documentation. However, we want to ensure that HapNe-LD correctly incorporates the radiocarbon dates of our ancient samples to account for temporal distance during the LD calculation and we thought of creating a custom ".anno" text file that mimics the AADR format, but then we'd like to make sure if there are any other specific columns in the .anno file that get_age_from_anno absolutely requires to run successfully beyond the ID and Date columns? Then we would need to manually call get_age_from_anno just before the inference engine.
We also wonder if this could instead be achieved in a more direct way, passing an array of sample dates to the hapne_ld function without needing to mock an AADR .anno file?
Thanks for your time and for maintaining such a great resource!
Hi HapNe team,
First off, thanks for the fantastic tool and congrats on the 2023 Nature Communications paper! I'm particularly thankful for the features that facilitate the handling of low coverage, genotyping errors, and pseudohaploid data, which are huge for the ancient DNA community.
I have a quick question regarding the best way to prep human and utilize HapNe's time-heterogeneity feature (if I understand correctly this only applies to HapNe-LD but I may be mistaken) using aDNA data not derived from the AADR database (e.g. one's own data).
Importantly, starting from VCF already (or PLINK files), we think of course about bypassing the eigenstrat2vcf step found in the pipeline.py script provided in your documentation. However, we want to ensure that HapNe-LD correctly incorporates the radiocarbon dates of our ancient samples to account for temporal distance during the LD calculation and we thought of creating a custom ".anno" text file that mimics the AADR format, but then we'd like to make sure if there are any other specific columns in the .anno file that get_age_from_anno absolutely requires to run successfully beyond the ID and Date columns? Then we would need to manually call get_age_from_anno just before the inference engine.
We also wonder if this could instead be achieved in a more direct way, passing an array of sample dates to the hapne_ld function without needing to mock an AADR .anno file?
Thanks for your time and for maintaining such a great resource!