{"id":30035699,"url":"https://github.com/ebedthan/chaoscoder","last_synced_at":"2025-09-15T14:17:54.606Z","repository":{"id":153909377,"uuid":"481957862","full_name":"Ebedthan/chaoscoder","owner":"Ebedthan","description":"block-based integer chaos game representation for DNA sequences","archived":false,"fork":false,"pushed_at":"2025-07-29T11:19:06.000Z","size":2456,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-07T18:18:55.600Z","etag":null,"topics":["chaos-game-representation","dna-sequence-analysis","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/Ebedthan.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,"zenodo":null}},"created_at":"2022-04-15T12:54:06.000Z","updated_at":"2025-07-29T08:37:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"62641ba5-5ef7-432b-8812-a7a3d134d451","html_url":"https://github.com/Ebedthan/chaoscoder","commit_stats":null,"previous_names":["ebedthan/chaoscoder","ebedthan/fastchaos"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Ebedthan/chaoscoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ebedthan%2Fchaoscoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ebedthan%2Fchaoscoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ebedthan%2Fchaoscoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ebedthan%2Fchaoscoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ebedthan","download_url":"https://codeload.github.com/Ebedthan/chaoscoder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ebedthan%2Fchaoscoder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275267716,"owners_count":25434683,"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","status":"online","status_checked_at":"2025-09-15T02:00:09.272Z","response_time":75,"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":["chaos-game-representation","dna-sequence-analysis","rust"],"created_at":"2025-08-07T01:04:31.790Z","updated_at":"2025-09-15T14:17:54.576Z","avatar_url":"https://github.com/Ebedthan.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧬 chaoscoder\n\n**DNA sequence encoding, decoding, and analysis using (Integer) Chaos Game Representation**\n\n[![CI](https://github.com/Ebedthan/chaoscoder/actions/workflows/ci.yml/badge.svg)](https://github.com/Ebedthan/chaoscoder/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/Ebedthan/chaoscoder/graph/badge.svg?token=K7VN5TH6EZ)](https://codecov.io/gh/Ebedthan/chaoscoder)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue?style=flat)](https://github.com/Ebedthan/chaoscoder/blob/master/LICENSE)\n\n\n## 🌟 Overview\n\n`chaoscoder` is a high-performance Rust tool for transforming DNA sequences into visual or numerical formats using **Chaos Game Representation (CGR)** and its improved version, **Integer Chaos Game Representation (iCGR)**. It is the **first user-oriented implementation** of iCGR, supporting encoding, decoding, visualization, and comparison workflows.\n\n### ✨ Features\n\n- ✅ **iCGR Encoding/Decoding** of DNA sequences using a robust, lossless integer-based method\n- ✅ **Efficient block-based encoding** for long sequences (100 bp windows)\n- ✅ **CGR image generation** from DNA sequences\n- ✅ **Similarity analysis** using the [DSSIM algorithm](https://github.com/kornelski/dssim) for comparing CGR images\n\n\n## 🚀 Installation\n\n### 🛠️ From Source (via Cargo)\nYou’ll need a [Rust](https://rust-lang.org/tools/install) toolchain (`stable` channel).\n\n```bash\ngit clone https://github.com/Ebedthan/chaoscoder.git\ncd chaoscoder\ncargo build --release\n```\n\n### 📁 Prebuilt Binaries\n\nDownload binaries for your platform from the [releases page](https://github.com/Ebedthan/chaoscoder/releases):\n\n* macOS (Apple Silicon): [Download](https://github.com/Ebedthan/chaoscoder/releases/download/v1.0.0/chaoscoder-v1.0.0-aarch64-apple-darwin.tar.xz) • [Checksum](https://github.com/Ebedthan/chaoscoder/releases/download/v1.0.0/chaoscoder-v1.0.0-aarch64-apple-darwin.tar.xz.sh256)\n* macOS (Intel): [Download](https://github.com/Ebedthan/chaoscoder/releases/download/v1.0.0/chaoscoder-v1.0.0-x86_64-apple-darwin.tar.xz) • [Checksum](https://github.com/Ebedthan/chaoscoder/releases/download/v1.0.0/chaoscoder-v1.0.0-x86_64-apple-darwin.tar.xz.sha256)\n* Linux (x86\\_64): [Download](https://github.com/Ebedthan/chaoscoder/releases/download/v1.0.0/chaoscoder-v1.0.0-x86_64-unknown-linux-gnu.tar.xz) • [Checksum](https://github.com/Ebedthan/chaoscoder/releases/download/v1.0.0/chaoscoder-v1.0.0-x86_64-unknown-linux-gnu.tar.xz.sha256)\n* Windows (x86\\_64): [Download](https://github.com/Ebedthan/chaoscoder/releases/download/v1.0.0/chaoscoder-v1.0.0-x86_64-pc-windows-msvc.zip) • [Checksum](https://github.com/Ebedthan/chaoscoder/releases/download/v1.0.0/chaoscoder-v1.0.0-x86_64-pc-windows-msvc.zip.sha256)\n\n\n## 🛠️ Usage\n\nHere are the main commands available\n\n```bash\n# Encode a FASTA sequence to iCGR format\nchaoscoder encode seq.fa\n\n# Decode an iCGR file back to the original sequence\nchaoscoder decode seq.bicgr\n\n# Generate a CGR image from a DNA sequence\nchaoscoder draw seq.fa\n\n# Compare CGR images in a folder using DSSIM\nchaoscoder compare images_dir\n```\n\nFor full details, do `chaoscoder -h`.\n\n## 📦 Requirements\n\nRust ≥ 1.82.0 (minimum supported version)\nOptional: fontconfig and pkg-config (for CGR rendering, may require system dependencies)\n\n\n### Minimum Rust version policy\nThis crate's minimum supported `rustc` version is `1.82.0`.\n\n\n### 🐛 Bugs \u0026 Feedback\n\nFound a bug? Have a feature request?\nOpen an issue on the GitHub [Issue Tracker](https://github.com/Ebedthan/chaoscoder/issues).\n\n\n### 📄 License\nThis project is licensed under the MIT License.\nSee [LICENSE-MIT](LICENSE-MIT) (or [http://opensource.org/licenses/MIT](http://opensource.org/licenses/MIT)) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febedthan%2Fchaoscoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febedthan%2Fchaoscoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febedthan%2Fchaoscoder/lists"}