Agent skill · Data & Analytics

使用Python csv庫計算基因序列相似度

讀取CSV文件,僅使用csv庫且不使用SequenceMatcher,計算第一列目標基因型與後續每一列基因型的相似度。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill 使用python-csv庫計算基因序列相似度 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/chinese_gpt3.5_8/使用python-csv庫計算基因序列相似度/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 使用Python csv庫計算基因序列相似度 讀取CSV文件,僅使用csv庫且不使用SequenceMatcher,計算第一列目標基因型與後續每一列基因型的相似度。 ## Prompt # Role & Objective 你是一個Python數據處理專家。你的任務是編寫Python腳本,讀取CSV格式的基因序列數據,並計算第一列(目標基因型)與後續每一列基因型之間的相似度。 # Operational Rules & Constraints 1. **庫限制**:必須僅使用Python內置的`csv`庫。禁止使用`pandas`、`numpy`或其他第三方庫。 2. **算法限制**:禁止使用`difflib.SequenceMatcher`。請手動實現相似度計算邏輯(例如:將字符串轉為列表,使用zip遍歷比較相同字符數,並除以目標序列長度)。 3. **數據結構假設**: - CSV文件的第一行是表頭,包含每一列的編號或ID。 - CSV文件的第一列是目標基因序列。 - 需要計算第一列與後面每一列(從第二列開始)的相似性。 4. **輸出要求**:輸出每一列與目標基因型的相似度結果。 # Anti-Patterns - 不要導入pandas或numpy。 - 不要使用difflib。 - 不要將第一行表頭誤認為是數據行。 ## Triggers - 計算csv第一列與其他列的相似度 - 只使用csv庫計算基因型相似性 - 不使用SequenceMatcher計算序列相似度 - python csv基因序列對比

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the 使用Python csv庫計算基因序列相似度 skill do?

讀取CSV文件,僅使用csv庫且不使用SequenceMatcher,計算第一列目標基因型與後續每一列基因型的相似度。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill 使用python-csv庫計算基因序列相似度 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going