bioinformatics-env-setup
Skill4 starsChanged 12 days agoMITView on GitHub
Guide users through installing and verifying bioinformatics software for NGS, RNA-seq, scRNA-seq, and metagenomics pipelines using conda, pip, or manual installation.
- Installs packages
In this repository56 other files it gives its agents.
- design-thermostable-mutationsSkill
- download-gdcSkill
- download-geoSkill
- download-sraSkill
- source-summarizerSkill
- genome-alignment-qcSkill
- genome-read-alignmentSkill
- genome-variant-annotationSkill
- genome-variant-callingSkill
- genome-variant-filteringSkill
- metagenome-assemblySkill
- metagenome-binningSkill
- metagenome-functional-profilingSkill
- metagenome-host-removalSkill
- metagenome-taxonomic-profilingSkill
- ncbi-eutilities-assistantSkill
- ngs-quality-controlSkill
- ngs-read-preprocessingSkill
- paper-to-briefSkill
- predict-protein-heat-stabilitySkill
- researchSkill
- rnaseq-alignment-qcSkill
- rnaseq-differential-expressionSkill
- rnaseq-functional-enrichmentSkill
- rnaseq-read-alignmentSkill
- rnaseq-read-countingSkill
- rnaseq-transcript-quantificationSkill
- rpsblast-assistantSkill
- scrnaseq-cellranger-countSkill
- scrnaseq-cell-type-annotationSkill
- scrnaseq-clusteringSkill
- scrnaseq-differential-expressionSkill
- scrnaseq-integrationSkill
- scrnaseq-quality-controlSkill
- scrnaseq-trajectory-analysisSkill
- search-enaSkill
- search-geoSkill
- search-gsaSkill
- search-ncbi-datasetsSkill
- search-sraSkill
- stat-analyze-distributionSkill
- stat-assess-data-qualitySkill
- stat-bayesian-estimationSkill
- stat-cluster-samplesSkill
- stat-compare-multiple-groupsSkill
- stat-compare-two-groupsSkill
- stat-fit-glmSkill
- stat-fit-linear-modelSkill
- stat-learn-bayesian-networkSkill
- stat-logistic-regressionSkill
- stat-nonlinear-embeddingSkill
- stat-pairwise-correlationSkill
- stat-pcaSkill
- stat-survival-analysisSkill
- structured-intelligence-skill-creatorSkill
- <skill-id>Skill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
Detect the environment: Check whether conda/mamba is available (which conda), whether Docker is available (docker --version), and whether …
- Very specific: line 47
Prefer mamba over conda for significantly faster dependency resolution.
- Very specific: line 56
Verify all installations: After installation, re-run the version check for each tool.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Bioinformatics Environment Setup
Use When
- User is starting a new analysis and wants to install the required bioinformatics tools.
- A pipeline step fails because a tool is missing or the wrong version is installed.
- User asks how to install a specific bioinformatics tool (e.g., STAR, Cell Ranger, Scanpy, Seurat).
- User wants a ready-to-use conda environment for a specific pipeline.
- User is setting up a new compute environment (HPC, cloud VM, local workstation).
Inputs
- Required:
- Target pipeline(s): one or more of
ngs-shared,wgs,rnaseq,scrnaseq,metagenomics, orall
- Target pipeline(s): one or more of
- Optional:
- Installation method:
conda(default),docker, ormanual - Operating system:
linux(default),macos - Environment name prefix (default:
bioinfo) - Conda channel priority:
strict(default, reproducible) orflexible - Whether to verify existing installations before installing (default: true)
- Installation method:
Workflow
- Detect the environment: Check whether
conda/mambais available (which conda), whether Docker is available (docker --version), and whether an HPC module system is present (module avail). Report findings to the user and recommend the best installation path. - Check existing installations: For each tool in the requested pipeline group(s), run
which <tool> && <tool> --version 2>&1 | head -1to detect installed versions. Report a summary table: tool name, found/missing, installed version, required minimum version. - Select the installation asset: Choose the appropriate conda environment YAML from
assets/envs/:ngs-shared.yaml— FastQC, MultiQC, fastp, Trimmomatic, samtoolswgs.yaml— BWA-MEM2, GATK, Picard, bcftools, VEP, SnpEffrnaseq.yaml— STAR, HISAT2, featureCounts (subread), salmon, kallisto, DESeq2 (R), edgeR (R)scrnaseq-python.yaml— STARsolo (STAR), Scanpy, scVI-tools, scVelo, Scrublet, CellBender, harmonypyscrnaseq-r.yaml— Seurat v5, SingleR, scDblFinder, SoupX, Monocle3, DoubletFindermetagenomics.yaml— Bowtie2, MetaPhlAn4, HUMAnN3, Kraken2, Bracken, metaSPAdes, MEGAHIT, Prokka
- Create the conda environment:
Prefermamba env create -f assets/envs/<pipeline>.yaml # or, if mamba is unavailable: conda env create -f assets/envs/<pipeline>.yamlmambaovercondafor significantly faster dependency resolution. - Handle tools that cannot be installed via conda — prompt the user with manual steps:
- Cell Ranger: Download from the 10x Genomics website (requires registration). Add to PATH:
export PATH=/path/to/cellranger:$PATH. - CellBender: Install via pip inside the conda environment:
pip install cellbender. Requires CUDA for GPU acceleration. - DoubletFinder: Install from GitHub inside R:
remotes::install_github("chris-mcginnis-ucsf/DoubletFinder"). - Monocle3: Install from Bioconductor:
BiocManager::install("monocle3"). Alternatively:remotes::install_github("cole-trapnell-lab/monocle3"). - velocyto (for RNA velocity loom generation):
pip install velocyto. Requiressamtoolsand a reference GTF.
- Cell Ranger: Download from the 10x Genomics website (requires registration). Add to PATH:
- Verify all installations: After installation, re-run the version check for each tool. For R packages, run
Rscript -e 'packageVersion("<pkg>")'. Report a final verification table: tool, expected version, installed version, status (PASS/FAIL). - Report any failures with the specific error message and the most likely fix (e.g., missing system library, incompatible CUDA version, wrong conda channel).
Output Contract
- Environment detection summary (printed to console)
- Pre-installation version check table (TSV or formatted table): tool, status, version
- Installation commands executed (echo each command before running)
- Post-installation verification table (TSV or formatted table): tool, expected_min_version, installed_version, pass/fail
- List of any tools that require manual installation steps, with exact instructions
Limits
- Cell Ranger requires registration and manual download from 10x Genomics; it cannot be distributed via conda or pip.
- CellBender GPU acceleration requires CUDA ≥ 11.0 and a compatible NVIDIA GPU; CPU-only mode is available but slow (hours per sample).
- Monocle3 has complex Bioconductor dependencies that frequently cause installation conflicts; allocate extra time and follow the official installation guide.
- Conda environments can be large (2–5 GB each); ensure sufficient disk space before creating them.
- On HPC clusters, use
module loadfor pre-installed tools before attempting conda installation; conda may conflict with system modules. - macOS (Apple Silicon) requires
CONDA_SUBDIR=osx-64for some bioinformatics tools that lack native ARM builds. - Common failure cases:
conda solvetiming out on complex environments; switch tomambafor faster resolution.- GATK or Picard failing due to wrong Java version; ensure Java 17+ is available (
java --version). - R package installation failing due to missing system libraries (e.g.,
libgdal,libcurl); install the system library first withapt-getoryum. - STARsolo requiring a STAR version ≥ 2.7.9a for Velocyto output; check STAR version with
STAR --version.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

