[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EDGGSECG3ZRGT9JMZWF5WS":3,"skill-same:01M7EDGGSECG3ZRGT9JMZWF5WS":66},{"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},"01M7EDGGSECG3ZRGT9JMZWF5WS","bio-genome-assembly-contamination-detection",null,"Detects and removes contamination in genome assemblies via two disjoint workflows - foreign-sequence screening of a single-organism (eukaryote\u002Fisolate) assembly with NCBI FCS-GX (GenBank-submission-mandatory), FCS-adaptor, and BlobToolKit blob plots; and MAG\u002Fbin quality assessment with CheckM2 plus GUNC (chimerism) plus GTDB-Tk taxonomy, judged against MIMAG. Covers why CheckM2 alone is blind to disjoint-marker chimeras, the FCS-GX RAM wall, organelle\u002FNUMT triage, strain heterogeneity, and the HGT-vs-contamination (tardigrade) trap. Use when screening an assembly for foreign contamination before GenBank submission, assessing MAG completeness\u002Fcontamination\u002Fchimerism, deciding which contigs to remove, or distinguishing real HGT from contaminant contigs.","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-genome-assembly-contamination-detection\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bio-genome-assembly-contamination-detection\ndescription: Detects and removes contamination in genome assemblies via two disjoint workflows - foreign-sequence screening of a single-organism (eukaryote\u002Fisolate) assembly with NCBI FCS-GX (GenBank-submission-mandatory), FCS-adaptor, and BlobToolKit blob plots; and MAG\u002Fbin quality assessment with CheckM2 plus GUNC (chimerism) plus GTDB-Tk taxonomy, judged against MIMAG. Covers why CheckM2 alone is blind to disjoint-marker chimeras, the FCS-GX RAM wall, organelle\u002FNUMT triage, strain heterogeneity, and the HGT-vs-contamination (tardigrade) trap. Use when screening an assembly for foreign contamination before GenBank submission, assessing MAG completeness\u002Fcontamination\u002Fchimerism, deciding which contigs to remove, or distinguishing real HGT from contaminant contigs.\ntool_type: cli\nprimary_tool: CheckM2\nsource: \"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills\"\nsource_repository: \"GPTomics\u002FbioSkills\"\nsource_path: \"genome-assembly\u002Fcontamination-detection\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n\n## Version Compatibility\n\nReference examples tested with: FCS-GX 0.5+, FCS-adaptor 0.5+, BlobToolKit 4.3+, CheckM2 1.0+, GUNC 1.0+, GTDB-Tk 2.4+, pandas 2.2+.\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- CLI: `\u003Ctool> --version` then `\u003Ctool> --help` to confirm flags\n- Python: `pip show \u003Cpackage>` then `help(module.function)` to check signatures\n\nDatabase release drives results more than the binary version. Record: the **FCS-GX GX database** release (it grows each release; ~470 GiB and rising), the **CheckM2 DIAMOND DB** version, the **GUNC reference** (proGenomes 2.1 default vs GTDB), and the **GTDB-Tk reference package release** (e.g. R220) - GTDB-Tk fails loudly if the DB release does not match the binary. If code throws an error, introspect the installed tool and adapt rather than retrying.\n\n# Contamination Detection\n\n**\"Is my assembly contaminated?\"** -> First decide which of two unrelated questions is being asked - \"which contigs are not my organism?\" (foreign-sequence screen) or \"how complete\u002Fclean\u002Fchimeric is this bin?\" (MAG quality) - then run the matching toolset; crossing them returns confidently wrong numbers.\n- CLI (foreign): `run_fcsadaptor.sh` then `fcs.py screen genome --fasta asm.fa --gx-db \u003Cdb> --tax-id \u003Ctaxid>`, `blobtools create\u002Fadd\u002Fview`\n- CLI (MAG): `checkm2 predict -i bins\u002F -o out\u002F` AND `gunc run -d bins\u002F -o out\u002F`, `gtdbtk classify_wf`\n\n## The Single Most Important Modern Insight -- \"Contamination\" Is Two Disjoint Problems With Disjoint Toolsets\n\nThere is no single \"contamination\" measurement. There are two questions that share a word and almost nothing else, and applying one toolset to the other problem runs to completion and prints a plausible, meaningless number.\n\n1. **Foreign sequence in a single-organism assembly** (a eukaryotic nuclear genome or a cultured isolate with bacterial\u002Fhuman\u002Fvector contigs in it). The question is *which contigs are not my target organism?* Answer = a **set of contigs to remove, trim, or split out**. Tools: **NCBI FCS-GX** + **FCS-adaptor** (now GenBank-submission-mandatory), **BlobToolKit** (the GC x coverage x taxonomy blob plot). There is no \"contamination %\".\n\n2. **MAG\u002Fbin quality** (a bin recovered from a metagenome). The question is *how complete is this bin and how much is from other organisms?* Answer = a **percentage pair** (completeness %, contamination %) plus a chimerism verdict, judged against **MIMAG**. Tools: **CheckM2** + **GUNC** together, **GTDB-Tk** for taxonomy.\n\n**The cardinal category error:** running CheckM2\u002FCheckM on a eukaryotic nuclear assembly (its bacterial\u002Farchaeal marker sets are meaningless for a eukaryote - eukaryote completeness is BUSCO; see assembly-qc), or running FCS-GX on a single MAG and reading the flagged-length fraction as \"the MIMAG contamination %\". Both wrong applications complete silently and emit a number. The only defense is knowing which question each tool answers.\n\n**The second load-bearing fact - CheckM2 and GUNC are blind to different things, so report the pair, never the % alone.** CheckM2 estimates contamination from **marker-gene redundancy** (a single-copy marker seen twice = contamination signal). A **chimera of two organisms with disjoint marker complements** - organism A contributed markers 1-60, organism B markers 61-120 - shows *no* duplicated markers, so CheckM2 reports low contamination while the bin is biological nonsense. GUNC catches exactly this, because it scores whether taxonomic signal is *consistent across contigs* (clade separation score), not marker counts. Neither is a superset of the other.\n\n## Tool Taxonomy\n\n| Tool | Citation | Role | Problem |\n|------|----------|------|---------|\n| FCS-adaptor | Astashyn 2024 *Genome Biol* | adaptor\u002Fvector screen (VecScreen successor); tiny DB, trivial RAM | foreign (run FIRST) |\n| FCS-GX | Astashyn 2024 *Genome Biol* | cross-taxon foreign-sequence screen vs a declared tax-id; GenBank-mandatory | foreign |\n| BlobToolKit | Challis 2020 *G3* | GC x coverage x taxonomy blob plot for visual triage; the maintained successor to BlobTools | foreign |\n| tiara | Karlicki 2022 *Bioinformatics* | deep-learning euk\u002Fprok\u002Forganelle\u002Fplastid\u002Fmito contig classifier (alignment-free) | foreign \u002F organelle partitioning |\n| CheckM2 | Chklovski 2023 *Nat Methods* | ML completeness + contamination (lineage-agnostic; handles novel\u002Freduced lineages) | MAG (default) |\n| CheckM (legacy) | Parks 2015 *Genome Res* | lineage-specific collocated markers on a placement tree; reports Strain heterogeneity | MAG (legacy; slow, ~40 GB RAM) |\n| GUNC | Orakov 2021 *Genome Biol* | taxonomic-chimerism detection via clade separation score (CSS) | MAG (run WITH CheckM2) |\n| GTDB-Tk | Chaumeil 2020 *Bioinformatics* | GTDB taxonomic classification of bacterial\u002Farchaeal genomes | MAG taxonomy |\n\nBlobTools (Laetsch & Blaxter 2017 *F1000Res*) and CheckM are the legacy predecessors; BlobToolKit and CheckM2 are the maintained defaults. CAT\u002FBAT (contig taxonomy) and MAGpurify (reference-free MAG cleaning) exist but are secondary; RefineM is deprecated by its author (use GUNC + manual curation, or MDMcleaner for SAGs\u002Fdark-matter lineages).\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| Eukaryotic nuclear assembly headed for GenBank | FCS-adaptor -> FCS-GX (mandatory) -> BlobToolKit for triage | submission bounces without a clean FCS screen |\n| Cultured bacterial\u002Farchaeal isolate | FCS-GX + FCS-adaptor; CheckM2 as a completeness sanity check | an isolate should be ~100% complete, low contam |\n| MAG(s) binned from a metagenome | CheckM2 AND GUNC together; score vs MIMAG; GTDB-Tk for taxonomy | the % pair plus the orthogonal chimerism verdict |\n| Unbinned metagenome | bin first (-> metagenome-assembly), THEN CheckM2 + GUNC per bin | CheckM2\u002FGUNC consume bins, do not make them |\n| Eukaryotic contigs mixed into a metagenome | tiara \u002F Whokaryote \u002F EukRep to partition euk from prok | CheckM2 markers are prokaryote-only |\n| Organellar (mito\u002Fchloroplast) contigs in a nuclear assembly | tiara organelle classes + coverage spike -> separate, do NOT delete | organelles are real biology; submit as own record |\n| Foreign-looking gene embedded in a host scaffold | investigate integration (-> comparative-genomics) before removing | could be real HGT\u002Fendosymbiont, not contamination |\n| Read-level host removal before assembly | -> read-qc\u002Fcontamination-screening, metagenomics\u002Fkraken-classification | this skill screens assembled sequence, not reads |\n| ANI\u002Fspecies placement of the cleaned genome | -> comparative-genomics\u002Fgenome-distance-and-species-delineation | taxonomy after decontamination |\n\n## FCS-adaptor (Run First - Cheap and Unambiguous)\n\n```bash\n# Adaptor\u002Fvector screen; tiny DB, trivial RAM. --euk or --prok for the lineage.\nrun_fcsadaptor.sh --fasta-input assembly.fa.gz --output-dir .\u002Fadaptor_out --euk\n```\n\nAdaptor and vector hits are unambiguous - always trim or exclude. Running adaptor first removes the obvious junk and shrinks the input before the expensive GX pass.\n\n## FCS-GX (The GenBank-Mandatory Foreign Screen)\n\n```bash\n# Screen against the GX database; --tax-id is the NCBI taxid of the SOURCE organism.\npython3 .\u002Ffcs.py screen genome --fasta assembly.fa.gz --out-dir .\u002Fgx_out\u002F \\\n    --gx-db \"$GXDB_LOC\u002Fgxdb\" --tax-id 9606\n\n# Apply ONLY the auto-clean actions (EXCLUDE\u002FTRIM\u002FFIX) to produce a cleaned FASTA.\nzcat assembly.fa.gz | python3 .\u002Ffcs.py clean genome \\\n    --action-report .\u002Fgx_out\u002Fassembly.fa.9606.fcs_gx_report.txt \\\n    --output clean.fasta --contam-fasta-out contam.fasta\n```\n\nThe action report (`\u003Cname>.\u003Ctaxid>.fcs_gx_report.txt`, where `\u003Cname>` keeps the input name minus only `.gz` - e.g. `assembly.fa.gz` -> `assembly.fa.9606.fcs_gx_report.txt`) assigns each flagged region an action: **EXCLUDE** (drop the whole sequence), **TRIM** (remove a contaminated end), **FIX** (hard-mask an internal span), or **REVIEW** (flagged but NOT auto-cleaned - manual inspection required). A separate **INFO** action specifically marks sequence known to be integrated into host genomes (e.g. endosymbiont insertions). `clean genome` acts on EXCLUDE\u002FTRIM\u002FFIX only; it does **not** touch REVIEW or INFO. Those non-auto-cleaned tiers exist precisely because FCS-GX can flag legitimate HGT\u002Fendosymbiont sequence as contaminant - never bulk-delete every flagged contig without reading the report.\n\n**The RAM wall (an operational, cloud-forcing fact).** The GX database is ~470 GiB on disk and the documented sweet spot is a **~512 GiB-RAM** host. Underprovisioned, the run does not fail - it crawls (minutes become days when the DB spills out of RAM). Best practice copies the DB into a tmpfs RAM disk; most labs rent a high-memory cloud VM for the screen. The first question before advising FCS-GX is \"is there ~1\u002F2 TB RAM or a cloud budget?\".\n\n## BlobToolKit (The Blob Plot - Visual Triage)\n\n```bash\nblobtools create --fasta assembly.fasta .\u002FBlobDir\nblobtools add --hits diamond.out --taxrule bestsumorder --taxdump \u002Fpath\u002Ftaxdump \\\n    --cov mapping.bam .\u002FBlobDir\nblobtools view --remote .\u002FBlobDir   # interactive viewer; GC(x) vs coverage(y), sized by length, colored by taxonomy\n```\n\nEach contig is plotted by **GC fraction (x)** vs **coverage (y)**, sized by length, colored by best-hit taxonomy. The target organism forms one tight GC x coverage cloud; a free-living contaminant grows independently and forms its own cloud at a *different* GC *and* a *different* coverage. Inputs: a hit file (BLAST\u002FDIAMOND vs nt\u002FUniProt), a coverage BAM, and an NCBI taxdump. `blobtools filter` can extract or drop by taxon - but see the failure mode below before doing so.\n\n## Merge CheckM2 and GUNC\n\n**Goal:** Produce the joint CheckM2 x GUNC table that is the field standard for MAG QC, so a chimera invisible to CheckM2 is not reported as clean.\n\n**Approach:** Load both reports, join on genome name, and apply MIMAG thresholds AND the GUNC pass flag together; never gate on contamination % alone.\n\n```python\nimport pandas as pd\n\nCONTAM_HQ = 5      # MIMAG high-quality: contamination \u003C 5% (Bowers 2017); above this, gene-content inference is unreliable\nCOMPLETE_HQ = 90   # MIMAG high-quality: completeness > 90%\nRRS_TRUST = 0.5    # GUNC pass is trustworthy only when reference_representation_score > 0.5; below it 'pass' means 'can't tell'\n\ncheckm = pd.read_csv('checkm2_out\u002Fquality_report.tsv', sep='\\t')\ngunc = pd.read_csv('gunc_out\u002FGUNC.progenomes_2.1.maxCSS_level.tsv', sep='\\t')\nmerged = checkm.merge(gunc, left_on='Name', right_on='genome', how='left')\n\nmerged['gunc_trustworthy'] = merged['reference_representation_score'] > RRS_TRUST\nmerged['high_quality'] = ((merged['Completeness'] > COMPLETE_HQ) &\n                          (merged['Contamination'] \u003C CONTAM_HQ) &\n                          (merged['pass.GUNC'] == True) &\n                          merged['gunc_trustworthy'])\nmerged.to_csv('combined_qc.tsv', sep='\\t', index=False)\n```\n\nCheckM2 also runs as `checkm2 predict -i bins\u002F -o checkm2_out --threads 16 -x fa` (downloads its own DIAMOND DB), and GUNC as `gunc run -d bins\u002F -o gunc_out -t 16 -e .fa` against a downloaded reference (`gunc download_db`). GTDB-Tk taxonomy is `gtdbtk classify_wf --genome_dir bins\u002F --out_dir gtdbtk_out -x fa --cpus 16`.\n\n## GUNC and the RRS Trap\n\n`pass.GUNC = TRUE` at **CSS \u003C= 0.45** is not a clean bill of health when `reference_representation_score` (RRS) is low. Low RRS means the genome is barely represented in GUNC's reference DB - there is not enough signal to *detect* chimerism, so \"pass\" degenerates into \"can't tell, not clean\". For genuinely novel lineages (microbial dark matter), a GUNC pass is weak evidence; trust it only when RRS > 0.5, and otherwise lean on manual contig inspection or MDMcleaner. Read the configurations: CheckM2-high-contam + GUNC-pass = duplicative contamination within one lineage; CheckM2-low-contam + GUNC-fail = the dangerous disjoint-marker chimera; both pass with high RRS = the only \"clean\" verdict.\n\n## The Tardigrade Lesson (HGT vs Contamination)\n\nBoothby 2015 (*PNAS* 112:15976) reported ~17% of tardigrade genes arrived by horizontal gene transfer; Koutsovoulos 2016 (*PNAS* 113:5053) showed almost all of it was undetected bacterial contamination in the assembly, dropping real HGT to ~1-2%. The original paper was **corrected, not retracted** - it stands as a cautionary monument. A foreign-looking gene has two explanations the *sequence alone cannot distinguish*: a contaminant contig, or a real HGT\u002Fendosymbiont gene integrated into the host genome. **The tell is physical integration, not taxonomy.** A real HGT gene sits *on a host contig* (host-gene flanks, host GC, host coverage, host introns); a contaminant sits *on its own contig* (foreign GC, its own coverage cloud, prokaryotic gene structure). Deleting everything that looks bacterial manufactures the opposite of Boothby's error - erasing real biology. Require integration evidence (host flanks, host-typical GC\u002Fcoverage\u002Fintrons, long reads spanning the host->foreign junction) before keeping or stripping.\n\n## Organelles and NUMTs (A Third Category)\n\nMitochondrial and chloroplast sequence is legitimate biology that does not belong in the *nuclear* assembly record - it needs **separation, not deletion**. Deleting it loses the organelle genome (often the most-cited part of a non-model genome paper); leaving it inflates assembly size and creates fake duplicated content. Identify organellar contigs by tiara's plastid\u002Fmito classes plus a massive coverage spike and circular topology; assemble\u002Fsubmit them as their own record. The subtle trap: **NUMTs\u002FNUPTs** (nuclear-integrated organellar fragments) are *real nuclear sequence that looks organellar* - do not strip them. Coverage discriminates: free organelle = huge coverage spike; NUMT = nuclear-level coverage.\n\n## Per-Method Failure Modes\n\n### CheckM2 on a eukaryotic nuclear assembly\n**Trigger:** running CheckM\u002FCheckM2 on a vertebrate\u002Fplant\u002Finsect genome. **Mechanism:** the marker sets are bacterial\u002Farchaeal single-copy genes; a eukaryote has none of the relevant context. **Symptom:** a plausible Completeness\u002FContamination pair that is pure noise. **Fix:** use BUSCO for eukaryote completeness (-> assembly-qc); CheckM2 is for prokaryotes\u002FMAGs only.\n\n### CheckM2 contamination read as the whole story (the chimera blind spot)\n**Trigger:** \"CheckM2 says 3%, the MAG is clean.\" **Mechanism:** CheckM2 counts marker redundancy and is blind to a chimera of two organisms with disjoint marker sets. **Symptom:** a 50\u002F50 chimeric bin reported as low-contamination. **Fix:** run GUNC too; report the pair; trust a GUNC pass only when RRS > 0.5.\n\n### FCS-GX % read as MIMAG contamination\n**Trigger:** running FCS-GX on a single MAG and citing flagged-length as the contamination %. **Mechanism:** FCS-GX answers \"foreign vs declared tax-id\", not the intra-domain marker-redundancy MIMAG cares about. **Symptom:** a \"contamination %\" that means something different from CheckM2's. **Fix:** use CheckM2 for the MIMAG %; FCS-GX for foreign-sequence screening of single-organism assemblies.\n\n### Auto-stripping every FCS-GX\u002Fblob foreign hit\n**Trigger:** running `clean genome` and resubmitting, or `blobtools filter` on a whole taxon cloud, without reading the report. **Mechanism:** the screen flags legitimate HGT\u002Fendosymbiont\u002Fhost genes with conserved-domain hits. **Symptom:** a real biological finding (HGT, symbiont) deleted from the assembly. **Fix:** treat EXCLUDE on near-complete-bacterial-genome contigs as real contamination; treat foreign flags on host-integrated, host-coverage, host-flanked sequence as REVIEW-and-verify.\n\n### Trusting blob-plot taxonomy color over cluster geometry\n**Trigger:** filtering out contigs by their BLAST-hit color. **Mechanism:** best-hit taxonomy is the noisiest axis - conserved domains (ribosomal proteins, HSP70) hit foreign taxa, and no-hit != contaminant. **Symptom:** real host genes deleted; large no-hit fractions panic-removed. **Fix:** decide on cluster geometry - off the main cloud on GC *and* coverage *and* consistent foreign taxonomy; coverage is the strongest single signal.\n\n### Strain heterogeneity misread as contamination\n**Trigger:** high CheckM contamination on a MAG with co-binned conspecific strains. **Mechanism:** near-identical single-copy markers from multiple strains register as duplicated. **Symptom:** inflated contamination % for what is one species' population. **Fix:** read CheckM's Strain heterogeneity column; high strain-heterogeneity = look closer (not ignore); GUNC + the strain flag disambiguate foreign-mixing from strain-mixing from duplication.\n\n## Quantitative Thresholds\n\n| Threshold | Source | Rationale |\n|-----------|--------|-----------|\n| MIMAG high-quality MAG: completeness > 90% AND contamination \u003C 5% | Bowers 2017 *Nat Biotechnol* | above 5% contam, gene-content\u002Fmetabolic inference is unreliable |\n| MIMAG medium-quality: completeness >= 50% AND contamination \u003C 10% | Bowers 2017 *Nat Biotechnol* | community-standard MQ floor |\n| MIMAG HQ also requires 5S\u002F16S\u002F23S rRNA + >= 18 tRNAs | Bowers 2017 *Nat Biotechnol* | binners systematically lose rRNA; the most common reason a >90%\u002F\u003C5% MAG is only MQ |\n| GUNC pass: CSS \u003C= 0.45 | Orakov 2021 *Genome Biol* | benchmarked chimera\u002Fnon-chimera cutoff; orthogonal to the % pair |\n| GUNC pass trustworthy only when RRS > 0.5 | Orakov 2021 *Genome Biol* \u002F GUNC docs | low RRS = too poorly represented to judge; pass means \"can't tell\" |\n| Blob-plot contaminant call needs GC AND coverage AND taxonomy agreement | Laetsch & Blaxter 2017; field practice | any single axis alone is a false-positive generator |\n| FCS-GX GX DB ~470 GiB, ~512 GiB RAM host | NCBI FCS wiki (grows per release) | underprovisioned = crawls, not fails; cloud-forcing |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| CheckM2 prints a Completeness\u002FContamination on a eukaryote | wrong tool for the organism | BUSCO for eukaryotes; CheckM2 is prokaryote\u002FMAG only |\n| \"Clean\" MAG (3% contam) is actually a chimera | CheckM2 blind to disjoint-marker chimeras | run GUNC; report the pair |\n| GenBank submission bounced | FCS-GX\u002FFCS-adaptor not run before submission | screen with FCS-adaptor then FCS-GX first |\n| FCS-GX takes days | GX DB spilled out of RAM | provision ~512 GiB \u002F tmpfs RAM disk \u002F cloud VM |\n| GTDB-Tk crashes on startup | DB release does not match the binary | install the reference package matching the GTDB-Tk version |\n| Real HGT\u002Fsymbiont gene deleted | auto-cleaned or taxon-filtered without review | check physical integration (host flanks\u002FGC\u002Fcoverage) before removal |\n| Organelle genome lost | deleted as \"contamination\" | separate organellar contigs (coverage spike); submit as own record |\n\n## References\n\n- Astashyn A, et al. 2024. Rapid and sensitive detection of genome contamination at scale with FCS-GX. *Genome Biol* 25:60.\n- Chklovski A, et al. 2023. CheckM2: a rapid, scalable and accurate tool for assessing microbial genome quality using machine learning. *Nat Methods* 20:1203-1212.\n- Parks DH, et al. 2015. CheckM: assessing the quality of microbial genomes recovered from isolates, single cells, and metagenomes. *Genome Res* 25:1043-1055.\n- Orakov A, et al. 2021. GUNC: detection of chimerism and contamination in prokaryotic genomes. *Genome Biol* 22:178.\n- Bowers RM, et al. 2017. Minimum information about a single amplified genome (MISAG) and a metagenome-assembled genome (MIMAG) of bacteria and archaea. *Nat Biotechnol* 35:725-731.\n- Chaumeil PA, et al. 2020. GTDB-Tk: a toolkit to classify genomes with the Genome Taxonomy Database. *Bioinformatics* 36:1925-1927.\n- Challis R, et al. 2020. BlobToolKit - interactive quality assessment of genome assemblies. *G3 (Bethesda)* 10:1361-1374.\n- Laetsch DR, Blaxter ML. 2017. BlobTools: interrogation of genome assemblies. *F1000Research* 6:1287.\n- Karlicki M, Antonowicz S, Karnkowska A. 2022. Tiara: deep learning-based classification system for eukaryotic sequences. *Bioinformatics* 38:344-350.\n- Boothby TC, et al. 2015. Evidence for extensive horizontal gene transfer from the draft genome of a tardigrade. *PNAS* 112:15976-15981.\n- Koutsovoulos G, et al. 2016. No evidence for extensive horizontal gene transfer in the genome of the tardigrade Hypsibius dujardini. *PNAS* 113:5053-5058.\n\n## Related Skills\n\n- assembly-qc - BUSCO completeness for eukaryotes (not CheckM2) and the QC handoff\n- metagenome-assembly - Binning produces the bins this skill scores with CheckM2 + GUNC\n- hifi-assembly - False duplications inflate apparent content; distinct from contamination\n- long-read-assembly - Produces the contigs screened here for foreign sequence\n- metagenomics\u002Fkraken-classification - Read\u002Fcontig taxonomic classification and pre-assembly host screening\n- comparative-genomics\u002Fgenome-distance-and-species-delineation - ANI\u002Fspecies placement after decontamination\n- workflows\u002Fgenome-assembly-pipeline - End-to-end assemble -> QC -> decontaminate\n","## Version Compatibility\n\nReference examples tested with: FCS-GX 0.5+, FCS-adaptor 0.5+, BlobToolKit 4.3+, CheckM2 1.0+, GUNC 1.0+, GTDB-Tk 2.4+, pandas 2.2+.\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- CLI: `\u003Ctool> --version` then `\u003Ctool> --help` to confirm flags\n- Python: `pip show \u003Cpackage>` then `help(module.function)` to check signatures\n\nDatabase release drives results more than the binary version. Record: the **FCS-GX GX database** release (it grows each release; ~470 GiB and rising), the **CheckM2 DIAMOND DB** version, the **GUNC reference** (proGenomes 2.1 default vs GTDB), and the **GTDB-Tk reference package release** (e.g. R220) - GTDB-Tk fails loudly if the DB release does not match the binary. If code throws an error, introspect the installed tool and adapt rather than retrying.\n\n# Contamination Detection\n\n**\"Is my assembly contaminated?\"** -> First decide which of two unrelated questions is being asked - \"which contigs are not my organism?\" (foreign-sequence screen) or \"how complete\u002Fclean\u002Fchimeric is this bin?\" (MAG quality) - then run the matching toolset; crossing them returns confidently wrong numbers.\n- CLI (foreign): `run_fcsadaptor.sh` then `fcs.py screen genome --fasta asm.fa --gx-db \u003Cdb> --tax-id \u003Ctaxid>`, `blobtools create\u002Fadd\u002Fview`\n- CLI (MAG): `checkm2 predict -i bins\u002F -o out\u002F` AND `gunc run -d bins\u002F -o out\u002F`, `gtdbtk classify_wf`\n\n## The Single Most Important Modern Insight -- \"Contamination\" Is Two Disjoint Problems With Disjoint Toolsets\n\nThere is no single \"contamination\" measurement. There are two questions that share a word and almost nothing else, and applying one toolset to the other problem runs to completion and prints a plausible, meaningless number.\n\n1. **Foreign sequence in a single-organism assembly** (a eukaryotic nuclear genome or a cultured isolate with bacterial\u002Fhuman\u002Fvector contigs in it). The question is *which contigs are not my target organism?* Answer = a **set of contigs to remove, trim, or split out**. Tools: **NCBI FCS-GX** + **FCS-adaptor** (now GenBank-submission-mandatory), **BlobToolKit** (the GC x coverage x taxonomy blob plot). There is no \"contamination %\".\n\n2. **MAG\u002Fbin quality** (a bin recovered from a metagenome). The question is *how complete is this bin and how much is from other organisms?* Answer = a **percentage pair** (completeness %, contamination %) plus a chimerism verdict, judged against **MIMAG**. Tools: **CheckM2** + **GUNC** together, **GTDB-Tk** for taxonomy.\n\n**The cardinal category error:** running CheckM2\u002FCheckM on a eukaryotic nuclear assembly (its bacterial\u002Farchaeal marker sets are meaningless for a eukaryote - eukaryote completeness is BUSCO; see assembly-qc), or running FCS-GX on a single MAG and reading the flagged-length fraction as \"the MIMAG contamination %\". Both wrong applications complete silently and emit a number. The only defense is knowing which question each tool answers.\n\n**The second load-bearing fact - CheckM2 and GUNC are blind to different things, so report the pair, never the % alone.** CheckM2 estimates contamination from **marker-gene redundancy** (a single-copy marker seen twice = contamination signal). A **chimera of two organisms with disjoint marker complements** - organism A contributed markers 1-60, organism B markers 61-120 - shows *no* duplicated markers, so CheckM2 reports low contamination while the bin is biological nonsense. GUNC catches exactly this, because it scores whether taxonomic signal is *consistent across contigs* (clade separation score), not marker counts. Neither is a superset of the other.\n\n## Tool Taxonomy\n\n| Tool | Citation | Role | Problem |\n|------|----------|------|---------|\n| FCS-adaptor | Astashyn 2024 *Genome Biol* | adaptor\u002Fvector screen (VecScreen successor); tiny DB, trivial RAM | foreign (run FIRST) |\n| FCS-GX | Astashyn 2024 *Genome Biol* | cross-taxon foreign-sequence screen vs a declared tax-id; GenBank-mandatory | foreign |\n| BlobToolKit | Challis 2020 *G3* | GC x coverage x taxonomy blob plot for visual triage; the maintained successor to BlobTools | foreign |\n| tiara | Karlicki 2022 *Bioinformatics* | deep-learning euk\u002Fprok\u002Forganelle\u002Fplastid\u002Fmito contig classifier (alignment-free) | foreign \u002F organelle partitioning |\n| CheckM2 | Chklovski 2023 *Nat Methods* | ML completeness + contamination (lineage-agnostic; handles novel\u002Freduced lineages) | MAG (default) |\n| CheckM (legacy) | Parks 2015 *Genome Res* | lineage-specific collocated markers on a placement tree; reports Strain heterogeneity | MAG (legacy; slow, ~40 GB RAM) |\n| GUNC | Orakov 2021 *Genome Biol* | taxonomic-chimerism detection via clade separation score (CSS) | MAG (run WITH CheckM2) |\n| GTDB-Tk | Chaumeil 2020 *Bioinformatics* | GTDB taxonomic classification of bacterial\u002Farchaeal genomes | MAG taxonomy |\n\nBlobTools (Laetsch & Blaxter 2017 *F1000Res*) and CheckM are the legacy predecessors; BlobToolKit and CheckM2 are the maintained defaults. CAT\u002FBAT (contig taxonomy) and MAGpurify (reference-free MAG cleaning) exist but are secondary; RefineM is deprecated by its author (use GUNC + manual curation, or MDMcleaner for SAGs\u002Fdark-matter lineages).\n\n## Decision Tree by Scenario\n\n| Scenario | Recommended | Why |\n|----------|-------------|-----|\n| Eukaryotic nuclear assembly headed for GenBank | FCS-adaptor -> FCS-GX (mandatory) -> BlobToolKit for triage | submission bounces without a clean FCS screen |\n| Cultured bacterial\u002Farchaeal isolate | FCS-GX + FCS-adaptor; CheckM2 as a completeness sanity check | an isolate should be ~100% complete, low contam |\n| MAG(s) binned from a metagenome | CheckM2 AND GUNC together; score vs MIMAG; GTDB-Tk for taxonomy | the % pair plus the orthogonal chimerism verdict |\n| Unbinned metagenome | bin first (-> metagenome-assembly), THEN CheckM2 + GUNC per bin | CheckM2\u002FGUNC consume bins, do not make them |\n| Eukaryotic contigs mixed into a metagenome | tiara \u002F Whokaryote \u002F EukRep to partition euk from prok | CheckM2 markers are prokaryote-only |\n| Organellar (mito\u002Fchloroplast) contigs in a nuclear assembly | tiara organelle classes + coverage spike -> separate, do NOT delete | organelles are real biology; submit as own record |\n| Foreign-looking gene embedded in a host scaffold | investigate integration (-> comparative-genomics) before removing | could be real HGT\u002Fendosymbiont, not contamination |\n| Read-level host removal before assembly | -> read-qc\u002Fcontamination-screening, metagenomics\u002Fkraken-classification | this skill screens assembled sequence, not reads |\n| ANI\u002Fspecies placement of the cleaned genome | -> comparative-genomics\u002Fgenome-distance-and-species-delineation | taxonomy after decontamination |\n\n## FCS-adaptor (Run First - Cheap and Unambiguous)\n\n```bash\n# Adaptor\u002Fvector screen; tiny DB, trivial RAM. --euk or --prok for the lineage.\nrun_fcsadaptor.sh --fasta-input assembly.fa.gz --output-dir .\u002Fadaptor_out --euk\n```\n\nAdaptor and vector hits are unambiguous - always trim or exclude. Running adaptor first removes the obvious junk and shrinks the input before the expensive GX pass.\n\n## FCS-GX (The GenBank-Mandatory Foreign Screen)\n\n```bash\n# Screen against the GX database; --tax-id is the NCBI taxid of the SOURCE organism.\npython3 .\u002Ffcs.py screen genome --fasta assembly.fa.gz --out-dir .\u002Fgx_out\u002F \\\n    --gx-db \"$GXDB_LOC\u002Fgxdb\" --tax-id 9606\n\n# Apply ONLY the auto-clean actions (EXCLUDE\u002FTRIM\u002FFIX) to produce a cleaned FASTA.\nzcat assembly.fa.gz | python3 .\u002Ffcs.py clean genome \\\n    --action-report .\u002Fgx_out\u002Fassembly.fa.9606.fcs_gx_report.txt \\\n    --output clean.fasta --contam-fasta-out contam.fasta\n```\n\nThe action report (`\u003Cname>.\u003Ctaxid>.fcs_gx_report.txt`, where `\u003Cname>` keeps the input name minus only `.gz` - e.g. `assembly.fa.gz` -> `assembly.fa.9606.fcs_gx_report.txt`) assigns each flagged region an action: **EXCLUDE** (drop the whole sequence), **TRIM** (remove a contaminated end), **FIX** (hard-mask an internal span), or **REVIEW** (flagged but NOT auto-cleaned - manual inspection required). A separate **INFO** action specifically marks sequence known to be integrated into host genomes (e.g. endosymbiont insertions). `clean genome` acts on EXCLUDE\u002FTRIM\u002FFIX only; it does **not** touch REVIEW or INFO. Those non-auto-cleaned tiers exist precisely because FCS-GX can flag legitimate HGT\u002Fendosymbiont sequence as contaminant - never bulk-delete every flagged contig without reading the report.\n\n**The RAM wall (an operational, cloud-forcing fact).** The GX database is ~470 GiB on disk and the documented sweet spot is a **~512 GiB-RAM** host. Underprovisioned, the run does not fail - it crawls (minutes become days when the DB spills out of RAM). Best practice copies the DB into a tmpfs RAM disk; most labs rent a high-memory cloud VM for the screen. The first question before advising FCS-GX is \"is there ~1\u002F2 TB RAM or a cloud budget?\".\n\n## BlobToolKit (The Blob Plot - Visual Triage)\n\n```bash\nblobtools create --fasta assembly.fasta .\u002FBlobDir\nblobtools add --hits diamond.out --taxrule bestsumorder --taxdump \u002Fpath\u002Ftaxdump \\\n    --cov mapping.bam .\u002FBlobDir\nblobtools view --remote .\u002FBlobDir   # interactive viewer; GC(x) vs coverage(y), sized by length, colored by taxonomy\n```\n\nEach contig is plotted by **GC fraction (x)** vs **coverage (y)**, sized by length, colored by best-hit taxonomy. The target organism forms one tight GC x coverage cloud; a free-living contaminant grows independently and forms its own cloud at a *different* GC *and* a *different* coverage. Inputs: a hit file (BLAST\u002FDIAMOND vs nt\u002FUniProt), a coverage BAM, and an NCBI taxdump. `blobtools filter` can extract or drop by taxon - but see the failure mode below before doing so.\n\n## Merge CheckM2 and GUNC\n\n**Goal:** Produce the joint CheckM2 x GUNC table that is the field standard for MAG QC, so a chimera invisible to CheckM2 is not reported as clean.\n\n**Approach:** Load both reports, join on genome name, and apply MIMAG thresholds AND the GUNC pass flag together; never gate on contamination % alone.\n\n```python\nimport pandas as pd\n\nCONTAM_HQ = 5      # MIMAG high-quality: contamination \u003C 5% (Bowers 2017); above this, gene-content inference is unreliable\nCOMPLETE_HQ = 90   # MIMAG high-quality: completeness > 90%\nRRS_TRUST = 0.5    # GUNC pass is trustworthy only when reference_representation_score > 0.5; below it 'pass' means 'can't tell'\n\ncheckm = pd.read_csv('checkm2_out\u002Fquality_report.tsv', sep='\\t')\ngunc = pd.read_csv('gunc_out\u002FGUNC.progenomes_2.1.maxCSS_level.tsv', sep='\\t')\nmerged = checkm.merge(gunc, left_on='Name', right_on='genome', how='left')\n\nmerged['gunc_trustworthy'] = merged['reference_representation_score'] > RRS_TRUST\nmerged['high_quality'] = ((merged['Completeness'] > COMPLETE_HQ) &\n                          (merged['Contamination'] \u003C CONTAM_HQ) &\n                          (merged['pass.GUNC'] == True) &\n                          merged['gunc_trustworthy'])\nmerged.to_csv('combined_qc.tsv', sep='\\t', index=False)\n```\n\nCheckM2 also runs as `checkm2 predict -i bins\u002F -o checkm2_out --threads 16 -x fa` (downloads its own DIAMOND DB), and GUNC as `gunc run -d bins\u002F -o gunc_out -t 16 -e .fa` against a downloaded reference (`gunc download_db`). GTDB-Tk taxonomy is `gtdbtk classify_wf --genome_dir bins\u002F --out_dir gtdbtk_out -x fa --cpus 16`.\n\n## GUNC and the RRS Trap\n\n`pass.GUNC = TRUE` at **CSS \u003C= 0.45** is not a clean bill of health when `reference_representation_score` (RRS) is low. Low RRS means the genome is barely represented in GUNC's reference DB - there is not enough signal to *detect* chimerism, so \"pass\" degenerates into \"can't tell, not clean\". For genuinely novel lineages (microbial dark matter), a GUNC pass is weak evidence; trust it only when RRS > 0.5, and otherwise lean on manual contig inspection or MDMcleaner. Read the configurations: CheckM2-high-contam + GUNC-pass = duplicative contamination within one lineage; CheckM2-low-contam + GUNC-fail = the dangerous disjoint-marker chimera; both pass with high RRS = the only \"clean\" verdict.\n\n## The Tardigrade Lesson (HGT vs Contamination)\n\nBoothby 2015 (*PNAS* 112:15976) reported ~17% of tardigrade genes arrived by horizontal gene transfer; Koutsovoulos 2016 (*PNAS* 113:5053) showed almost all of it was undetected bacterial contamination in the assembly, dropping real HGT to ~1-2%. The original paper was **corrected, not retracted** - it stands as a cautionary monument. A foreign-looking gene has two explanations the *sequence alone cannot distinguish*: a contaminant contig, or a real HGT\u002Fendosymbiont gene integrated into the host genome. **The tell is physical integration, not taxonomy.** A real HGT gene sits *on a host contig* (host-gene flanks, host GC, host coverage, host introns); a contaminant sits *on its own contig* (foreign GC, its own coverage cloud, prokaryotic gene structure). Deleting everything that looks bacterial manufactures the opposite of Boothby's error - erasing real biology. Require integration evidence (host flanks, host-typical GC\u002Fcoverage\u002Fintrons, long reads spanning the host->foreign junction) before keeping or stripping.\n\n## Organelles and NUMTs (A Third Category)\n\nMitochondrial and chloroplast sequence is legitimate biology that does not belong in the *nuclear* assembly record - it needs **separation, not deletion**. Deleting it loses the organelle genome (often the most-cited part of a non-model genome paper); leaving it inflates assembly size and creates fake duplicated content. Identify organellar contigs by tiara's plastid\u002Fmito classes plus a massive coverage spike and circular topology; assemble\u002Fsubmit them as their own record. The subtle trap: **NUMTs\u002FNUPTs** (nuclear-integrated organellar fragments) are *real nuclear sequence that looks organellar* - do not strip them. Coverage discriminates: free organelle = huge coverage spike; NUMT = nuclear-level coverage.\n\n## Per-Method Failure Modes\n\n### CheckM2 on a eukaryotic nuclear assembly\n**Trigger:** running CheckM\u002FCheckM2 on a vertebrate\u002Fplant\u002Finsect genome. **Mechanism:** the marker sets are bacterial\u002Farchaeal single-copy genes; a eukaryote has none of the relevant context. **Symptom:** a plausible Completeness\u002FContamination pair that is pure noise. **Fix:** use BUSCO for eukaryote completeness (-> assembly-qc); CheckM2 is for prokaryotes\u002FMAGs only.\n\n### CheckM2 contamination read as the whole story (the chimera blind spot)\n**Trigger:** \"CheckM2 says 3%, the MAG is clean.\" **Mechanism:** CheckM2 counts marker redundancy and is blind to a chimera of two organisms with disjoint marker sets. **Symptom:** a 50\u002F50 chimeric bin reported as low-contamination. **Fix:** run GUNC too; report the pair; trust a GUNC pass only when RRS > 0.5.\n\n### FCS-GX % read as MIMAG contamination\n**Trigger:** running FCS-GX on a single MAG and citing flagged-length as the contamination %. **Mechanism:** FCS-GX answers \"foreign vs declared tax-id\", not the intra-domain marker-redundancy MIMAG cares about. **Symptom:** a \"contamination %\" that means something different from CheckM2's. **Fix:** use CheckM2 for the MIMAG %; FCS-GX for foreign-sequence screening of single-organism assemblies.\n\n### Auto-stripping every FCS-GX\u002Fblob foreign hit\n**Trigger:** running `clean genome` and resubmitting, or `blobtools filter` on a whole taxon cloud, without reading the report. **Mechanism:** the screen flags legitimate HGT\u002Fendosymbiont\u002Fhost genes with conserved-domain hits. **Symptom:** a real biological finding (HGT, symbiont) deleted from the assembly. **Fix:** treat EXCLUDE on near-complete-bacterial-genome contigs as real contamination; treat foreign flags on host-integrated, host-coverage, host-flanked sequence as REVIEW-and-verify.\n\n### Trusting blob-plot taxonomy color over cluster geometry\n**Trigger:** filtering out contigs by their BLAST-hit color. **Mechanism:** best-hit taxonomy is the noisiest axis - conserved domains (ribosomal proteins, HSP70) hit foreign taxa, and no-hit != contaminant. **Symptom:** real host genes deleted; large no-hit fractions panic-removed. **Fix:** decide on cluster geometry - off the main cloud on GC *and* coverage *and* consistent foreign taxonomy; coverage is the strongest single signal.\n\n### Strain heterogeneity misread as contamination\n**Trigger:** high CheckM contamination on a MAG with co-binned conspecific strains. **Mechanism:** near-identical single-copy markers from multiple strains register as duplicated. **Symptom:** inflated contamination % for what is one species' population. **Fix:** read CheckM's Strain heterogeneity column; high strain-heterogeneity = look closer (not ignore); GUNC + the strain flag disambiguate foreign-mixing from strain-mixing from duplication.\n\n## Quantitative Thresholds\n\n| Threshold | Source | Rationale |\n|-----------|--------|-----------|\n| MIMAG high-quality MAG: completeness > 90% AND contamination \u003C 5% | Bowers 2017 *Nat Biotechnol* | above 5% contam, gene-content\u002Fmetabolic inference is unreliable |\n| MIMAG medium-quality: completeness >= 50% AND contamination \u003C 10% | Bowers 2017 *Nat Biotechnol* | community-standard MQ floor |\n| MIMAG HQ also requires 5S\u002F16S\u002F23S rRNA + >= 18 tRNAs | Bowers 2017 *Nat Biotechnol* | binners systematically lose rRNA; the most common reason a >90%\u002F\u003C5% MAG is only MQ |\n| GUNC pass: CSS \u003C= 0.45 | Orakov 2021 *Genome Biol* | benchmarked chimera\u002Fnon-chimera cutoff; orthogonal to the % pair |\n| GUNC pass trustworthy only when RRS > 0.5 | Orakov 2021 *Genome Biol* \u002F GUNC docs | low RRS = too poorly represented to judge; pass means \"can't tell\" |\n| Blob-plot contaminant call needs GC AND coverage AND taxonomy agreement | Laetsch & Blaxter 2017; field practice | any single axis alone is a false-positive generator |\n| FCS-GX GX DB ~470 GiB, ~512 GiB RAM host | NCBI FCS wiki (grows per release) | underprovisioned = crawls, not fails; cloud-forcing |\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| CheckM2 prints a Completeness\u002FContamination on a eukaryote | wrong tool for the organism | BUSCO for eukaryotes; CheckM2 is prokaryote\u002FMAG only |\n| \"Clean\" MAG (3% contam) is actually a chimera | CheckM2 blind to disjoint-marker chimeras | run GUNC; report the pair |\n| GenBank submission bounced | FCS-GX\u002FFCS-adaptor not run before submission | screen with FCS-adaptor then FCS-GX first |\n| FCS-GX takes days | GX DB spilled out of RAM | provision ~512 GiB \u002F tmpfs RAM disk \u002F cloud VM |\n| GTDB-Tk crashes on startup | DB release does not match the binary | install the reference package matching the GTDB-Tk version |\n| Real HGT\u002Fsymbiont gene deleted | auto-cleaned or taxon-filtered without review | check physical integration (host flanks\u002FGC\u002Fcoverage) before removal |\n| Organelle genome lost | deleted as \"contamination\" | separate organellar contigs (coverage spike); submit as own record |\n\n## References\n\n- Astashyn A, et al. 2024. Rapid and sensitive detection of genome contamination at scale with FCS-GX. *Genome Biol* 25:60.\n- Chklovski A, et al. 2023. CheckM2: a rapid, scalable and accurate tool for assessing microbial genome quality using machine learning. *Nat Methods* 20:1203-1212.\n- Parks DH, et al. 2015. CheckM: assessing the quality of microbial genomes recovered from isolates, single cells, and metagenomes. *Genome Res* 25:1043-1055.\n- Orakov A, et al. 2021. GUNC: detection of chimerism and contamination in prokaryotic genomes. *Genome Biol* 22:178.\n- Bowers RM, et al. 2017. Minimum information about a single amplified genome (MISAG) and a metagenome-assembled genome (MIMAG) of bacteria and archaea. *Nat Biotechnol* 35:725-731.\n- Chaumeil PA, et al. 2020. GTDB-Tk: a toolkit to classify genomes with the Genome Taxonomy Database. *Bioinformatics* 36:1925-1927.\n- Challis R, et al. 2020. BlobToolKit - interactive quality assessment of genome assemblies. *G3 (Bethesda)* 10:1361-1374.\n- Laetsch DR, Blaxter ML. 2017. BlobTools: interrogation of genome assemblies. *F1000Research* 6:1287.\n- Karlicki M, Antonowicz S, Karnkowska A. 2022. Tiara: deep learning-based classification system for eukaryotic sequences. *Bioinformatics* 38:344-350.\n- Boothby TC, et al. 2015. Evidence for extensive horizontal gene transfer from the draft genome of a tardigrade. *PNAS* 112:15976-15981.\n- Koutsovoulos G, et al. 2016. No evidence for extensive horizontal gene transfer in the genome of the tardigrade Hypsibius dujardini. *PNAS* 113:5053-5058.\n\n## Related Skills\n\n- assembly-qc - BUSCO completeness for eukaryotes (not CheckM2) and the QC handoff\n- metagenome-assembly - Binning produces the bins this skill scores with CheckM2 + GUNC\n- hifi-assembly - False duplications inflate apparent content; distinct from contamination\n- long-read-assembly - Produces the contigs screened here for foreign sequence\n- metagenomics\u002Fkraken-classification - Read\u002Fcontig taxonomic classification and pre-assembly host screening\n- comparative-genomics\u002Fgenome-distance-and-species-delineation - ANI\u002Fspecies placement after decontamination\n- workflows\u002Fgenome-assembly-pipeline - End-to-end assemble -> QC -> decontaminate\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","cli","2026-09-20","genome-assembly\u002Fcontamination-detection\u002FSKILL.md","CheckM2","GPTomics\u002FbioSkills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fbiology\u002Fbio-genome-assembly-contamination-detection","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-genome-assembly-contamination-detection",{"tool":42,"command":43},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-genome-assembly-contamination-detection",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-genome-assembly-contamination-detection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-genome-assembly-contamination-detection\u002FSKILL.md",true,[50,56,60],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"examples\u002Ffcs_screen.sh","SCRIPT","脚本",2213,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-genome-assembly-contamination-detection\u002Fexamples\u002Ffcs_screen.sh",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"examples\u002Fmag_qc_pipeline.sh",2929,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-genome-assembly-contamination-detection\u002Fexamples\u002Fmag_qc_pipeline.sh",{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"usage-guide.md","REFERENCE","参考文档",6414,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-genome-assembly-contamination-detection\u002Fusage-guide.md",[67,75,82,89,96,103],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":74},"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":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":74},"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":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":74},"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":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":74},"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":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":74},"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":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":74},"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",[],[]]