Token导航 LogoToken导航

Agent Skill · 前端设计

bioinformatics-fundamentals(生物信息学基础)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

bioinformatics-fundamentals 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证为 MIT,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 1,729。

总安装 4,121周安装 170GitHub Stars 12下载 1,346核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:bioinformatics-fundamentals(生物信息学基础)
来源仓库:https://github.com/delphine-l/claude_global
仓库路径:skills/bioinformatics-fundamentals
安装命令:
npx skills add https://github.com/delphine-l/claude_global --skill bioinformatics-fundamentals
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/delphine-l/claude_global --skill bioinformatics-fundamentals

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

提供基因组学与生物信息学工作流程的基础知识支持。适合在处理测序数据、调试 SAM/BAM 文件或理解质量指标等场景中使用。帮助理解文件格式、配对末端数据、MAPQ 分数和坐标系统等核心概念。安装需确认权限范围和维护状态,可能涉及联网、命令执行或文件读写操作。

bioinformatics-fundamentals 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/bioinformatics-fundamentals

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/delphine-l/claude_global --skill bioinformatic…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

bioinformatics-fundamentals 怎么安装?

在终端执行 npx skills add https://github.com/delphine-l/claude_global --skill bioinformatics-fundamen…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

bioinformatics-fundamentals 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

bioinformatics-fundamentals 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

bioinformatics-fundamentals 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

bioinformatics-fundamentals 用的人多吗?

公开数据是累计安装 4,121 次,近一周安装 170 次,下载 1,346 次,GitHub 12 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

bioinformatics-fundamentals 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
bioinformatics-fundamentals

生物信息学基础 · 本页

4,12112只读MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Bioinformatics Fundamentals

Foundation knowledge for genomics and bioinformatics workflows. Provides essential understanding of file formats, sequencing technologies, and common data processing patterns.

When to Use This Skill

  • Working with sequencing data (PacBio HiFi, Hi-C, Illumina)
  • Debugging SAM/BAM alignment or filtering issues
  • Processing AGP files for genome assembly curation
  • Validating AGP coordinate systems and unloc assignments
  • Understanding paired-end vs single-end data
  • Interpreting quality metrics (MAPQ, PHRED scores)
  • Troubleshooting empty outputs or broken read pairs
  • Accessing GenomeArk QC data (GenomeScope, BUSCO, Merqury)
  • Curating karyotype data or chromosome count analysis
  • General bioinformatics data analysis

SAM/BAM Format Essentials

SAM Flags (Bitwise)

Flags are additive - a read can have multiple flags set simultaneously.

Common Flags:

  • 0x0001 (1): Read is paired in sequencing
  • 0x0002 (2): Each segment properly aligned (proper pair)
  • 0x0004 (4): Read unmapped
  • 0x0008 (8): Mate unmapped
  • 0x0010 (16): Read mapped to reverse strand
  • 0x0020 (32): Mate mapped to reverse strand
  • 0x0040 (64): First in pair (R1/forward)
  • 0x0080 (128): Second in pair (R2/reverse)
  • 0x0100 (256): Secondary alignment
  • 0x0400 (1024): PCR or optical duplicate
  • 0x0800 (2048): Supplementary alignment

Flag Combinations:

  • Properly paired R1: 99 (0x63 = 1 + 2 + 32 + 64)
  • Properly paired R2: 147 (0x93 = 1 + 2 + 16 + 128)
  • Unmapped read: 4
  • Mate unmapped: 8
See reference.md for complete flag tables, CIGAR operations, optional tags, and SAM mandatory fields.

Proper Pair Flag (0x0002)

What "proper pair" means:

  • Both R1 and R2 are mapped
  • Mapping orientations are correct (typically R1 forward, R2 reverse)
  • Insert size is reasonable for the library
  • Pair conforms to aligner's expectations

Important: Different aligners have different criteria for proper pairs!

MAPQ (Mapping Quality)

Formula: MAPQ = -10 * log10(P(mapping is wrong))

Common Thresholds:

  • MAPQ >= 60: High confidence (error probability < 0.0001%)
  • MAPQ >= 30: Good quality (error probability < 0.1%)
  • MAPQ >= 20: Acceptable (error probability < 1%)
  • MAPQ >= 10: Low confidence (error probability < 10%)
  • MAPQ = 0: Multi-mapper or unmapped

Note: MAPQ=0 can mean either unmapped OR equally good multiple mappings.

CIGAR String

Represents alignment between read and reference:

  • M: Match or mismatch (alignment match)
  • I: Insertion in read vs reference
  • D: Deletion in read vs reference
  • S: Soft clipping (bases in read not aligned)
  • H: Hard clipping (bases not in read sequence)
  • N: Skipped region (for RNA-seq splicing)

Example: 100M = perfect 100bp match Example: 50M5I45M = 50bp match, 5bp insertion, 45bp match

Sequencing Technologies

PacBio HiFi (High Fidelity)

Characteristics:

  • Long reads: 10-25 kb typical
  • High accuracy: >99.9% (Q20+)
  • Circular Consensus Sequencing (CCS)
  • Single-end data (though from circular molecules)
  • Excellent for de novo assembly

Best Mappers:

  • minimap2 presets: map-pb, map-hifi
  • BWA-MEM2 can work but optimized for short reads

Typical Use Cases:

  • De novo genome assembly
  • Structural variant detection
  • Isoform sequencing (Iso-Seq)
  • Haplotype phasing

Hi-C (Chromatin Conformation Capture)

Characteristics:

  • Paired-end short reads (typically 100-150 bp)
  • Read pairs capture chromatin interactions
  • R1 and R2 often map to different scaffolds/chromosomes
  • Requires careful proper pair handling
  • Used for scaffolding and 3D genome structure

Best Mappers:

  • BWA-MEM2 (paired-end mode)
  • BWA-MEM (paired-end mode)

Critical Concept: Hi-C read pairs intentionally map to distant loci. Region filtering can easily break pairs!

Typical Use Cases:

  • Genome scaffolding (connecting contigs)
  • 3D chromatin structure analysis
  • Haplotype phasing
  • Assembly quality assessment

Illumina Short Reads

Characteristics:

  • Short reads: 50-300 bp
  • Paired-end or single-end
  • High throughput
  • Well-established quality scores

Best Mappers:

  • BWA-MEM2, BWA-MEM (general purpose)
  • Bowtie2 (fast, local alignment)
  • STAR (RNA-seq spliced alignment)
See reference.md for detailed technical specs, error profiles, and quality metrics per technology.

Common Tools and Their Behaviors

samtools view

Purpose: Filter, convert, and view SAM/BAM files

Key Flags:

  • -b: Output BAM format
  • -h: Include header
  • -f INT: Require flags (keep reads WITH these flags)
  • -F INT: Filter flags (remove reads WITH these flags)
  • -q INT: Minimum MAPQ threshold
  • -L FILE: Keep reads overlapping regions in BED file

Important Behavior:

  • -L (region filtering) checks each read individually, not pairs
  • Can break read pairs if mates map to different regions
  • Flag filters (-f, -F) are applied before region filters (-L)

Example - Proper pairs in regions (correct order):

samtools view -b -f 2 -L regions.bed input.bam > proper_pairs_in_regions.bam

bamtools filter

Purpose: Advanced filtering with complex criteria

Common Filters:

  • isPaired: true - Read is from paired-end sequencing
  • isProperPair: true - Read is part of proper pair
  • isMapped: true - Read is mapped
  • mapQuality: >=30 - Mapping quality threshold

Important Difference from samtools:

  • isProperPair is more strict than samtools -f 2
  • Checks pair validity more thoroughly

samtools fastx

Purpose: Convert SAM/BAM to FASTQ/FASTA

Critical: Use appropriate filters to ensure R1/R2 files match!

See reference.md for complete tool command reference with all options and examples.

Common Patterns and Best Practices

Pattern 1: Filtering Paired-End Data by Regions

WRONG WAY (breaks pairs):

# Region filter first -> breaks pairs when mates are in different regions
samtools view -b -L regions.bed input.bam | bamtools filter -isPaired -isProperPair
# Result: Empty output (all pairs broken)

RIGHT WAY (preserves pairs):

# Proper pair filter FIRST, then region filter
samtools view -b -f 2 -L regions.bed input.bam > output.bam

Pattern 2: Extracting FASTQ from Filtered BAM

For Paired-End:

samtools fastx -1 R1.fq.gz -2 R2.fq.gz \
  --i1-flags 2 \  # Require proper pair
  input.bam

For Single-End:

samtools fastx -0 output.fq.gz input.bam

Pattern 3: Quality Filtering

Conservative (high quality):

samtools view -b -q 30 -f 2 -F 256 -F 2048 input.bam
# MAPQ >= 30, proper pairs, no secondary/supplementary

Permissive (for low-coverage data):

samtools view -b -q 10 -F 4 input.bam
# MAPQ >= 10, mapped reads

Common Issues Summary

Issue 1: Empty Output After Region Filtering (Hi-C Data)

Region filter (samtools view -L) breaks read pairs. One mate in region, other outside. Proper pair flag lost. Apply proper pair filter BEFORE region filtering:

samtools view -b -f 2 -L regions.bed input.bam > output.bam

Issue 2: R1 and R2 Files Have Different Read Counts

Improper filtering broke some pairs. Require proper pairs during extraction:

samtools fastx -1 R1.fq -2 R2.fq --i1-flags 2 input.bam

Issue 3: Low Mapping Rate for Hi-C Data

This is normal for Hi-C due to chimeric reads. Use Hi-C-specific pipelines (HiC-Pro, Juicer). Don't filter too aggressively on MAPQ.

Issue 4: Proper Pairs Lost After Mapping

Check insert size distribution, reference mismatch, or incorrect orientation flags.

samtools stats input.bam | grep "insert size"
samtools flagstat input.bam
See common-issues.md for comprehensive troubleshooting with detailed solutions, including AGP processing issues, HiFi-specific problems, and diagnostic commands.

Quality Metrics

N50 and Related Metrics

N50: Length of the shortest contig at which 50% of total assembly is contained in contigs of that length or longer

Related Metrics:

  • L50: Number of contigs needed to reach N50
  • N90: More stringent than N50 (90% coverage)
  • NG50: N50 relative to genome size (better for comparisons)

Coverage and Depth

Coverage: Percentage of reference bases covered by at least one read Depth: Average number of reads covering each base

Recommended Depths:

  • Genome assembly (HiFi): 30-50x
  • Variant calling: 30x minimum
  • RNA-seq: 20-40 million reads
  • Hi-C scaffolding: 50-100x genomic coverage
See reference.md for complete coverage calculations, BUSCO interpretation, QV scores, and assembly quality metrics.

File Format Quick Reference

FASTA

>sequence_id description
ATCGATCGATCG
  • Header line starts with >
  • No quality scores

FASTQ

@read_id
ATCGATCGATCG
+
IIIIIIIIIIII
  • Four lines per read
  • Quality scores (Phred+33 encoding typical)

BED

chr1    1000    2000    feature_name    score    +
  • 0-based coordinates
  • Half-open interval [start, end)

AGP

chr1    1    5000    1    W    contig_1    1    5000    +
chr1    5001 5100    2    U    100    scaffold    yes    proximity_ligation
  • Tab-delimited genome assembly format
  • 1-based closed coordinates [start, end]
  • Object and component lengths must match: obj_end - obj_beg + 1 == comp_end - comp_beg + 1
See reference.md for complete AGP specification, coordinate systems, validation rules, and processing patterns. See common-issues.md for AGP coordinate debugging and unloc processing issues.

Coordinate Systems

1-based (SAM, VCF, GFF, AGP): First base is position 1. Interval [2,5] includes positions 2,3,4,5. 0-based (BED, BAM binary): First base is position 0. Interval [2,5) includes positions 2,3,4 (excludes 5).

Conversion: BED_start = SAM_start - 1; BED_end = SAM_end.

Best Practices

General

  1. Always check data type: Paired-end vs single-end determines filtering strategy
  2. Understand your sequencing technology: Hi-C behaves differently than HiFi
  3. Filter in the right order: Proper pairs BEFORE region filtering
  4. Validate outputs: Check file sizes, read counts, flagstat
  5. Use appropriate MAPQ thresholds: Too stringent = lost data, too permissive = noise

For Hi-C Data

  1. Expect distant read pairs: Don't be surprised by different scaffolds
  2. Preserve proper pairs: Critical for downstream scaffolding
  3. Use paired-aware tools: Standard filters may break pairs
  4. Don't over-filter on MAPQ: Hi-C often has lower MAPQ than DNA-seq

For HiFi Data

  1. Single-end processing: No pair concerns
  2. High quality expected: Can use strict filters
  3. Use appropriate presets: minimap2 map-hifi or map-pb
  4. Consider read length distribution: HiFi reads vary in length

For Tool Testing

  1. Create self-contained datasets: Both mates in selected region
  2. Maintain proper pairs: Essential for realistic testing
  3. Use representative data: Subsample proportionally, not randomly
  4. Verify file sizes: Too small = overly filtered

Related Skills

  • vgp-pipeline - VGP workflows process Hi-C and HiFi data
  • galaxy-tool-wrapping - Galaxy tools work with SAM/BAM and sequencing data formats
  • galaxy-workflow-development - Workflows process sequencing data

Supporting Documentation

  • reference.md: Detailed format specifications (SAM/BAM complete reference, CIGAR operations, AGP format, FASTQ encoding, tool command reference, sequencing technology specs, assembly quality metrics, coverage calculations, coordinate systems)
  • common-issues.md: Comprehensive troubleshooting guide (empty outputs, paired-end issues, quality/mapping problems, format conversion, Hi-C and HiFi specific issues, AGP processing errors, diagnostic commands)
  • genomeark-data-access.md: GenomeArk AWS S3 data access patterns (directory structure evolution, QC data locations for GenomeScope/BUSCO/Merqury, fetching strategies, path normalization, assembly date extraction)
  • genomic-analysis-patterns.md: Domain-specific analysis patterns (karyotype data curation, haploid vs diploid chromosome counts, phylogenetic tree species mapping, BED/telomere analysis, NCBI data integration strategies)

Version History

  • v1.2.0: Split into SKILL.md + supporting files for maintainability; moved GenomeArk access, karyotype/chromosome analysis, phylogenetic mapping, AGP details, and telomere/NCBI patterns to supporting files
  • v1.1.1: Added BED file processing patterns for telomere analysis and NCBI data integration strategies
  • v1.1.0: Added comprehensive AGP format documentation including coordinate validation, unloc processing, and common error patterns
  • v1.0.0: Initial release with SAM/BAM, Hi-C, HiFi, common filtering patterns

平台分布

Gemini CLI

25.02%
按下载量换算337

Claude Code

24.66%
按下载量换算332

Antigravity

17.25%
按下载量换算232

OpenCode

11.97%
按下载量换算161

Codex

8.47%
按下载量换算114

windsurf

3.71%
按下载量换算50

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills