{"id":48528802,"url":"https://github.com/dannyarends/um-het3","last_synced_at":"2026-04-07T23:30:36.467Z","repository":{"id":66952656,"uuid":"354369956","full_name":"DannyArends/UM-HET3","owner":"DannyArends","description":"Code to analyze the genetics of aging and lifespan of UM-HET3 mice","archived":false,"fork":false,"pushed_at":"2025-10-06T09:28:20.000Z","size":270,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T11:30:03.544Z","etag":null,"topics":["4-way","actuarial","aging","biology","genetics","mapping","mouse","qtl","soma","um-het3","vita"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DannyArends.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-03T18:52:40.000Z","updated_at":"2025-10-06T09:28:24.000Z","dependencies_parsed_at":"2025-12-09T19:15:41.007Z","dependency_job_id":null,"html_url":"https://github.com/DannyArends/UM-HET3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DannyArends/UM-HET3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyArends%2FUM-HET3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyArends%2FUM-HET3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyArends%2FUM-HET3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyArends%2FUM-HET3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DannyArends","download_url":"https://codeload.github.com/DannyArends/UM-HET3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyArends%2FUM-HET3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31533823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["4-way","actuarial","aging","biology","genetics","mapping","mouse","qtl","soma","um-het3","vita"],"created_at":"2026-04-07T23:30:34.676Z","updated_at":"2026-04-07T23:30:36.450Z","avatar_url":"https://github.com/DannyArends.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Genetics of longevity ✨\n\nThis repository contains the code used to analyze the genetics of aging and lifespan in a study on a large cohort of UM-HET3 mice. The scripts map loci that influence mortality, revealing how their effects change with age and sex. The code also investigates the genetic basis for the relationship between body weight and lifespan, identifying distinct sets of genes that control this correlation at different life stages.\n\nThe repository provides the tools for reproducing the findings presented in the corresponding paper. It includes scripts for the actuarial analysis of survival data, the mapping of *Vita* loci that influence lifespan, and the identification of *Soma* loci that control the relationship between body weight and longevity. The code also supports the analysis of epistatic interactions between these genetic loci, highlighting the complex genetic architecture of aging.\n\n### Installation 🛠️\n\nTo obtain the source code in your current working directory, run the following command your terminal:\n\n```\ngit clone https://github.com/DannyArends/UM-HET3.git\n```\n\nTo install R package dependencies, navigate into the UM-HET3 directory and run the following command in your terminal:\n\n```\nRscript installer.R\n```\n\n### Structure 📁\n\nMost scripts in this repository start by loading in the um-het3-rqtl.csvr, which is the data coded for R/qtl-v1 as explained in the read.cross help file. The um-het3-rqtl.csvr file can be loaded in with the R/qtl-v1 read.cross function, with parameters set to genotypes=NULL and na.strings=c(\"-\", \"NA\")\n\nThe folder [PreCross/](./PreCross/) contains all the code used to call SNPs on the monsterplex BAM files, and the conversion \u0026 harmonization of Monsterplex and Sequenom data into the cross object. It also contains the code to convert observed SNPs to the Founder strain haplotypes. This code is used to produce the um-het3-rqtl.csvr from Monsterplex .BAM files and the Sequenom data, with phenotypes and covariates coming from\n[genenetwork.org](https://genenetwork.org).\n\nThe folder [ActuarialMapping/](./ActuarialMapping/) contains all the code used to perform actuarial QTL scans on lifespan for 4-way, paternal and maternal maps used to discover *Vita* loci. This folder also contains the adjustXprobs.R code, that is needed for proper X-chromosome mapping, and furthermore contains bodyweight QTL mapping as well as simpleM and Cauchi Combination tests for multiple testing correction. The Lasso based non-parametric Quantile Regression 'engine' code is also found here.\n\nThe folder [Soma/](./Soma/) contains all the code used to perform the Correlated Trait Locus (CTL) mapping analysis between bodyweight (at 5 timepoints) and progressive lifespan mapping. Furthermore, code for visualizing *Soma* loci is also located in this folder.\n\nThe folder [Interactions/](./Interactions/) contains the interaction models used to investigate / map all interactions between G x G, G x Sex, G x Site, and G x Drug. As well as code for creating the big interaction table figure inside the paper.\n\nThe folder [Figures/](./Figures/) contains code that produces the figures / images inside the paper. Not all figure code is found here some code lives in their respective folders (e.g. visualizations of predictions are found in [Predictions/](./Predictions/), while some GxG images are found in [Interactions/](./Interactions/).\n\nThe folder [Inversions/](./Inversions/) contains the inversion finder code, which finds inversion by looking at recombination frequency using an 8-marker sliding window.\n\nThe folder [CandidateGenes/](./CandidateGenes/) contains all the code used to investigate and prioritize genetic features and possible candidate genes, code for biomaRt, VEP prediction, pathway over-representation analysis (ORA), and cross referencing genes in *Vita* / *Soma* regions with homologs in GenAge known to influence lifespan is found in this folder.\n\nThe folder [SingleLocus/](./SingleLocus/) contains all the code used to investigate single loci in the UM-HET3 genome (e.g. The Vita9B locus previously found by R. Miller), as well as code for mapping the control animals used in the Science paper by Sleiman et al. to compare/align their original work on a subset of animals with our mapping approach. Furthermore, there is code to investigate distal chromosome X and proximal chromosome 1, at which we observed some distortion in recombination frequency.\n\nThe folder [Various/](./Various/) contains all the code for computing main effect and epistatic heritability, as well code for the adaptLoess approach (and figures) and other various scripts that do not neatly fit into any other folder.\n\nThe folder [Predictions/](./Predictions/) contains all the code used to predict lifespan either by using random forest on covariates, as well as our two novel approaches ways of performing polygenic risk prediction (not in the paper, but in the biorxiv version).\n\nThe folder [Old/](./Old/) contains the old \u0026 deprecated code not used anymore, or which was used to do one off analysis.\n\n### Dependancies 🛠️\n\nThe code in this ropsitory is made possible by, and has dependencies on, the following excellent software:\n\n- [The R Project for Statistical Computing](https://www.r-project.org/)\n- [Ensembl Variant Effect Predictor (Ensembl VEP)](https://www.ensembl.org/info/docs/tools/vep/index.html)\n- [biomaRt](https://bioconductor.org/packages/release/bioc/html/biomaRt.html)\n- [R/qtl](https://rqtl.org/)\n- [Bcftools](https://samtools.github.io/bcftools/)\n\nAs well as many many different R-packages used in the analysis of the data.\n\n### Genotype Coding Convention 🧬\n\nThe code for progressive QTL mapping in this repository follows specific conventions to ensure consistency and clarity. The analysis relies on a genetic map created from Monsterplex Capture DNA-Sequencing and Sequenom MassARRAY data. The codebase is designed to handle the complex genetic structure of the UM-HET3 population, a four-way cross derived from four distinct parental strains.\n\nThe data is formatted for R/qtl-v1, and as such genotypes are coded as follows:\n\n- AA for the BALB/cByJ strain\n- BB for the C57BL/6J strain\n- CC for the C3H/HeJ strain\n- DD for the DBA/2J strain\n\nThe code also accounts for phase-known alleles where the counterpart is uncertain or not imputed. These are represented with a question mark. For example, a genotype with an A allele from the BALB/cByJ parent and an unknown allele from the other is coded as A?. Similarly, an unknown allele combined with a known C allele is represented as ?C. This convention allows the analysis to proceed even with incomplete genotyping data, maintaining the integrity of the genetic map.\n\n### Contributing 🙌\n\nWant to contribute? Great! Contribute to this repo by starring ⭐ or forking 🍴, and feel \nfree to start an issue first to discuss idea's before sending a pull request. You're also \nwelcome to post comments on commits.\n\nOr be a maintainer, and adopt (the documentation of) a function.\n\n### License ⚖️\n\nWritten by Danny Arends and released under the GNU GENERAL PUBLIC LICENSE Version 3 (GPLv3). \nSee [LICENSE.txt](./LICENSE.txt).\n\n### Cite 📝\n\nArends, D., Ashbrook, D. G., Roy, S., Lu, L., Sloan, Z., Centeno, A. G., Lamour, K. H., de Magalhães, J. P., Prins, P., Broman, K. W., Sen, S., Mitchell, S. J., MacArthur, M. R., Akin, Ö. A., Auwerx, J., Bajwa, A., Diaz, V., Harrison, D. E., Strong, R., Nelson, J. F., Mozhui, K., Williams, E. G., Miller, R. A., \u0026 Williams, R. W. (2025). **Genetic Modulation of Lifespan: Dynamic Effects, Sex Differences, and Body Weight Trade-offs** *bioRxiv* [https://doi.org/10.1101/2025.04.27.649857](https://doi.org/10.1101/2025.04.27.649857)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyarends%2Fum-het3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdannyarends%2Fum-het3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyarends%2Fum-het3/lists"}