본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트51k · #3434

bulk-rnaseq

하는 일

유전체 시퀀싱 데이터(RNA-seq)를 정리해 여러 샘플에 걸쳐 유전자를 비교하도록 돕는 도구입니다. 데이터가 신뢰할 수 있고 반복 가능하며, 결과가 통계적으로 타당하도록 보장합니다.

사용하는 경우

  • ✓원시 시퀀싱 데이터(FASTQ 파일)가 있고 어떤 유전자가 활성화되어 있는지 알고 싶을 때.
  • ✓`nf-core/rnaseq` 프로그램을 설정하거나 실행할 때.
  • ✓STAR나 Salmon 같은 도구의 결과를 나중의 통계 분석을 위해 준비할 때.

스킬 링크

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/bulk-rnaseq/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/bulk-rnaseq/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 원시 RNA-seq 데이터를 분석해서, 처리 조건 사이에서 변하는 유전자를 찾고 싶습니다.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 원시 데이터를 처리하고, 참조 유전체에 정렬하며, 각 유전자에서 나온 RNA 조각의 수를 셉니다. 전체 과정이 반복 가능하고 높은 품질을 갖도록 보장합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Bulk RNA-seq

Overview

This skill prepares bulk RNA-seq reads and quantification output for a reproducible gene-level comparison. It owns sample validation, reads-to-counts recipes, and the count/metadata handoff; downstream statistical fitting and enrichment remain in their specialist skills.

"Defensible" means three things, applied throughout:

  • Reproducible — pinned pipeline/tool versions, containers where possible, recorded parameters, fixed random seeds.
  • Quality-gated — QC is inspected and acted on before, during, and after quantification, not skipped.
  • Statistically sound — adequate replication, a design that matches the biology, counts handled correctly, and FDR-controlled testing.

The pipeline is: FastQC/trim → align/quant (STAR/Salmon) → counts → DE (pydeseq2) → enrichment (pathway-enrichment) → figures.

When to Use This Skill

Use this skill when the user wants to:

  • Go from FASTQ files (or a sequencing run) to differentially expressed genes and pathways.
  • Run or configure nf-core/rnaseq, or align/quantify with STAR, Salmon, or featureCounts.
  • Turn Salmon/STAR/featureCounts output into a counts matrix ready for DESeq2/PyDESeq2.
  • Design or sanity-check a bulk RNA-seq experiment (replicates, batch, strandedness) before committing compute.
  • Scope an end-to-end RNA-seq analysis and decide which tools and skills to chain.

This is bulk RNA-seq (samples = biological specimens). For single-cell/nuclei data use scanpy; for the DE statistics alone use pydeseq2; for enrichment alone use pathway-enrichment.

The Pipeline at a Glance

flowchart TD
    fastq["Raw FASTQ + samplesheet"] --> qc["FastQC + MultiQC"]
    qc --> trim["Trim: fastp / Trim Galore"]
    trim --> align["Align + quant: STAR and/or Salmon"]
    align --> counts["Gene-level counts matrix"]
    counts --> de["Differential expression"]
    de --> enrich["Pathway / GSEA enrichment"]
    de --> fig["Figures"]
    enrich --> fig
    nfcore["nf-core/rnaseq via nextflow skill"] -.->|"path A"| align
    manual["Standalone recipes (this skill)"] -.->|"path B"| align
    bridge["build_counts_matrix.py (this skill)"] -.-> counts
    pydeseq2skill["pydeseq2 skill"] -.-> de
    pwskill["pathway-enrichment skill"] -.-> enrich
    vizskill["scientific-visualization skill"] -.-> fig

Two Upstream Paths — Pick One

The reads → counts stage can be run two ways. Both produce gene-level counts, but STAR/featureCounts and Salmon/tximport do not generally give identical or interchangeable values: assignment rules, multimapping, and effective-length corrections differ. Choose one quantification route for the entire comparison.

Use Path A — nf-core/rnaseq when… Use Path B — standalone tools when…
You want the field-standard, audited, citable pipeline with one command You have a few samples and want to learn/inspect each step
Many samples, or you'll scale to HPC/cloud No Nextflow/containers available, or a constrained environment
Reproducibility and a full MultiQC report matter most You need a non-standard step the pipeline doesn't expose
→ Drive it through the nextflow skill → Follow references/upstream-manual.md

When unsure, prefer Path A: nf-core/rnaseq already wires together FastQC → trimming → STAR/Salmon → quantification → tximport → MultiQC with sensible, reviewed defaults, which is the most defensible option. Path B exists for transparency and constrained setups.

Both paths converge on a gene-level counts matrix. Preserve whether counts are raw or length-scaled, the transcript-to-gene mapping release, and any offsets. Length-scaled counts must not receive a second transcript-length correction.

Setup

# This skill's glue (bridge + handoffs) — Python
uv pip install "pytximport==0.13.0" pandas numpy

# Downstream skills install their own deps:
#   pydeseq2 skill           -> uv pip install pydeseq2
#   pathway-enrichment skill -> uv pip install gseapy gprofiler-official

# Path A (nf-core): only Nextflow + a container engine are needed — see the `nextflow` skill.

# Path B (standalone tools): install via bioconda. Pin versions for reproducibility.
conda create -n rnaseq -c conda-forge -c bioconda --strict-channel-priority \
  fastqc fastp trim-galore "star=2.7.11b" "salmon=2.8.0" subread multiqc

…

자주 묻는 질문

‘벌크 RNA-seq’란 무엇인가요?

개별 세포가 아니라 조직 전체처럼 여러 세포 유형이 함께 들어 있는 시료에 대해 분석하는 것을 뜻합니다.

재현성이 왜 중요한가요?

다른 사람이나 미래의 나 자신이 같은 도구와 설정을 사용해 정확히 같은 분석을 반복하고 같은 결과를 얻을 수 있도록 보장하기 때문입니다.

‘경로 A’와 ‘경로 B’의 차이는 무엇인가요?

경로 A는 업계 표준이며 더 자동화된 `nf-core/rnaseq` 프로그램을 사용합니다. 경로 B는 별도의 도구를 사용해 각 단계를 더 세밀하게 제어하고 확인할 수 있습니다.

상세 정보

작성자의 원본 설명

Prepares bulk RNA-seq FASTQ, Salmon, STAR or featureCounts output for gene-level differential expression. Covers nf-core/rnaseq and standalone quantification, biological replication, strandedness, reference provenance, validated count assembly and a PyDESeq2 handoff. Use for FASTQ-to-counts analysis, nf-core/rnaseq configuration, STAR/Salmon quantification, or building a counts matrix for DESeq2.

repo: K-Dense-AI/scientific-agent-skills

인기도

GitHub 스타
51k
순위
#3434
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬