Fastas2kmers
A naive implementation of a k-mer counter in Python, takes fasta files and k-mer length requests and outputs all k-mers of length k, their reverse complement, and their frequency within their respective sequence for each sequence in the file.
Install / Use
/learn @suchapalaver/Fastas2kmersREADME
fastas2kmers
Written in Python, this k-mer counter parses the contents of an unzipped fasta file according to length k, which can be specified by the user. It outputs a table for each sequence of all kmers of length k, their reverse complement, and their total number in the sequence.
Download fastas2kmers.py to the directory with the fasta file you want to parse.
From that directory run:
python fastas2kmers.py <fasta_file> <k>
e.g.:
python fastas2kmers.py sample.fa 31
Related Skills
next
A beautifully designed, floating Pomodoro timer that respects your workspace.
product-manager-skills
50PM skill for Claude Code, Codex, Cursor, and Windsurf: diagnose SaaS metrics, critique PRDs, plan roadmaps, run discovery, and coach PM career transitions.
pm
PM Agent Rule This rule is triggered when the user types `@pm` and activates the Product Manager agent persona.
devplan-mcp-server
3MCP server for generating development plans, project roadmaps, and task breakdowns for Claude Code. Turn project ideas into paint-by-numbers implementation plans.
