K-Dense-AI/scientific-agent-skills / skills/bulk-rnaseq
bulk-rnaseq
VerifiedPrepares 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. For single-cell data use scanpy; for statistical fitting alone use pydeseq2.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 16.5 KB |
| references/counts-and-handoff.md | markdown | 8.3 KB |
| references/design-and-qc.md | markdown | 6.2 KB |
| references/upstream-manual.md | markdown | 7.0 KB |
| references/upstream-nfcore.md | markdown | 7.3 KB |
| scripts/_tabular.py | script | 975 B |
| scripts/build_counts_matrix.py | script | 14.1 KB |
| scripts/validate_samplesheet.py | script | 10.3 KB |
scripts/_tabular.py
View on GitHub"""Check table headers before pandas can silently rename duplicate columns."""
import csv
from itertools import chain
def validate_header(path, delimiter=",", comment=None):
with path.open(encoding="utf-8-sig", newline="") as handle:
first = next((line for line in handle if line.strip()
and not (comment and line.startswith(comment))), "")
if not first:
return # The main reader reports an empty file.
try:
if delimiter is None:
delimiter = csv.Sniffer().sniff(first, delimiters=",\t").delimiter
header = next(csv.reader(chain([first], handle), delimiter=delimiter))
except csv.Error as exc:
raise ValueError(f"Invalid table header: {exc}") from exc
normalized = [label.strip() for label in header]
if len(normalized) != len(set(normalized)):
raise ValueError("Duplicate column labels in input header; refusing automatic renaming")
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |