Skip to content

K-Dense-AI/scientific-agent-skills / skills/bulk-rnaseq

bulk-rnaseq

Verified

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. For single-cell data use scanpy; for statistical fitting alone use pydeseq2.

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")
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall