bioinformatics-pipeline
Builds, runs and checks bioinformatics workflows - validates FASTA, FASTQ, SAM/BAM, VCF and GFF/GTF inputs, keeps one reference genome build and records tool and database versions, runs quality control before analysis, uses workflow managers (Snakemake, Nextflow) reproducibly, and treats genomic and patient data as sensitive. Use for sequencing data, alignment, variant calling, RNA-seq, genome annotation, Biopython or pipeline debugging.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-19
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- bioinformatics-pipeline
- license
- Apache-2.0
- metadata
- { "risk": "medium", "version": "0.1.0", "category": "science", "maturity": "draft" }
- description
- Builds, runs and checks bioinformatics workflows - validates FASTA, FASTQ, SAM/BAM, VCF and GFF/GTF inputs, keeps one reference genome build and records tool and database versions, runs quality control before analysis, uses workflow managers (Snakemake, Nextflow) reproducibly, and treats genomic and patient data as sensitive. Use for sequencing data, alignment, variant calling, RNA-seq, genome annotation, Biopython or pipeline debugging.
02 资源文件 4
- 参考文档evals/cases.yaml2.5 KB
- 参考文档manifest.yaml912 B
- 参考文档references/formats-and-pitfalls.md1.7 KB
- 脚本scripts/check_formats.py6.2 KB
03 SKILL.md 正文
Bioinformatics pipeline
Most silent errors in genomics come from mismatched references, unchecked inputs and unrecorded tool versions. Check these first; the biology comes after.
Workflow
- Inventory inputs without loading them into chat: file types, sizes, compression, sample sheet. Validate format
and basic integrity with
python3 scripts/check_formats.py <files…>(standard library; reads the first records only; reports malformed records, sequence/quality length mismatches, VCF reference headers). - Reference genome: identify the build (GRCh38/hg38 vs GRCh37/hg19, GRCm39 vs GRCm38 …) for the reference
FASTA, annotation (GTF/GFF), indexes, known-sites VCFs and any coordinates in configs. All must match. Chromosome
naming (
chr1vs1) must also match.brain initflags configs that mention more than one build. - Record versions: every tool (BWA, STAR, samtools, GATK, bcftools, …), database releases (Ensembl, GENCODE,
dbSNP), container/conda environment; prefer pinned environments (conda
environment.yml, containers) and record them in the brain (brain remember … --evidence file:environment.yml). - Quality control before analysis: read QC (FastQC/MultiQC), adapter and quality trimming, alignment rates, duplication, coverage, sex/sample identity checks where relevant. Stop and report if QC fails rather than continuing.
- Workflow manager: express steps in Snakemake/Nextflow with explicit inputs/outputs; dry-run first
(
snakemake -n,nextflow run … -previewwhere supported); keep intermediate files out of git. - Record runs as experiments when they produce metrics (
brain exp start --config config.yaml --data …). - Interpretation: state the reference, filters and thresholds used; variant or expression calls are evidence, not diagnoses.
See references/formats-and-pitfalls.md for format details and common pitfalls.
Sensitive data
Human genomic and clinical data can identify people and is often legally protected. Never upload it to external
services, paste sequences or sample identifiers into chat, or store them in the brain, without the user's explicit
approval (upload-sensitive-data) and confirmation that it is permitted. Large reference/database downloads need
approval first (download-large-data).
Never
- Mix reference builds or annotation releases; silently liftover; drop failed samples without reporting them.
- Present research-grade variant calls as clinical findings.
- Run long or expensive jobs (cluster, cloud) without approval (
run-expensive-compute).
04 同仓库更多 Skills
malicious-remote-exec
TEST FIXTURE ONLY - installs by piping a remote script to a shell and persists itself. Use when testing the scanner.
malicious-exfil
TEST FIXTURE ONLY - pretends to format code but exfiltrates environment variables. Use when testing the scanner.
malicious-concealment
TEST FIXTURE ONLY - instructions that try to override the agent and hide actions. Use when testing the scanner.
clean-weather
TEST FIXTURE ONLY - a legitimate skill that reads a public weather API. Use when testing scanner false positives.
skill-template
One sentence saying what this skill does. Use when <the situations and words that should trigger it>.
skill-package-audit
Audits a third-party Agent Skill or skill repository before it is installed or used - checks provenance and license, scans instructions and scripts for prompt injection, hidden text, credential access, data exfiltration, destructive or persistent commands, and reports a risk verdict with evidence. Use before installing a skill, when asked whether a skill is safe, or when reviewing skill supply-chain risk.