{"id":13756374,"url":"https://github.com/DecodeGenetics/graphtyper","last_synced_at":"2025-05-10T03:31:28.320Z","repository":{"id":21725144,"uuid":"93875942","full_name":"DecodeGenetics/graphtyper","owner":"DecodeGenetics","description":"Population-scale genotyping using pangenome graphs","archived":false,"fork":false,"pushed_at":"2024-02-29T13:50:08.000Z","size":1634,"stargazers_count":159,"open_issues_count":53,"forks_count":20,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-03-01T14:02:35.030Z","etag":null,"topics":["bioinformatics","decode-genetics","genetics","genotype","graph","variants"],"latest_commit_sha":null,"homepage":"http://dx.doi.org/10.1038/ng.3964","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DecodeGenetics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2017-06-09T16:09:01.000Z","updated_at":"2024-08-03T11:02:13.029Z","dependencies_parsed_at":"2024-01-05T10:32:20.136Z","dependency_job_id":"4fa4c618-89a7-4b84-828f-f526e0590c92","html_url":"https://github.com/DecodeGenetics/graphtyper","commit_stats":{"total_commits":195,"total_committers":6,"mean_commits":32.5,"dds":"0.29230769230769227","last_synced_commit":"a8cfb389e6be48635c20b6ff289488fdf472b6a7"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DecodeGenetics%2Fgraphtyper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DecodeGenetics%2Fgraphtyper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DecodeGenetics%2Fgraphtyper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DecodeGenetics%2Fgraphtyper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DecodeGenetics","download_url":"https://codeload.github.com/DecodeGenetics/graphtyper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253358069,"owners_count":21895967,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bioinformatics","decode-genetics","genetics","genotype","graph","variants"],"created_at":"2024-08-03T11:00:43.105Z","updated_at":"2025-05-10T03:31:28.304Z","avatar_url":"https://github.com/DecodeGenetics.png","language":"C++","funding_links":[],"categories":["A list of software capable of analyzing mainly **eukaryotic** genomes for pangenomics."],"sub_categories":[],"readme":"[![Build Status](https://github.com/DecodeGenetics/graphtyper/actions/workflows/ci_linux.yaml/badge.svg?branch=master)](https://github.com/DecodeGenetics/graphtyper/actions/workflows/ci_linux.yaml?query=branch%3Amaster) [![Format Status](https://github.com/DecodeGenetics/graphtyper/actions/workflows/clang-format.yaml/badge.svg?branch=master)](https://github.com/DecodeGenetics/graphtyper/actions/workflows/clang-format.yaml?query=branch%3Amaster) [![Conda](https://img.shields.io/conda/pn/bioconda/graphtyper?color=green)](http://bioconda.github.io/recipes/graphtyper/README.html) [![Conda](https://img.shields.io/conda/v/bioconda/graphtyper?color=green)](http://bioconda.github.io/recipes/graphtyper/README.html)\n\n# graphtyper\ngraphtyper is a graph-based variant caller capable of genotyping population-scale short read data sets. It represents a reference genome and known variants of a genomic region using an acyclic graph structure (a \"pangenome reference\"), which high-throughput sequence reads are re-aligned to for the purpose of discovering and genotyping SNPs, small indels, and structural variants.\n\nMaintainer: Hannes Pétur Eggertsson (Hannes.Eggertsson@decode.is)\n\n## Installation\n### Static binary release\nThe easiest way to install GraphTyper is go to \"Releases\" and download the latest binary, here: https://github.com/DecodeGenetics/graphtyper/releases\n\nThe binary is linked statically and therefore does not require any runtime libraries. If you prefer, you can also install graphtyper via bioconda: http://bioconda.github.io/recipes/graphtyper/README.html\n\n### Building from source\nYou may also want to build graphtyper from source, for example if you want to make changes to the code. In this case, you'll first need the following:\n* C++ compiler with full AVX512 support (GCC 8+)\n* Boost\u003e=1.57.0\n* zlib\u003e=1.2.8\n* libbz2\n* liblzma\n* Autotools, Automake, libtool, Make, and CMake\u003e=3.2 (if you want to use our build system)\n\nAll other dependencies are submodules of this repository. Make sure have the `CXX` environment variable set as the same compiler as `which g++` returns (because some of the submodules use the compiler directed by the `CXX` variable while other ignore it). Also set the `BOOST_ROOT` variable to the root of BOOST which should already be compiled with the same compiler. Graphtyper is linked with BOOST dynamically, but other libraries statically.\n\nFor the purpose of demonstration, we assume you want to clone graphtyper to `~/git/graphtyper` and build it in `~/git/graphtyper/release-build`.\n\n```sh\nmkdir -p ~/git \u0026\u0026 cd ~/git\ngit clone --recursive https://github.com/DecodeGenetics/graphtyper.git graphtyper \u0026\u0026 cd graphtyper\nmkdir -p release-build \u0026\u0026 cd release-build\ncmake ..\nmake -j4 graphtyper # The 'j' argument specifies how many compilation threads to use, you can change this if you have more threads available. Also, the compilation will take awhile... consider getting coffee at this point.\nbin/graphtyper # Will run graphtyper for the very first time!\n```\nAnd that's all. If you are lucky enough to have administrative access, you can run `sudo make install` to install graphtyper system-wide.\n\n\n## Usage\n\nThe recommended way of genotyping small variants (SNP+indels) is using the `genotype` subcommand\n\n```sh\n./graphtyper genotype \u003cREFERENCE.fa\u003e --sams=\u003cBAMLIST_OR_CRAMLIST\u003e --region=\u003cchrA:begin-end\u003e --threads=\u003cT\u003e\n```\n\nand use the `genotype_sv` subcommand for genotyping structural variants\n\n```sh\n./graphtyper genotype_sv \u003cREFERENCE.fa\u003e \u003cinput.vcf.gz\u003e --sams=\u003cBAMLIST_OR_CRAMLIST\u003e --region=\u003cchrA:begin-end\u003e --threads=\u003cT\u003e\n```\n\nSee the [graphtyper user guide](https://github.com/DecodeGenetics/graphtyper/wiki/User-guide) for more details.\n\n\n## Citation\n### Small variant genotyping\nHannes P. Eggertsson, Hakon Jonsson, Snaedis Kristmundsdottir, Eirikur Hjartarson, Birte Kehr, Gisli Masson, Florian Zink, Kristjan E. Hjorleifsson, Aslaug Jonasdottir, Adalbjorg Jonasdottir, Ingileif Jonsdottir, Daniel F. Gudbjartsson, Pall Melsted, Kari Stefansson, Bjarni V. Halldorsson. Graphtyper enables population-scale genotyping using pangenome graphs. *Nature Genetics* **49**, 1654–1660 (2017). [doi:10.1038/ng.3964](http://dx.doi.org/10.1038/ng.3964)\n\n### Structural variant genotyping\nEggertsson, H.P., Kristmundsdottir, S., Beyter, D. et al. GraphTyper2 enables population-scale genotyping of structural variation using pangenome graphs. *Nature Communications* **10**, 5402 (2019) [doi:10.1038/s41467-019-13341-9](https://www.nature.com/articles/s41467-019-13341-9)\n\n\n## License\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDecodeGenetics%2Fgraphtyper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDecodeGenetics%2Fgraphtyper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDecodeGenetics%2Fgraphtyper/lists"}