{"id":38688944,"url":"https://github.com/pswsm/fasta_cli_tools","last_synced_at":"2026-01-17T10:29:18.991Z","repository":{"id":40361365,"uuid":"481784797","full_name":"pswsm/fasta_cli_tools","owner":"pswsm","description":"A small fasta CLI toolkit developed in Rust","archived":false,"fork":false,"pushed_at":"2024-08-13T00:57:49.000Z","size":179,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-13T02:51:08.124Z","etag":null,"topics":["bioinformatics","bioinformatics-tool","cli","cli-app","fasta-sequences","rust","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pswsm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2022-04-15T00:09:21.000Z","updated_at":"2024-04-25T00:07:40.000Z","dependencies_parsed_at":"2024-04-06T19:23:33.113Z","dependency_job_id":"1f19e022-543a-4214-a2fb-4cf4f7c9bd8e","html_url":"https://github.com/pswsm/fasta_cli_tools","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/pswsm/fasta_cli_tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pswsm%2Ffasta_cli_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pswsm%2Ffasta_cli_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pswsm%2Ffasta_cli_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pswsm%2Ffasta_cli_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pswsm","download_url":"https://codeload.github.com/pswsm/fasta_cli_tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pswsm%2Ffasta_cli_tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28506585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T10:25:30.148Z","status":"ssl_error","status_checked_at":"2026-01-17T10:25:29.718Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bioinformatics","bioinformatics-tool","cli","cli-app","fasta-sequences","rust","rust-lang"],"created_at":"2026-01-17T10:29:18.222Z","updated_at":"2026-01-17T10:29:18.977Z","avatar_url":"https://github.com/pswsm.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fasta CLI Toolkit\nA small CLI toolkit for interacting with fasta files developed in Rust.\n\nAs of 2022-08-29 there are no checks on wether the file is actually a fasta file, since it's a plain text file.\n\n## TODO\nI won't set any specific dates because I'm doing this on my free time.\n\n- ~DNA to Amino acid translation~ (It's actually RNA, but can be worked around easily now)\n- ~DNA transcrption and translation~\n- ~Amino Acid generation~\n---------------------------\nDown here harder things, to my assesment\n- Alignement between two sequences\n    I'd rather do Smith-Waterman first, feels easier\n    Then someday I'll make Needleman-Wunsch\n- Blastn ----\u003e Through NCBI database?\n\n\n## Syntax\n### Printing files\nReads the file and outputs its contents\n```sh\n$ fasta_cli_toolkit print /path/to/file\n```\n\n### Cutting sequences\nReads the file into a Fasta struct, then cuts the sequence, and writes to ouput file\n```sh\n$ fasta_cli_toolkit cut start end /path/to/input/file /path/to/output/file\n```\n\n### Format\nReads the file into a Fasta struct, formats using TextWrap, and outputs the formatted text. If output file is provided, writes it.\n```sh\n$ fasta_cli_toolkit format /path/to/input/file [/path/to/output/file]\n```\n\n### Generate\nGenerates a random DNA sequence long N lines and writes it to output file.\n```sh\n$ fasta_cli_toolkit generate N /path/to/output/file [-r|--rna]\n```\nUse the `-r` or `--rna` options to generate a RNA sequence\n\n### Analyze\nPrints a summary of the sequence:\n - Number of bases\n - AT Count \u0026 Percentage\n - GC Count \u0026 Percentage\n```sh\n$ fasta_cli_toolkit analyze /path/to/file\n```\n\n### Get\nGet subcommands:\n - complementary:\n    Gets the complementary strand of the given sequence\n    ```sh\n    $ fasta_cli_toolkit get complementary /path/to/file [/path/to/output/file]\n    ```\n - reverse\n    Gets the reverse strand of the given sequence\n    ```sh\n    $ fasta_cli_toolkit get reverse /path/to/file [/path/to/output/file]\n    ```\n - revcomp\n    Gets the reverse-complementary strand of the given sequence\n    ```sh\n    $ fasta_cli_toolkit get revcomp /path/to/file [/path/to/output/file]\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpswsm%2Ffasta_cli_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpswsm%2Ffasta_cli_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpswsm%2Ffasta_cli_tools/lists"}