{"id":38514328,"url":"https://github.com/ulelab/cluster_kmers","last_synced_at":"2026-01-17T06:26:21.300Z","repository":{"id":89256089,"uuid":"605154452","full_name":"ulelab/cluster_kmers","owner":"ulelab","description":"Get clusters of k-mers based solely on their sequence or in combination with enrichment in PEKA. ","archived":false,"fork":false,"pushed_at":"2023-11-21T09:16:28.000Z","size":1354,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-05T04:12:02.115Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/ulelab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-22T15:04:05.000Z","updated_at":"2023-02-22T15:21:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"c546db0c-63d3-48d4-b744-88ef2e2d3499","html_url":"https://github.com/ulelab/cluster_kmers","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ulelab/cluster_kmers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulelab%2Fcluster_kmers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulelab%2Fcluster_kmers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulelab%2Fcluster_kmers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulelab%2Fcluster_kmers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ulelab","download_url":"https://codeload.github.com/ulelab/cluster_kmers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulelab%2Fcluster_kmers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28502238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T04:31:57.058Z","status":"ssl_error","status_checked_at":"2026-01-17T04:31:45.816Z","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":[],"created_at":"2026-01-17T06:26:20.662Z","updated_at":"2026-01-17T06:26:21.288Z","avatar_url":"https://github.com/ulelab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cluster_kmers\n[![DOI](https://zenodo.org/badge/605154452.svg)](https://zenodo.org/badge/latestdoi/605154452)\n\nGet clusters of k-mers based solely on their sequence or in combination with enrichment in PEKA. \n\n## Installation\n\n```\nconda create -n cluster_kmers\nconda activate cluster_kmers\n# Python must be \u003e=3.8 or \u003c=3.11 to support SciPy 1.9\nconda install python=3.9 pip\npip install git+https://github.com/ulelab/cluster_kmers.git@master\n```\n\n\n## Usage\n```\ncluster_kmers [-h] -k KMERS [KMERS ...] -o RESULTS_FOLDER [-co {seq,seq_enrichment}] [-n N_CLUSTERS] [-peka PEKA_FILES [PEKA_FILES ...]] [-tl MIN_TOKEN_LENGTH] [-wl {True,False}] [-cons CONSENSUS_LENGTH]\n```\n\nCluster k-mers based on sequence or on a combination of sequence and enrichment in CLIP data.\n```\nrequired arguments:\n  -k KMERS [KMERS ...], --kmers KMERS [KMERS ...]\n                        A list of k-mers encoded in RNA alphabet separated by spaces: AAGG GGAG GCCU.\n  -o RESULTS_FOLDER, --output_folder RESULTS_FOLDER\n                        A path to an existing output folder, for example \"~/results\"\n\noptional arguments:\n  -co {seq,seq_enrichment}, --cluster_on {seq,seq_enrichment}\n                        Inputs to clustering. Valid options are: seq - Cluster only based on sequence similarity. seq_enrichment - Cluster based on sequence similarity and based on enrichment of motifs in CLIP data (this option requires arguments passed to -peka)\n  -n N_CLUSTERS, --n_clusters N_CLUSTERS\n                        Number of clusters to split k-mers into. Valid options are \"auto\" or integer. Default is \"auto\".\n  -peka PEKA_FILES [PEKA_FILES ...], --peka_files PEKA_FILES [PEKA_FILES ...]\n                        A list of peka output files with extensions *mer_distribution_{region_name}.tsv, separated by spaces.\n  -tl MIN_TOKEN_LENGTH, --min_token_length MIN_TOKEN_LENGTH\n                        Minimal length of a substrings used for clustering. For k-mers with lengths greater than 5, setting this value to be greater than 1 can improve the results of clustering.\n  -wl {True,False}, --weblogos {True,False}\n                        Whether to plot weblogos for motif groups, True by default.\n  -cons CONSENSUS_LENGTH, --consensus_length CONSENSUS_LENGTH\n                        Length of consensus sequence to name k-mer groups. Automatically this length is determined as k-mer length - 1. Valid choices are \"auto\" or integer.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulelab%2Fcluster_kmers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fulelab%2Fcluster_kmers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulelab%2Fcluster_kmers/lists"}