{"id":21280624,"url":"https://github.com/borgwardtlab/gene-representations-in-networks","last_synced_at":"2026-07-24T03:31:57.417Z","repository":{"id":69455187,"uuid":"276062495","full_name":"BorgwardtLab/gene-representations-in-networks","owner":"BorgwardtLab","description":"A systematic evaluation of gene representations in network based genetic analysis","archived":false,"fork":false,"pushed_at":"2020-06-30T10:01:52.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-11T08:36:36.746Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BorgwardtLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-06-30T10:01:23.000Z","updated_at":"2020-07-14T18:41:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"07ce5a33-4bde-424f-8f27-d1de5ee96fa0","html_url":"https://github.com/BorgwardtLab/gene-representations-in-networks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BorgwardtLab/gene-representations-in-networks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorgwardtLab%2Fgene-representations-in-networks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorgwardtLab%2Fgene-representations-in-networks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorgwardtLab%2Fgene-representations-in-networks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorgwardtLab%2Fgene-representations-in-networks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BorgwardtLab","download_url":"https://codeload.github.com/BorgwardtLab/gene-representations-in-networks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorgwardtLab%2Fgene-representations-in-networks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35826032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-24T02:00:07.870Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-21T10:37:25.560Z","updated_at":"2026-07-24T03:31:57.383Z","avatar_url":"https://github.com/BorgwardtLab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A systematic evaluation of gene representations in network based genetic analysis\n\nThe purpose of the semester project is to explore four different p-value representations for a gene in a hierarchical HotNet analysis. \nThe p-value representations used are: Minimum, Fisher, SKAT-O and PLINK's set-based tests. The data used in this project comes from the *Athaliana* dataset created by Atwell et al., and the protein-protein network used is from the resource TAIR. On the server this data is located under \"/links/groups/borgwardt/Projects/master_project_julia/data/athaliana/atwell_data/\"\n\nIn order to analyze the importance of the p-value representation the following three steps are executed:\n1. Map the SNPs to genes with overlapping locations. \n2. Obtain the p-value representations for the genes using the four different methods.\n3. Perform a hierarchical HotNet analysis.\n\nStep one and two are combined in the bash script src/bash scripts/get_gene_pval_representations.sh,\nwhich can be executed on the server after loading the correct version of python by running the command: \"module load local/python_bleeding_edge\".\nThe varaibles that need to be set are the filepath to the phenotype to be used in the association study, \n\"$FILTERED_PHENO\", which in the example file is set to be the flowering phenotype FRI.\n\nThe script outputs three files:\n1. Containing the p-value representations of Minimum and Fisher's method for the data.\n2. Containing the p-value representations for SKAT-O. \n3. Containing the p-value representations for the Set-based method.\n\nThereafter three hierarchical HotNet input files needs to be created (more information are available in the readme for the source code https://github.com/raphael-group/hierarchical-hotnet/). \nThis can be done by using the src/prepare_hotnet_files.py. The p-value representation to be used are set in the script, therefore in order to obtain\none for each method, the script will need to be run four times. When the input is created a HotNet analysis can be executed as in the example file src/bash scripts/run_hotnet.sh. \nMake sure to set the input data directory to the input files created for the hierarchical HotNet analysis. \n\nAnother example on how to execute the hierarchical HotNet analysis using our own phenotype permutations (created via permute_phenotype.py and running association studies for each phenotype permutation via run_gwas_on_all_permutations.sh) can be found in run_hotnet_own_permutations.sh. \n\nIn the project a simulation study was executed by extracting 5 genes that were connected in the network and had 5-10 SNPs each. This was done by using the script: src/bash script/generate_simulated_phenotype.sh. \n(In the Python file generate_simulated_phenotype.py the strength of the association can be specified, the example is set to a weak correlation). \n\nIn the directory simulations a number of scripts are available in order to explore the data (in particular for the simulated dataset). \nFor example src/simulations/plot_cluster_distributions_hotnet.py plots the distribution of cluster sizes for the different methods.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborgwardtlab%2Fgene-representations-in-networks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborgwardtlab%2Fgene-representations-in-networks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborgwardtlab%2Fgene-representations-in-networks/lists"}