{"id":18598228,"url":"https://github.com/cmdoret/htslurp","last_synced_at":"2025-05-16T14:11:03.709Z","repository":{"id":248838309,"uuid":"829003539","full_name":"cmdoret/htslurp","owner":"cmdoret","description":"slurp noodles-htsget streams into python","archived":false,"fork":false,"pushed_at":"2025-01-15T13:00:57.000Z","size":1696,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-17T23:47:35.937Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmdoret.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":"2024-07-15T14:59:11.000Z","updated_at":"2024-07-17T08:28:53.000Z","dependencies_parsed_at":"2024-07-17T11:49:56.311Z","dependency_job_id":"87f51b88-872f-4729-bd1c-81651e7f7889","html_url":"https://github.com/cmdoret/htslurp","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"2a510ee43813cad638e815643e8a07aed22fa0fb"},"previous_names":["cmdoret/htslurp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdoret%2Fhtslurp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdoret%2Fhtslurp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdoret%2Fhtslurp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdoret%2Fhtslurp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmdoret","download_url":"https://codeload.github.com/cmdoret/htslurp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254544159,"owners_count":22088808,"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":[],"created_at":"2024-11-07T01:31:43.883Z","updated_at":"2025-05-16T14:11:03.692Z","avatar_url":"https://github.com/cmdoret.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# htslurp\n\n\u003e[!WARNING]\n\u003e This is an experiment and the code is in a not-working state.\n\nAttempt at making a noodles-based htsget client that can lazily deserialize records in memory. The aim is to provide a simple rust API with python bindings.\n\n## Context\n\nThe aim of this project is to provide a convenient interface to consume remote CRAM/BCF records over the network without storing them locally.\n\nThe noodles crate is used to fetch a binary stream from a server and construct a reader over it that can lazily instantiate records.\n\n```mermaid\nflowchart LR\n    htsget[htsget-server] --\u003e|bytes| Reader\n    Reader --\u003e|Cram records| python\n```\n\n## Development\n\nThis project requires:\n* a working rust (\u003e=1.76) and python (\u003e=3.10) installation\n* [maturin](https://github.com/PyO3/maturin)\n* [uv](https://github.com/astral-sh/uv)\n* [just](https://github.com/casey/just)\n\nTo build the python package:\n\n```sh\njust build\n```\n\nTo install the project in installable mode:\n```sh\njust develop\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmdoret%2Fhtslurp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmdoret%2Fhtslurp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmdoret%2Fhtslurp/lists"}