accessibility-aggregat…
Build comprehensive chromatin accessibility maps by aggregating ATAC-seq and DNase-seq narrowPeak data across multiple ENCODE experiments, donors, and labs.…
Generate publication-ready methods sections, figure legends, supplementary tables, and data availability statements from ENCODE analysis provenance. Implements the scientific documentation standards requiring complete metadata reporting. Use when the user needs to write methods,
$ npx -y skills add ammawla/encode-toolkit --skill scientific-writing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/scientific-writingContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate publication-ready methods sections, figure legends, supplementary tables, and data availability statements from ENCODE analysis provenance. Implements the scientific documentation standards requiring complete metadata reporting. Use when the user needs to write methods,
name: scientific-writing description: "Generate publication-ready methods sections, figure legends, supplementary tables, and data availability statements from ENCODE analysis provenance. Implements the scientific documentation standards requiring complete metadata reporting. Use when the user needs to write methods, generate figure legends, create supplementary tables, draft data availability statements, compile tool citations, or auto-generate any publication text from their ENCODE analysis. Trigger on: methods section, figure legend, supplementary table, data availability, tool citations, publication writing, manuscript, write methods, methods draft, write up, write-up, paper writing, reproducible methods."
Generate publication-quality scientific writing from ENCODE analysis records. This skill integrates with `data-provenance` and `cite-encode` to auto-generate methods from logged pipeline runs. Every generated section follows rigorous scientific documentation standards -- complete reporting of all experimental and computational parameters with zero ambiguity.
Most methods sections in genomics papers are incomplete. They omit software versions, skip reference file details, conflate technical and biological replicates, and use phrases like "default parameters" without stating what those defaults are. Reviewers catch these omissions, and readers cannot reproduce the analysis.
This skill solves the problem by generating methods text directly from the provenance chain. When every processing step has been logged (via `data-provenance`), the methods section writes itself. When metadata has been captured from ENCODE (via `track-experiments`), the experimental details are already recorded. This skill assembles these records into publication-ready prose, figure legends, supplementary tables, and data availability statements.
This standard is not aspirational -- it is the minimum bar for reproducible science.
Every methods section MUST report the following fields. Omitting any of these fields produces an incomplete methods section that reviewers will flag and readers cannot reproduce.
| Field | Example | Why Required | |---|---|---| | Library preparation | TruSeq ChIP | Affects fragment size distribution and GC bias | | Biological replicates | n=2 per condition | Statistical power and reproducibility | | Cells/nuclei per replicate | 50,000 cells | Input sufficiency for the assay | | Sequencing reads | 30M paired-end | Coverage depth determines sensitivity | | Read length | 2x150 bp | Alignment accuracy and mappability | | Paired/single-end | Paired-end | Fragment size estimation, structural variants | | Sequencer | NovaSeq 6000 | Quality profile, error model, binning | | Lab/batch | Snyder Lab, Stanford | Batch effect awareness | | Reference genome | GRCh38/hg38 | Coordinate system for all downstream analysis | | Gene annotation | GENCODE v44 | Gene definitions change between versions | | ENCODE accessions | ENCSR133RZO | Exact data provenance for reproducibility | | Blacklist version | ENCODE Blacklist v2 | Artifact exclusion affects all peak-based analyses |
# Track the experiment to capture metadata encode_track_experiment(accession="ENCSR...", fetch_publications=True) # Get full experiment details encode_get_experiment(accession="ENCSR...") # Get file-level metadata encode_get_file_info(accession="ENCFF...") # Get provenance for derived files encode_get_provenance(file_path="/path/to/derived/file.bed")
Each template below is a fill-in-the-blank paragraph that reads like a real methods section. Bracketed fields `[like this]` are populated from ENCODE metadata and provenance records. Every template follows these documentation standards.
Chromatin immunoprecipitation followed by sequencing (ChIP-seq) data for [target] in [biosample] were obtained from the ENCODE Project (ENCODE Project Consortium 2020) under accession [ENCSR accession]. [Library preparation method] libraries were prepared from [number] biological replicates ([cells/nuclei] per replicate) and sequenced on an Illumina [sequencer model] to generate [read count]M [paired-end/single-end] reads of [read length] bp per replicate. Raw reads were assessed with FastQC (v[version]; Andrews 2010) and trimmed with Trim Galore (v[version]; Krueger 2015) to remove adapter sequences and low-quality bases (Phred < 20). Trimmed reads were aligned to the [organism] reference genome ([assembly]) using BWA-MEM (v[version]; Li 2013) with default parameters. Duplicate reads were marked and removed using Picard MarkDuplicates (v[version]; Broad Institute). Reads with mapping quality < 30 were excluded using samtools (v[version]; Danecek et al. 2021). Reads mapping to ENCODE Blacklist v2 regions (Amemiya et al. 2019) were removed using bedtools intersect (v[version]; Quinlan & Hall 2010). Peaks were called using MACS2 (v[version]; Zhang et al. 2008) with parameters [--broad for broad marks / -q 0.05 for narrow marks]. For narrow-peak targets, IDR analysis (Li et al. 2011) was performed on replicate peak sets with a threshold of [0.05]. Signal tracks (fold change over control) were generated using MACS2 bdgcmp and converted to bigWig format using bedGraphToBigWig
Search ENCODE, cross-reference 14 databases, run 7 analysis pipelines, and generate publication-ready methods — all from natural language in Claude Code.
Repo: ammawla/encode-toolkit
Build comprehensive chromatin accessibility maps by aggregating ATAC-seq and DNase-seq narrowPeak data across multiple ENCODE experiments, donors, and labs.…
Guide for multi-experiment batch operations: QC screening, batch download, comparison, and report generation across many ENCODE experiments simultaneously. Use…
Install bioinformatics tools for ENCODE data analysis. Covers CLI tools (BWA, STAR, samtools, MACS2), R/Bioconductor packages (DESeq2, Seurat, ChIPseeker),…
Guide for integrating CellxGene Census single-cell data with ENCODE bulk experiments. Use when users need cell-type-specific expression context for ENCODE…
Generate proper ENCODE citations for publications, grants, and presentations. Use when the user needs to cite ENCODE data, create bibliography entries, write…
Guide for annotating ENCODE regulatory variants with ClinVar clinical significance. Use when users need to check if variants in ENCODE peaks have clinical…