{"id":15470730,"url":"https://github.com/dlesl/gb-io","last_synced_at":"2025-04-22T12:12:10.366Z","repository":{"id":34243853,"uuid":"149661495","full_name":"dlesl/gb-io","owner":"dlesl","description":"A Rust library for parsing, writing and manipulating Genbank sequence files","archived":false,"fork":false,"pushed_at":"2025-04-20T00:48:25.000Z","size":3844,"stargazers_count":17,"open_issues_count":2,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T01:06:47.004Z","etag":null,"topics":["biology","genbank","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/dlesl.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}},"created_at":"2018-09-20T19:42:23.000Z","updated_at":"2025-04-20T00:48:20.000Z","dependencies_parsed_at":"2023-12-31T03:43:53.990Z","dependency_job_id":"5aa94f46-b1f0-49a5-b733-f2be54b15e25","html_url":"https://github.com/dlesl/gb-io","commit_stats":{"total_commits":75,"total_committers":2,"mean_commits":37.5,"dds":0.07999999999999996,"last_synced_commit":"f1298ecc82b3cccc43cf8a9095b354c83c4c4744"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlesl%2Fgb-io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlesl%2Fgb-io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlesl%2Fgb-io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlesl%2Fgb-io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dlesl","download_url":"https://codeload.github.com/dlesl/gb-io/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250237832,"owners_count":21397401,"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":["biology","genbank","rust"],"created_at":"2024-10-02T02:06:30.610Z","updated_at":"2025-04-22T12:12:10.344Z","avatar_url":"https://github.com/dlesl.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gb-io\n\n[![crates.io link](https://img.shields.io/crates/v/gb-io.svg)](https://crates.io/crates/gb-io)\n[![docs.rs link](https://docs.rs/gb-io/badge.svg)](https://docs.rs/gb-io/)\n\nThis is a library for parsing and working with Genbank (.gb) files written in\nRust. It supports reading, writing, and extracting parts of a sequence while\nretaining feature annotations.\n\nIt should be able to handle most files out there. Feedback, improvements, and\ndetails of any .gb files it chokes on are welcome!\n\n### Example\nReverse complement a sequence, retaining feature annotations.\n\n```rust\nextern crate gb_io;\n\nuse std::fs::File;\nuse std::io;\n\nuse gb_io::reader::SeqReader;\n\nfn main() {\n    let file = File::open(\"mg1655.gb\").unwrap();\n    let stdout = io::stdout();\n    for seq in SeqReader::new(file) {\n        let seq = seq.unwrap();\n        let rc = seq.revcomp();\n        rc.write(stdout.lock()).unwrap();\n    }\n}\n```\n\n### Python bindings\n[Martin Larralde](https://github.com/althonos) has written [Python\nbindings](https://pypi.org/project/gb-io/) for `gb-io`'s parser.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlesl%2Fgb-io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdlesl%2Fgb-io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlesl%2Fgb-io/lists"}