[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DTHA6PHVA3Q59VGJF6VNTM":3,"skill-same:01M6DTHA6PHVA3Q59VGJF6VNTM":97},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M6DTHA6PHVA3Q59VGJF6VNTM","sc-fastq-qc",null,"Load when checking raw single-cell FASTQ read quality (Phred \u002F GC \u002F adapter \u002F length) before counting. Skip when reads are already counted (use sc-qc); bulk FASTQ (use bulkrna-read-qc).","TianGzlab\u002FOmicsClaw","TianGzlab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F150978281?v=4","01M6DT9WNJJ470ADHPSMFAA02Y","01M6DT9WSN09C5K65GB6RK18R9",161,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"sc fastq qc","qc","FASTQ","bulkrna","counting","singlecell","fastqc","read-quality","adapter","Phred","quality","single-cell","scrna","cell","gc","use","read","2026-11-10 10:12:30",false,"---\nname: sc-fastq-qc\ndescription: Load when checking raw single-cell FASTQ read quality (Phred \u002F GC \u002F adapter \u002F length) before\n  counting. Skip when reads are already counted (use sc-qc); bulk FASTQ (use bulkrna-read-qc).\ntrigger: scRNA FASTQ QC, FastQC single-cell, MultiQC single-cell, raw read quality, read-level QC\ntags:\n- singlecell\n- scrna\n- fastq\n- qc\n- read-quality\n---\n\n# sc-fastq-qc\n\n## Use from a step\n\nThis is CLI_ONLY: it reads FASTQ files and optionally starts FastQC\u002FMultiQC.\n\n```python\nfrom skills._sdk.notebook import run_cli\n\nrun_cli(\"sc-fastq-qc\", \"--input\", \"data\u002Fsample_R1.fastq.gz\",\n        \"--read2\", \"data\u002Fsample_R2.fastq.gz\",\n        inputs=[\"data\u002Fsample_R1.fastq.gz\", \"data\u002Fsample_R2.fastq.gz\"])\n```\n\nThe demo renders synthetic summary tables; it does not read FASTQ or test\nthe external tools. There is no `_api.py` for this skill.\n\n## When to use\n\nThe user has raw scRNA-seq FASTQ files (one or more, or a directory of\nsamples) and wants per-file \u002F per-sample \u002F per-base quality summaries\nbefore running `sc-count` or `cellranger`. Python summaries always run.\nFastQC and MultiQC add reports when installed; a tool that is present but\nfails is a hard error, not a fallback to a successful Python-only run.\n\n## Inputs & Outputs\n\n**Inputs**\n\n- Input kinds: `file`, `directory`\n- Modalities: scrna\n- File types: `.fastq`, `.fq`, and their `.gz` variants\n- FASTQ structure: valid first record\n- Directory layouts (any): `fastq-collection`\n\n**Outputs**\n\n- `tables\u002Ffastq_per_base_quality.csv`\n- `tables\u002Ffastq_per_file_summary.csv`\n- `tables\u002Ffastq_per_sample_summary.csv`\n- `figures\u002Ffastq_file_quality.png`\n- `figures\u002Ffastq_q30_summary.png`\n- `figures\u002Ffastq_read_structure.png`\n- `figures\u002Fper_base_quality.png`\n- `figures\u002Fmanifest.json`, `figure_data\u002Fmanifest.json`, plot-data CSV files\n- `reproducibility\u002Fcommands.sh`, `reproducibility\u002Frequirements.txt`\n- Optional external reports under `artifacts\u002Ffastqc\u002F` and `artifacts\u002Fmultiqc\u002F`\n- `report.md`\n- `result.json`\n\n## Flow\n\n1. Discover FASTQ files and choose one sample (`--sample` disambiguates a directory).\n2. Summarize the first `--max-reads` records per file in Python.\n3. Run FastQC when present, then MultiQC when both tools are present.\n4. Render four figures from the Python summaries; external HTML is separate.\n5. Write three tables, `report.md` and `result.json`.\n\n## Gotchas\n\n- **`--max-reads 20000` caps Python summaries only.** `tables\u002Ffastq_per_file_summary.csv` records sampled depth. FastQC processes the full files. This is a prefix sample, not random sampling.\n- **`--r-enhanced` is accepted but produces no R plots.** This skill emits Python figures only.  Pass freely, expect no R Enhanced output.\n- `figures\u002Fmanifest.json` records per-figure status; `result.json` lists external tool availability and commands under `data.external_tools`.\n- `_lib\u002Fupstream.py:choose_fastq_sample` rejects ambiguous multi-sample directories. Run once per sample with `--sample`; one invocation does not batch every sample.\n\n## Key CLI\n\n```bash\n# Demo (synthetic summary tables, no FASTQ or external tools)\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002Fsc_fastq_qc.py --demo --output \u002Ftmp\u002Fsc_fastq_qc_demo\n\n# Single-file with paired-end\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002Fsc_fastq_qc.py \\\n  --input sample_R1.fastq.gz --read2 sample_R2.fastq.gz --output results\u002F\n\n# Choose a sample and increase Python sampling depth\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002Fsc_fastq_qc.py \\\n  --input fastq_dir\u002F --sample sample_A --output results\u002F --max-reads 100000 --threads 8\n```\n\n## See also\n\n- `references\u002Fparameters.md` — every CLI flag and tuning hint\n- `references\u002Fmethodology.md` — FastQC integration + Python fallback rationale\n- `references\u002Foutput_contract.md` — table column schemas + figure roles\n- Adjacent skills: `sc-count` (next step — FASTQ → AnnData), `bulkrna-read-qc` (bulk RNA-seq variant), `sc-qc` (downstream count-matrix QC)\n\n## Dependencies\n\nPython packages this skill's script needs. They are not installed for you — check before a long run.\n\n`anndata`, `matplotlib`, `numpy`, `pandas`, `scanpy`, `scipy`, `seaborn`\n","# sc-fastq-qc\n\n## Use from a step\n\nThis is CLI_ONLY: it reads FASTQ files and optionally starts FastQC\u002FMultiQC.\n\n```python\nfrom skills._sdk.notebook import run_cli\n\nrun_cli(\"sc-fastq-qc\", \"--input\", \"data\u002Fsample_R1.fastq.gz\",\n        \"--read2\", \"data\u002Fsample_R2.fastq.gz\",\n        inputs=[\"data\u002Fsample_R1.fastq.gz\", \"data\u002Fsample_R2.fastq.gz\"])\n```\n\nThe demo renders synthetic summary tables; it does not read FASTQ or test\nthe external tools. There is no `_api.py` for this skill.\n\n## When to use\n\nThe user has raw scRNA-seq FASTQ files (one or more, or a directory of\nsamples) and wants per-file \u002F per-sample \u002F per-base quality summaries\nbefore running `sc-count` or `cellranger`. Python summaries always run.\nFastQC and MultiQC add reports when installed; a tool that is present but\nfails is a hard error, not a fallback to a successful Python-only run.\n\n## Inputs & Outputs\n\n**Inputs**\n\n- Input kinds: `file`, `directory`\n- Modalities: scrna\n- File types: `.fastq`, `.fq`, and their `.gz` variants\n- FASTQ structure: valid first record\n- Directory layouts (any): `fastq-collection`\n\n**Outputs**\n\n- `tables\u002Ffastq_per_base_quality.csv`\n- `tables\u002Ffastq_per_file_summary.csv`\n- `tables\u002Ffastq_per_sample_summary.csv`\n- `figures\u002Ffastq_file_quality.png`\n- `figures\u002Ffastq_q30_summary.png`\n- `figures\u002Ffastq_read_structure.png`\n- `figures\u002Fper_base_quality.png`\n- `figures\u002Fmanifest.json`, `figure_data\u002Fmanifest.json`, plot-data CSV files\n- `reproducibility\u002Fcommands.sh`, `reproducibility\u002Frequirements.txt`\n- Optional external reports under `artifacts\u002Ffastqc\u002F` and `artifacts\u002Fmultiqc\u002F`\n- `report.md`\n- `result.json`\n\n## Flow\n\n1. Discover FASTQ files and choose one sample (`--sample` disambiguates a directory).\n2. Summarize the first `--max-reads` records per file in Python.\n3. Run FastQC when present, then MultiQC when both tools are present.\n4. Render four figures from the Python summaries; external HTML is separate.\n5. Write three tables, `report.md` and `result.json`.\n\n## Gotchas\n\n- **`--max-reads 20000` caps Python summaries only.** `tables\u002Ffastq_per_file_summary.csv` records sampled depth. FastQC processes the full files. This is a prefix sample, not random sampling.\n- **`--r-enhanced` is accepted but produces no R plots.** This skill emits Python figures only.  Pass freely, expect no R Enhanced output.\n- `figures\u002Fmanifest.json` records per-figure status; `result.json` lists external tool availability and commands under `data.external_tools`.\n- `_lib\u002Fupstream.py:choose_fastq_sample` rejects ambiguous multi-sample directories. Run once per sample with `--sample`; one invocation does not batch every sample.\n\n## Key CLI\n\n```bash\n# Demo (synthetic summary tables, no FASTQ or external tools)\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002Fsc_fastq_qc.py --demo --output \u002Ftmp\u002Fsc_fastq_qc_demo\n\n# Single-file with paired-end\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002Fsc_fastq_qc.py \\\n  --input sample_R1.fastq.gz --read2 sample_R2.fastq.gz --output results\u002F\n\n# Choose a sample and increase Python sampling depth\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002Fsc_fastq_qc.py \\\n  --input fastq_dir\u002F --sample sample_A --output results\u002F --max-reads 100000 --threads 8\n```\n\n## See also\n\n- `references\u002Fparameters.md` — every CLI flag and tuning hint\n- `references\u002Fmethodology.md` — FastQC integration + Python fallback rationale\n- `references\u002Foutput_contract.md` — table column schemas + figure roles\n- Adjacent skills: `sc-count` (next step — FASTQ → AnnData), `bulkrna-read-qc` (bulk RNA-seq variant), `sc-qc` (downstream count-matrix QC)\n\n## Dependencies\n\nPython packages this skill's script needs. They are not installed for you — check before a long run.\n\n`anndata`, `matplotlib`, `numpy`, `pandas`, `scanpy`, `scipy`, `seaborn`\n",{"name":5,"tags":40,"trigger":42,"description":7},[23,30,41,19,25],"fastq","scRNA FASTQ QC, FastQC single-cell, MultiQC single-cell, raw read quality, read-level QC","main","90a3bec3e6549bc33dddbf67e4b23869736c49d1","skills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc",27,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw","https:\u002F\u002FTianGzlab.github.io\u002FOmicsClaw\u002F","https:\u002F\u002Fgithub.com\u002FTianGzlab","2026-10-08 01:36:11",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add TianGzlab\u002FOmicsClaw --skill sc-fastq-qc",{"tool":57,"command":58},"bunx","bunx skills add TianGzlab\u002FOmicsClaw --skill sc-fastq-qc",{"tool":60,"command":61},"pnpm","pnpm dlx skills add TianGzlab\u002FOmicsClaw --skill sc-fastq-qc","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002FSKILL.md",true,[65,71,75,79,83,89,93],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fmethodology.md","REFERENCE","参考文档",6173,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002Freferences\u002Fmethodology.md",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Foutput_contract.md",2748,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002Freferences\u002Foutput_contract.md",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fparameters.md",778,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002Freferences\u002Fparameters.md",{"path":80,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fr_visualization.md",288,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002Freferences\u002Fr_visualization.md",{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"sc_fastq_qc.py","SCRIPT","脚本",19523,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002Fsc_fastq_qc.py",{"path":90,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":91,"sourceHtmlUrl":92},"tests\u002Ftest_fastqc_paths.py",947,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002Ftests\u002Ftest_fastqc_paths.py",{"path":94,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":95,"sourceHtmlUrl":96},"tests\u002Ftest_sc_fastq_qc.py",3154,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-fastq-qc\u002Ftests\u002Ftest_sc_fastq_qc.py",[98,111,123,139,165,187],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":35},"01M6DTP4X225Q92RMY8XXHPCTT","demo-skill","A fixture skill for the skill environment tests. Use it for nothing else.","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Ftests\u002Fskillenv\u002Ffixtures\u002Fskills\u002Fdemo\u002Fdemo-skill\u002FSKILL.md",[],[105,106,107,108,109,33,110],"demo skill","demo","tests","fixture","fixture skill","environment",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":35},"01M6DTP28JTWQK3HHXDNQV8BBV","fake-domains","Test fixture for the golden deployment in tests\u002Fentry. Load never; it has no script.","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Ftests\u002Fentry\u002Ffake_skills\u002Fspatial\u002Ffake-domains\u002FSKILL.md",[],[118,119,120,107,108,121,122],"domains","fake domains","deployment","never","test",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":35},"01M6DTNZ4AMWKTME1T18K5C643","replace-me-skill","Load when copying this directory to bootstrap a new OmicsClaw skill. Skip when an existing skill already covers the request.","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Ftemplates\u002Fskill\u002FSKILL.md",[],[130,131,132,133,134,135,136,137,138],"me","replace me skill","template","directory","skill template","existing skill","new skill","bootstrap","scaffold",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":35},"01M6DTNV63MTD0Q6YRC52F0B1Y","spatial-velocity","Load when estimating RNA velocity on a spatial AnnData with `layers[\"spliced\"]` + `layers[\"unspliced\"]` via scVelo (stochastic \u002F deterministic \u002F dynamical) or veloVI (deep generative). Skip when input lacks the spliced\u002Funspliced layers (must be quantified upstream by velocyto \u002F kb-python \u002F STARsolo); non-spatial scRNA velocity (use sc-velocity).","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fspatial\u002Fspatial-velocity\u002FSKILL.md",[],[146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,33,163,164],"velocity","spatial velocity","Spatial","scvelo","input","starsolo","time","deep","RNA","kb-python","via","velocyto","rna-velocity","velovi","dynamics","upstream","kb","python","deterministic",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":35},"01M6DTNPMR227NAT8QFY620YDW","spatial-trajectory","Load when inferring pseudotime \u002F lineage trajectories on a preprocessed spatial AnnData via DPT (default — diffusion pseudotime), CellRank (terminal-state + fate-probability), or Palantir (waypoint branch probabilities). Skip when the data has spliced\u002Funspliced layers and you want velocity-driven dynamics (use spatial-velocity); non-spatial scRNA pseudotime (use sc-pseudotime).","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fspatial\u002Fspatial-trajectory\u002FSKILL.md",[],[148,172,173,174,175,176,177,178,156,179,180,181,182,31,146,183,33,184,185,186],"trajectory","spatial trajectory","state","terminal","lineage","diffusion","cellrank","palantir","dpt","pseudotime","probability","default","branch","anndata","data",{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":35},"01M6DTNJEYFT33P84DGHDNXW95","spatial-statistics","Load when running spatial autocorrelation \u002F hotspot \u002F co-occurrence \u002F neighbourhood-enrichment \u002F Ripley K stats on a clustered spatial AnnData via squidpy. Skip when ranking spatially variable genes (use spatial-genes); tissue domain detection (use spatial-domains).","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fspatial\u002Fspatial-statistics\u002FSKILL.md",[],[194,195,148,156,196,197,198,199,200,201,118,202,203,204,205,33,185,206,207,208],"spatial statistics","statistics","nhood-enrichment","co-occurrence","ripley","geary","moran","neighbourhood","ranking","autocorrelation","local","domain","detection","enrichment","stats"]