{"id":16618595,"url":"https://github.com/brentp/variantkey-nim","last_synced_at":"2025-04-05T00:18:06.612Z","repository":{"id":66472245,"uuid":"162359895","full_name":"brentp/variantkey-nim","owner":"brentp","description":"nim-wrapper for variantkey -- (chrom, pos, ref, alt) -\u003e uint64","archived":false,"fork":false,"pushed_at":"2018-12-19T23:17:06.000Z","size":22,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T08:32:55.022Z","etag":null,"topics":["genomics","variant"],"latest_commit_sha":null,"homepage":"","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/brentp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-12-19T00:10:17.000Z","updated_at":"2020-12-20T21:53:29.000Z","dependencies_parsed_at":"2023-02-25T02:00:19.039Z","dependency_job_id":null,"html_url":"https://github.com/brentp/variantkey-nim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brentp%2Fvariantkey-nim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brentp%2Fvariantkey-nim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brentp%2Fvariantkey-nim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brentp%2Fvariantkey-nim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brentp","download_url":"https://codeload.github.com/brentp/variantkey-nim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266568,"owners_count":20910837,"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":["genomics","variant"],"created_at":"2024-10-12T02:20:47.615Z","updated_at":"2025-04-05T00:18:06.591Z","avatar_url":"https://github.com/brentp.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# variantkey\n\nnim wrapper for [variantkey](https://github.com/Genomicsplc/variantkey).\n\nThis wrapper can encode+decode about 5 million variants per second.\nThe entirety of the API exposed by this library is demonstrated below:\n\n```\nimport variantkey\n\nvar\n  chrom = \"19\"\n  pos = 3323934'u32\n  # encode\n  e = encode(chrom, pos, \"A\", \"T\")\n\n\nassert e.exact\necho e # 10959892387821256704\necho e.decode # (chrom: \"19\", position: 3323934, reference: \"A\", alternate: \"T\", exact: true)\n\n# longer variants are encoded with a hash\ne = encode(\"1\", 878111, \"CAGGGGCCCCCGGGCTCCGGACCCCCCACCCCGTCCCGGGACTCTGCCCGGCGAGCCCCCCGGAA\", \"C\")\n# the reference and alternate are not set upon decoding.\necho e # (chrom: \"1\", position: 878111, reference: \"\", alternate: \"\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrentp%2Fvariantkey-nim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrentp%2Fvariantkey-nim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrentp%2Fvariantkey-nim/lists"}