{"id":16678332,"url":"https://github.com/suchapalaver/krust","last_synced_at":"2025-03-21T18:31:59.464Z","repository":{"id":38019094,"uuid":"403723873","full_name":"suchapalaver/krust","owner":"suchapalaver","description":"Bioinformatics 101 tool for counting unique k-length substrings in DNA","archived":false,"fork":false,"pushed_at":"2023-09-25T02:11:52.000Z","size":24193,"stargazers_count":30,"open_issues_count":7,"forks_count":5,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-18T03:43:51.733Z","etag":null,"topics":["beginner-friendly","bioinformatics","bioinformatics-tool","bitpacking","bytes","clap","dashmap","genomics","insta","k-mer","k-mer-counting","k-mers","kmer","kmer-counting","kmers","needletail","parallelization","rayon","rust","rust-bio"],"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/suchapalaver.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":"2021-09-06T18:32:57.000Z","updated_at":"2024-08-25T09:57:20.000Z","dependencies_parsed_at":"2024-10-28T11:28:32.835Z","dependency_job_id":"439ef43b-287a-4828-9e6d-b237cde2350b","html_url":"https://github.com/suchapalaver/krust","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/suchapalaver%2Fkrust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suchapalaver%2Fkrust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suchapalaver%2Fkrust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suchapalaver%2Fkrust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suchapalaver","download_url":"https://codeload.github.com/suchapalaver/krust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244848733,"owners_count":20520581,"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":["beginner-friendly","bioinformatics","bioinformatics-tool","bitpacking","bytes","clap","dashmap","genomics","insta","k-mer","k-mer-counting","k-mers","kmer","kmer-counting","kmers","needletail","parallelization","rayon","rust","rust-bio"],"created_at":"2024-10-12T13:29:02.149Z","updated_at":"2025-03-21T18:31:59.146Z","avatar_url":"https://github.com/suchapalaver.png","language":"Rust","readme":"# `krust`: counts k-mers, written in rust\n\n`krust` is a [k-mer](https://en.wikipedia.org/wiki/K-mer) counter - a bioinformatics 101 tool for counting the frequency of substrings of length `k` within strings of DNA data. `krust` is written in Rust and run from the command line. It takes a FASTA file of DNA sequences and will output all canonical k-mers (the double helix means each k-mer has a [reverse complement](https://en.wikipedia.org/wiki/Complementarity_(molecular_biology)#DNA_and_RNA_base_pair_complementarity)) and their frequency across all records in the given data. `krust` is tested for accuracy against [jellyfish](https://github.com/gmarcais/Jellyfish).\n\n```bash\nkrust: counts k-mers, written in rust\n\nUsage: krust \u003ck\u003e \u003cpath\u003e\n\nArguments:\n  \u003ck\u003e     provides k length, e.g. 5\n  \u003cpath\u003e  path to a FASTA file, e.g. /home/lisa/bio/cerevisiae.pan.fa\n\nOptions:\n  -h, --help     Print help information\n  -V, --version  Print version information\n```\n\n`krust` supports either `rust-bio` or `needletail` to read FASTA record. Use the `--features` flag to select.  \n\nRun `krust` with `rust-bio`'s fasta reader to count *5*-mers like this:\n\n```bash\ncargo run --release --features rust-bio -- 5 your/local/path/to/fasta_data.fa\n```\n\nor, searching for *21*-mers with `needletail` as the fasta reader, like this:  \n\n```bash\ncargo run --release --features needletail -- 21 your/local/path/to/fasta_data.fa\n```\n\n`krust` prints to `stdout`, writing, on alternate lines:\n\n```bash\n\u003e114928\nATGCC\n\u003e289495\nAATCA\n...\n```  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuchapalaver%2Fkrust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuchapalaver%2Fkrust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuchapalaver%2Fkrust/lists"}