[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EE94YESKE73E40YC5G6Y8M":3,"skill-same:01M7EE94YESKE73E40YC5G6Y8M":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7EE94YESKE73E40YC5G6Y8M","bio-metagenomics-contamination-controls",null,"Cleans a shotgun metagenome of everything that is not the target community before profiling - host-read depletion (Hostile, bowtie2\u002FT2T-CHM13), reagent\u002Fkitome contamination control with blanks and decontam, mock-community validation, and depth-adequacy checks (Nonpareil). Covers why a metagenomic result is a position in a choice-chain rather than a direct observation, why extraction is the experiment, why a low-biomass community can be entirely kitome, why absence means not-detectable-by-this-chain, and why a confident classifier call can still be wrong when the reference is contaminated. Use when designing controls, removing host reads, identifying reagent contaminants, validating with mocks, or judging whether a low-biomass result is real. For adapter\u002Fquality trimming see read-qc; for MAG-level decontamination see genome-assembly\u002Fmetagenome-assembly.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-metagenomics-contamination-controls\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bio-metagenomics-contamination-controls\ndescription: Cleans a shotgun metagenome of everything that is not the target community before profiling - host-read depletion (Hostile, bowtie2\u002FT2T-CHM13), reagent\u002Fkitome contamination control with blanks and decontam, mock-community validation, and depth-adequacy checks (Nonpareil). Covers why a metagenomic result is a position in a choice-chain rather than a direct observation, why extraction is the experiment, why a low-biomass community can be entirely kitome, why absence means not-detectable-by-this-chain, and why a confident classifier call can still be wrong when the reference is contaminated. Use when designing controls, removing host reads, identifying reagent contaminants, validating with mocks, or judging whether a low-biomass result is real. For adapter\u002Fquality trimming see read-qc; for MAG-level decontamination see genome-assembly\u002Fmetagenome-assembly.\ntool_type: mixed\nprimary_tool: decontam\nsource: \"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills\"\nsource_repository: \"GPTomics\u002FbioSkills\"\nsource_path: \"metagenomics\u002Fcontamination-controls\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n\n## Version Compatibility\n\nReference examples tested with: decontam 1.22+, Hostile 1.1+, Bowtie2 2.5+, Nonpareil 3.4+, pandas 2.2+, R 4.3+.\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- R: `packageVersion('decontam')` then `?isContaminant` to verify parameters\n- CLI: `hostile --version`, `nonpareil -h` to confirm flags and indexes\n- Python: `pip show \u003Cpackage>` then `help(module.function)` to check signatures\n\nIf code throws ImportError, AttributeError, or TypeError, introspect the installed\npackage and adapt the example to match the actual API rather than retrying.\n\nThe controls define the result: an extraction blank defines the kitome for its batch\u002Flot, a mock community defines the limit of detection and the extraction-lysis bias, and the host reference (prefer T2T-CHM13 over GRCh38) defines what host is removed. Record the extraction kit and lot, the host index, the blanks, the mock version (whole-cell vs DNA), and the reads removed at each step.\n\n# Contamination Controls\n\n**\"Is this signal real, or did my pipeline create it?\"** -> Remove host reads, define the kitome with blanks, validate with a mock, and confirm depth - because a low-biomass community can be entirely reagent contamination.\n- R: `decontam::isContaminant(seqtab, conc=, neg=, method='combined')` on the classifier output table\n- CLI: `hostile clean --fastq1 R1.fq.gz --fastq2 R2.fq.gz --index human-t2t-hla`\n\nScope: sample-level pre-analysis cleanup and controls - host depletion, kitome\u002Fblank\u002Fmock controls, decontam, depth adequacy. Adapter\u002Fquality trimming mechanics -> read-qc\u002Fadapter-trimming, read-qc\u002Fquality-filtering. MAG-level decontamination (CheckM2\u002FGUNC chimerism, FCS-GX foreign sequence) -> genome-assembly\u002Fmetagenome-assembly - a different, genome-level problem. Classification -> kraken-classification, metaphlan-profiling.\n\n## The Single Most Important Modern Insight -- A Metagenomic Result Is a Position in a Choice-Chain\n\nA metagenomic profile is the product of a chain of choices - extraction, host\u002Fcontaminant depletion, depth, read-vs-assembly, classifier, database, normalization - and each link silently sets what is observable. The community is never observed directly; the report is the community as refracted by this pipeline. Three consequences a newcomer misses:\n\n1. **There is no raw truth to recover.** Even the input DNA is already a biased sample of the cells (lysis bias). Cleaning the data does not get closer to the community; it changes which lens dominates. The honest framing is relative-within-a-consistent-pipeline.\n2. **Absence means not-detectable-by-this-chain.** A zero is below the depth detection limit, OR not in the database, OR lost in extraction, OR removed by depletion - almost never simple biological absence. Force the question \"which link is responsible?\" before interpreting absence.\n3. **The pipeline can manufacture the result.** In low biomass the entire community can BE the kitome; with the wrong database the profile is the database's bias; over-aggressive depletion deletes real taxa. Controls plus a consistent chain plus explicit reporting are what convert an uninterpretable number into a defensible measurement.\n\n## Extraction Is the Experiment\n\nLysis efficiency is taxon-dependent: tough-walled Gram-positives (Firmicutes, *Staphylococcus*, *Enterococcus*), endospores (*Bacillus*, *Clostridium*), acid-fast *Mycobacterium*, and fungi\u002Farchaea resist lysis and are under-represented unless bead-beating is used. Gentle\u002Fenzymatic kits inflate easy-to-lyse Gram-negatives - so a Firmicutes:Bacteroidetes shift can be an extraction artifact. Extraction had the largest effect on observed composition across 21 protocols (Costea 2017 *Nat Biotechnol* 35:1069). Use bead-beating, hold one method constant across a study, validate lysis with a whole-cell mock, and report kit and lot. Note the tradeoff: aggressive bead-beating shears DNA and hurts long-read assembly, so the best extraction depends on the read-vs-assembly choice.\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| Host-associated sample (gut, oral, skin, tissue) | host-deplete first (Hostile, T2T-CHM13) | host reads waste depth and leak false calls; also a data-sharing\u002Fethics requirement |\n| Low-biomass sample (skin, BAL, CSF, tissue, blood) | blanks + DNA quantification + decontam mandatory | the lower the biomass, the larger the kitome fraction |\n| Novel taxa claimed in low biomass | treat as kitome until proven (canonical genera) | placenta\u002Ftumor \"microbiomes\" were largely kitome |\n| Need limit of detection \u002F lysis check | run a mock (ZymoBIOMICS whole-cell) | the only sample with a known answer |\n| Is my depth enough for this question? | Nonpareil coverage curve | depth sets the detection limit; host depletion halves usable depth |\n| Confident classifier call, odd taxon | suspect a contaminated reference | confidence is not correctness if the reference is mislabeled |\n| Adapter\u002Fquality trimming | -> read-qc | this skill owns metagenomics-specific cleanup, not generic trimming |\n| MAG chimerism \u002F foreign sequence in a bin | -> genome-assembly\u002Fmetagenome-assembly | genome-level decontamination is a different problem |\n\n## Host-Read Depletion\n\n```bash\n# Hostile removes >99.5% of human reads while discarding far fewer microbial reads than naive mapping.\n# Prefer the T2T-CHM13-based index over GRCh38; high-sensitivity Bowtie2 drives removal more than the reference.\nhostile clean --fastq1 sample_R1.fq.gz --fastq2 sample_R2.fq.gz \\\n    --index human-t2t-hla --aligner bowtie2\n# Report the reads removed - it is a QC metric, not a footnote. For long reads use --aligner minimap2.\n```\n\nRemove host for two reasons: analytical (depth, false positives, runtime) and ethical (raw human-associated reads carry identifiable host genotype; depleting before deposit is increasingly required). Wet-lab depletion (saponin\u002FDNase, methyl-CpG capture) saves sequencing but adds its own bias - a genuine tradeoff.\n\n## Identify Reagent Contaminants with decontam\n\n**Goal:** Separate real low-abundance taxa from the kitome using blanks and DNA concentration.\n\n**Approach:** Run decontam on the classifier output table (taxa x samples) using the frequency signal (contaminants scale inversely with input DNA) and the prevalence signal (contaminants are enriched in blanks); raise the prevalence threshold for low biomass.\n\n```r\nlibrary(decontam)\n# seqtab: samples x taxa from the Bracken\u002FMetaPhlAn table; conc: per-sample DNA concentration; neg: TRUE for blanks.\ncontam \u003C- isContaminant(seqtab, conc = dna_conc, neg = is_blank, method = 'combined', threshold = 0.1)\n# Low-biomass studies: use the prevalence method at the more aggressive threshold 0.5, and inspect the calls.\ncontam_lowbio \u003C- isContaminant(seqtab, neg = is_blank, method = 'prevalence', threshold = 0.5, batch = batch_id)\nseqtab_clean \u003C- seqtab[, !contam$contaminant]\n```\n\ndecontam runs per batch (`batch=`) because the kitome differs by lot\u002Frun. Always inspect the called contaminants against the canonical kitome genera (*Bradyrhizobium*, *Ralstonia*, *Burkholderia*, *Pseudomonas*, *Acinetobacter*, *Sphingomonas*, *Methylobacterium*, *Stenotrophomonas*) rather than applying blindly - over-aggressive removal deletes real taxa.\n\n## Depth Adequacy\n\n```bash\n# Nonpareil estimates how much of the community's sequence space you have sampled, without assembly or a DB.\nnonpareil -s reads.fasta -T kmer -f fasta -b sample_np\n# Plot the coverage-vs-effort curve in R (Nonpareil.curve); a non-detection below the implied limit is meaningless.\n```\n\nDepth is set by the question: dominant taxa need a few million reads, rare-pathogen detection sets a limit of detection, and strain SNVs need high per-genome coverage. Host depletion can silently halve usable depth - budget for it.\n\n## Per-Method Failure Modes\n\n### Extraction bias reported as biology\n**Trigger:** a Firmicutes:Bacteroidetes shift or \"low Gram-positive\" community from a gentle-lysis kit. **Mechanism:** taxon-dependent lysis under-represents tough-walled organisms. **Symptom:** composition differences tracking the kit, not the sample. **Fix:** bead-beating, one method held constant, a whole-cell mock to prove hard taxa are lysed.\n\n### Kitome called as novel taxa in low biomass\n**Trigger:** reporting novel low-abundance taxa from skin\u002FBAL\u002Ftissue\u002Fblood without blanks. **Mechanism:** reagent DNA is a fixed dose; at low biomass it dominates the signal. **Symptom:** canonical kitome genera presented as discovery. **Fix:** extraction blanks through the full workflow, DNA quantification, decontam (prevalence + frequency), skepticism toward the kitome genera.\n\n### Absence read as biological absence\n**Trigger:** \"taxon\u002Ffunction not present\" or \"low diversity.\" **Mechanism:** detection is bounded by depth, database, extraction, and depletion. **Symptom:** a negative interpreted as biology. **Fix:** report the classified fraction and the limit of detection; state which link is responsible before interpreting absence.\n\n### Confident call from a contaminated reference\n**Trigger:** trusting a high-confidence classifier assignment. **Mechanism:** >2 million GenBank\u002FRefSeq entries carry mislabeled or chimeric sequence (Steinegger & Salzberg 2020 *Genome Biol* 21:115). **Symptom:** a confident, systematic wrong assignment (the classic stray human\u002Fvector in a microbial genome). **Fix:** treat confidence as not equal to correctness; cross-check surprising calls against a cleaner database.\n\n## Quantitative Thresholds\n\n| Threshold | Source | Rationale |\n|-----------|--------|-----------|\n| decontam threshold 0.1 default; 0.5 prevalence for low biomass | Davis 2018 *Microbiome* 6:226 | aggressive prevalence call needed when the kitome dominates |\n| >= 1 extraction blank per batch | Salter 2014 *BMC Biol* 12:87 | blanks define the kitome for that lot; more for very low biomass |\n| Hostile removes > 99.5% host | Constantinides 2023 *Bioinformatics* 39:btad728 | high host removal with low microbial loss |\n| Prefer T2T-CHM13 over GRCh38 + mask rDNA | host-removal practice | GRCh38 gaps let host reads escape; rDNA masking spares microbial reads |\n| Whole-cell vs DNA mock | mock-standard practice | whole-cell tests extraction\u002Flysis; DNA tests classifier\u002Flibrary only |\n| Nonpareil coverage before interpreting absence | Rodriguez-R 2018 *mSystems* 3:e00039-18 | a non-detection below the limit of detection is uninformative |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| decontam finds nothing useful | no blanks or DNA concentration supplied | add blanks (`neg=`) and\u002For DNA quant (`conc=`); run per batch |\n| Host removal leaves human reads | GRCh38 with gaps, low-sensitivity aligner | use a T2T-CHM13 index and high-sensitivity Bowtie2 |\n| Real microbes deleted in host removal | rDNA \u002F conserved regions not masked | mask host rDNA; check microbial reads removed |\n| Low-biomass \"novel taxon\" not reproducible | kitome | blanks + decontam; check canonical kitome genera |\n| Cross-study profiles disagree | different extraction\u002Fdepth\u002FDB chains | hold the chain constant; do not meta-analyze across links |\n\n## References\n\n- Salter SJ, Cox MJ, Turek EM, et al. 2014. Reagent and laboratory contamination can critically impact sequence-based microbiome analyses. *BMC Biol* 12:87.\n- Davis NM, Proctor DM, Holmes SP, Relman DA, Callahan BJ. 2018. Simple statistical identification and removal of contaminant sequences in marker-gene and metagenomics data. *Microbiome* 6:226.\n- Costea PI, Zeller G, Sunagawa S, et al. 2017. Towards standards for human fecal sample processing in metagenomic studies. *Nat Biotechnol* 35:1069-1076.\n- Steinegger M, Salzberg SL. 2020. Terminating contamination: large-scale search identifies more than 2,000,000 contaminated entries in GenBank. *Genome Biol* 21:115.\n- Constantinides B, Hunt M, Crook DW. 2023. Hostile: accurate decontamination of microbial host sequences. *Bioinformatics* 39:btad728.\n- Rodriguez-R LM, Gunturu S, Tiedje JM, Cole JR, Konstantinidis KT. 2018. Nonpareil 3: fast estimation of metagenomic coverage and sequence diversity. *mSystems* 3:e00039-18.\n\n## Related Skills\n\n- kraken-classification - Classification after host removal; database bias and contaminated references\n- metaphlan-profiling - Marker-gene profiling after cleanup\n- abundance-estimation - decontam runs on the classifier output abundance table\n- metagenome-visualization - Plot blanks alongside samples; depth-adequacy curves\n- read-qc\u002Fadapter-trimming - Generic adapter\u002Fquality trimming before this step\n- genome-assembly\u002Fmetagenome-assembly - MAG-level decontamination (a different, genome-level problem)\n- workflows\u002Fmetagenomics-pipeline - End-to-end pipeline with a controls\u002Fdepletion stage up front\n","## Version Compatibility\n\nReference examples tested with: decontam 1.22+, Hostile 1.1+, Bowtie2 2.5+, Nonpareil 3.4+, pandas 2.2+, R 4.3+.\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- R: `packageVersion('decontam')` then `?isContaminant` to verify parameters\n- CLI: `hostile --version`, `nonpareil -h` to confirm flags and indexes\n- Python: `pip show \u003Cpackage>` then `help(module.function)` to check signatures\n\nIf code throws ImportError, AttributeError, or TypeError, introspect the installed\npackage and adapt the example to match the actual API rather than retrying.\n\nThe controls define the result: an extraction blank defines the kitome for its batch\u002Flot, a mock community defines the limit of detection and the extraction-lysis bias, and the host reference (prefer T2T-CHM13 over GRCh38) defines what host is removed. Record the extraction kit and lot, the host index, the blanks, the mock version (whole-cell vs DNA), and the reads removed at each step.\n\n# Contamination Controls\n\n**\"Is this signal real, or did my pipeline create it?\"** -> Remove host reads, define the kitome with blanks, validate with a mock, and confirm depth - because a low-biomass community can be entirely reagent contamination.\n- R: `decontam::isContaminant(seqtab, conc=, neg=, method='combined')` on the classifier output table\n- CLI: `hostile clean --fastq1 R1.fq.gz --fastq2 R2.fq.gz --index human-t2t-hla`\n\nScope: sample-level pre-analysis cleanup and controls - host depletion, kitome\u002Fblank\u002Fmock controls, decontam, depth adequacy. Adapter\u002Fquality trimming mechanics -> read-qc\u002Fadapter-trimming, read-qc\u002Fquality-filtering. MAG-level decontamination (CheckM2\u002FGUNC chimerism, FCS-GX foreign sequence) -> genome-assembly\u002Fmetagenome-assembly - a different, genome-level problem. Classification -> kraken-classification, metaphlan-profiling.\n\n## The Single Most Important Modern Insight -- A Metagenomic Result Is a Position in a Choice-Chain\n\nA metagenomic profile is the product of a chain of choices - extraction, host\u002Fcontaminant depletion, depth, read-vs-assembly, classifier, database, normalization - and each link silently sets what is observable. The community is never observed directly; the report is the community as refracted by this pipeline. Three consequences a newcomer misses:\n\n1. **There is no raw truth to recover.** Even the input DNA is already a biased sample of the cells (lysis bias). Cleaning the data does not get closer to the community; it changes which lens dominates. The honest framing is relative-within-a-consistent-pipeline.\n2. **Absence means not-detectable-by-this-chain.** A zero is below the depth detection limit, OR not in the database, OR lost in extraction, OR removed by depletion - almost never simple biological absence. Force the question \"which link is responsible?\" before interpreting absence.\n3. **The pipeline can manufacture the result.** In low biomass the entire community can BE the kitome; with the wrong database the profile is the database's bias; over-aggressive depletion deletes real taxa. Controls plus a consistent chain plus explicit reporting are what convert an uninterpretable number into a defensible measurement.\n\n## Extraction Is the Experiment\n\nLysis efficiency is taxon-dependent: tough-walled Gram-positives (Firmicutes, *Staphylococcus*, *Enterococcus*), endospores (*Bacillus*, *Clostridium*), acid-fast *Mycobacterium*, and fungi\u002Farchaea resist lysis and are under-represented unless bead-beating is used. Gentle\u002Fenzymatic kits inflate easy-to-lyse Gram-negatives - so a Firmicutes:Bacteroidetes shift can be an extraction artifact. Extraction had the largest effect on observed composition across 21 protocols (Costea 2017 *Nat Biotechnol* 35:1069). Use bead-beating, hold one method constant across a study, validate lysis with a whole-cell mock, and report kit and lot. Note the tradeoff: aggressive bead-beating shears DNA and hurts long-read assembly, so the best extraction depends on the read-vs-assembly choice.\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| Host-associated sample (gut, oral, skin, tissue) | host-deplete first (Hostile, T2T-CHM13) | host reads waste depth and leak false calls; also a data-sharing\u002Fethics requirement |\n| Low-biomass sample (skin, BAL, CSF, tissue, blood) | blanks + DNA quantification + decontam mandatory | the lower the biomass, the larger the kitome fraction |\n| Novel taxa claimed in low biomass | treat as kitome until proven (canonical genera) | placenta\u002Ftumor \"microbiomes\" were largely kitome |\n| Need limit of detection \u002F lysis check | run a mock (ZymoBIOMICS whole-cell) | the only sample with a known answer |\n| Is my depth enough for this question? | Nonpareil coverage curve | depth sets the detection limit; host depletion halves usable depth |\n| Confident classifier call, odd taxon | suspect a contaminated reference | confidence is not correctness if the reference is mislabeled |\n| Adapter\u002Fquality trimming | -> read-qc | this skill owns metagenomics-specific cleanup, not generic trimming |\n| MAG chimerism \u002F foreign sequence in a bin | -> genome-assembly\u002Fmetagenome-assembly | genome-level decontamination is a different problem |\n\n## Host-Read Depletion\n\n```bash\n# Hostile removes >99.5% of human reads while discarding far fewer microbial reads than naive mapping.\n# Prefer the T2T-CHM13-based index over GRCh38; high-sensitivity Bowtie2 drives removal more than the reference.\nhostile clean --fastq1 sample_R1.fq.gz --fastq2 sample_R2.fq.gz \\\n    --index human-t2t-hla --aligner bowtie2\n# Report the reads removed - it is a QC metric, not a footnote. For long reads use --aligner minimap2.\n```\n\nRemove host for two reasons: analytical (depth, false positives, runtime) and ethical (raw human-associated reads carry identifiable host genotype; depleting before deposit is increasingly required). Wet-lab depletion (saponin\u002FDNase, methyl-CpG capture) saves sequencing but adds its own bias - a genuine tradeoff.\n\n## Identify Reagent Contaminants with decontam\n\n**Goal:** Separate real low-abundance taxa from the kitome using blanks and DNA concentration.\n\n**Approach:** Run decontam on the classifier output table (taxa x samples) using the frequency signal (contaminants scale inversely with input DNA) and the prevalence signal (contaminants are enriched in blanks); raise the prevalence threshold for low biomass.\n\n```r\nlibrary(decontam)\n# seqtab: samples x taxa from the Bracken\u002FMetaPhlAn table; conc: per-sample DNA concentration; neg: TRUE for blanks.\ncontam \u003C- isContaminant(seqtab, conc = dna_conc, neg = is_blank, method = 'combined', threshold = 0.1)\n# Low-biomass studies: use the prevalence method at the more aggressive threshold 0.5, and inspect the calls.\ncontam_lowbio \u003C- isContaminant(seqtab, neg = is_blank, method = 'prevalence', threshold = 0.5, batch = batch_id)\nseqtab_clean \u003C- seqtab[, !contam$contaminant]\n```\n\ndecontam runs per batch (`batch=`) because the kitome differs by lot\u002Frun. Always inspect the called contaminants against the canonical kitome genera (*Bradyrhizobium*, *Ralstonia*, *Burkholderia*, *Pseudomonas*, *Acinetobacter*, *Sphingomonas*, *Methylobacterium*, *Stenotrophomonas*) rather than applying blindly - over-aggressive removal deletes real taxa.\n\n## Depth Adequacy\n\n```bash\n# Nonpareil estimates how much of the community's sequence space you have sampled, without assembly or a DB.\nnonpareil -s reads.fasta -T kmer -f fasta -b sample_np\n# Plot the coverage-vs-effort curve in R (Nonpareil.curve); a non-detection below the implied limit is meaningless.\n```\n\nDepth is set by the question: dominant taxa need a few million reads, rare-pathogen detection sets a limit of detection, and strain SNVs need high per-genome coverage. Host depletion can silently halve usable depth - budget for it.\n\n## Per-Method Failure Modes\n\n### Extraction bias reported as biology\n**Trigger:** a Firmicutes:Bacteroidetes shift or \"low Gram-positive\" community from a gentle-lysis kit. **Mechanism:** taxon-dependent lysis under-represents tough-walled organisms. **Symptom:** composition differences tracking the kit, not the sample. **Fix:** bead-beating, one method held constant, a whole-cell mock to prove hard taxa are lysed.\n\n### Kitome called as novel taxa in low biomass\n**Trigger:** reporting novel low-abundance taxa from skin\u002FBAL\u002Ftissue\u002Fblood without blanks. **Mechanism:** reagent DNA is a fixed dose; at low biomass it dominates the signal. **Symptom:** canonical kitome genera presented as discovery. **Fix:** extraction blanks through the full workflow, DNA quantification, decontam (prevalence + frequency), skepticism toward the kitome genera.\n\n### Absence read as biological absence\n**Trigger:** \"taxon\u002Ffunction not present\" or \"low diversity.\" **Mechanism:** detection is bounded by depth, database, extraction, and depletion. **Symptom:** a negative interpreted as biology. **Fix:** report the classified fraction and the limit of detection; state which link is responsible before interpreting absence.\n\n### Confident call from a contaminated reference\n**Trigger:** trusting a high-confidence classifier assignment. **Mechanism:** >2 million GenBank\u002FRefSeq entries carry mislabeled or chimeric sequence (Steinegger & Salzberg 2020 *Genome Biol* 21:115). **Symptom:** a confident, systematic wrong assignment (the classic stray human\u002Fvector in a microbial genome). **Fix:** treat confidence as not equal to correctness; cross-check surprising calls against a cleaner database.\n\n## Quantitative Thresholds\n\n| Threshold | Source | Rationale |\n|-----------|--------|-----------|\n| decontam threshold 0.1 default; 0.5 prevalence for low biomass | Davis 2018 *Microbiome* 6:226 | aggressive prevalence call needed when the kitome dominates |\n| >= 1 extraction blank per batch | Salter 2014 *BMC Biol* 12:87 | blanks define the kitome for that lot; more for very low biomass |\n| Hostile removes > 99.5% host | Constantinides 2023 *Bioinformatics* 39:btad728 | high host removal with low microbial loss |\n| Prefer T2T-CHM13 over GRCh38 + mask rDNA | host-removal practice | GRCh38 gaps let host reads escape; rDNA masking spares microbial reads |\n| Whole-cell vs DNA mock | mock-standard practice | whole-cell tests extraction\u002Flysis; DNA tests classifier\u002Flibrary only |\n| Nonpareil coverage before interpreting absence | Rodriguez-R 2018 *mSystems* 3:e00039-18 | a non-detection below the limit of detection is uninformative |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| decontam finds nothing useful | no blanks or DNA concentration supplied | add blanks (`neg=`) and\u002For DNA quant (`conc=`); run per batch |\n| Host removal leaves human reads | GRCh38 with gaps, low-sensitivity aligner | use a T2T-CHM13 index and high-sensitivity Bowtie2 |\n| Real microbes deleted in host removal | rDNA \u002F conserved regions not masked | mask host rDNA; check microbial reads removed |\n| Low-biomass \"novel taxon\" not reproducible | kitome | blanks + decontam; check canonical kitome genera |\n| Cross-study profiles disagree | different extraction\u002Fdepth\u002FDB chains | hold the chain constant; do not meta-analyze across links |\n\n## References\n\n- Salter SJ, Cox MJ, Turek EM, et al. 2014. Reagent and laboratory contamination can critically impact sequence-based microbiome analyses. *BMC Biol* 12:87.\n- Davis NM, Proctor DM, Holmes SP, Relman DA, Callahan BJ. 2018. Simple statistical identification and removal of contaminant sequences in marker-gene and metagenomics data. *Microbiome* 6:226.\n- Costea PI, Zeller G, Sunagawa S, et al. 2017. Towards standards for human fecal sample processing in metagenomic studies. *Nat Biotechnol* 35:1069-1076.\n- Steinegger M, Salzberg SL. 2020. Terminating contamination: large-scale search identifies more than 2,000,000 contaminated entries in GenBank. *Genome Biol* 21:115.\n- Constantinides B, Hunt M, Crook DW. 2023. Hostile: accurate decontamination of microbial host sequences. *Bioinformatics* 39:btad728.\n- Rodriguez-R LM, Gunturu S, Tiedje JM, Cole JR, Konstantinidis KT. 2018. Nonpareil 3: fast estimation of metagenomic coverage and sequence diversity. *mSystems* 3:e00039-18.\n\n## Related Skills\n\n- kraken-classification - Classification after host removal; database bias and contaminated references\n- metaphlan-profiling - Marker-gene profiling after cleanup\n- abundance-estimation - decontam runs on the classifier output abundance table\n- metagenome-visualization - Plot blanks alongside samples; depth-adequacy curves\n- read-qc\u002Fadapter-trimming - Generic adapter\u002Fquality trimming before this step\n- genome-assembly\u002Fmetagenome-assembly - MAG-level decontamination (a different, genome-level problem)\n- workflows\u002Fmetagenomics-pipeline - End-to-end pipeline with a controls\u002Fdepletion stage up front\n",{"name":5,"source":24,"license":15,"tool_type":25,"description":7,"imported_at":26,"source_path":27,"primary_tool":28,"source_repository":29},"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills","mixed","2026-09-20","metagenomics\u002Fcontamination-controls\u002FSKILL.md","decontam","GPTomics\u002FbioSkills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fbiology\u002Fbio-metagenomics-contamination-controls","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-metagenomics-contamination-controls",{"tool":42,"command":43},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-metagenomics-contamination-controls",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-metagenomics-contamination-controls","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-metagenomics-contamination-controls\u002FSKILL.md",true,[50,56,62,66],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"examples\u002Fdecontam_contaminants.R","OTHER","其他",1679,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-metagenomics-contamination-controls\u002Fexamples\u002Fdecontam_contaminants.R",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"examples\u002Fflag_kitome.py","SCRIPT","脚本",3084,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-metagenomics-contamination-controls\u002Fexamples\u002Fflag_kitome.py",{"path":63,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":64,"sourceHtmlUrl":65},"examples\u002Fhost_depletion.sh",1164,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-metagenomics-contamination-controls\u002Fexamples\u002Fhost_depletion.sh",{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"usage-guide.md","REFERENCE","参考文档",4477,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-metagenomics-contamination-controls\u002Fusage-guide.md",[73,81,88,95,102,109],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":80},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":80},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":80},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":80},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":80},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":80},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]