[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DTECC4PDGMT20G8P2XS4Q3":3,"skill-same:01M6DTECC4PDGMT20G8P2XS4Q3":99},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":66},"01M6DTECC4PDGMT20G8P2XS4Q3","proteomics-data-import",null,"Load when ingesting a MaxQuant `proteinGroups.txt`, FragPipe `combined_protein.tsv`, DIA-NN report, or generic CSV \u002F TSV protein-quantification table — normalises columns to a standard schema, emits `tables\u002Fproteins.csv`. Skip when raw spectra are the input (run the search engine first); the file is already OmicsClaw schema.","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\u002Fproteomics\u002Fproteomics-data-import\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"proteomics data import","data","proteomics","conversion","spectronaut","diann","fragpipe","maxquant","import","dia","proteins","run","standard schema","schema","engine","convert","first","csv","file","search","2026-11-10 10:12:30",false,"---\nname: proteomics-data-import\ndescription: Load when ingesting a MaxQuant `proteinGroups.txt`, FragPipe `combined_protein.tsv`, DIA-NN\n  report, or generic CSV \u002F TSV protein-quantification table — normalises columns to a standard schema,\n  emits `tables\u002Fproteins.csv`. Skip when raw spectra are the input (run the search engine first); the\n  file is already OmicsClaw schema.\ntrigger: data import, convert proteomics, format conversion\ntags:\n- proteomics\n- import\n- maxquant\n- fragpipe\n- diann\n- spectronaut\n---\n\n# proteomics-data-import\n\n## When to use\n\nmaxquant is the default; fragpipe, diann and generic normalize their own column names. read_table detects CSV\u002FTSV separation.\nUse existing search-engine tables; this skill does not search raw spectra.\n\n## Use from a step\n\n```python\nfrom skills._sdk.notebook import load_skill, write_output\nlibrary = load_skill('proteomics-data-import')\ndata = library.demo_data(random_state=42)\nresult = library.standardize(data)\nwrite_output(result, 'tables\u002Fproteins.csv')\n```\n\nFor real data, use `read_input` and pass any `read_table` helper as `reader=`.\nThe executable `examples\u002Fexample_step.py` also checks the result and writes a Figure.\n\n## API\n\n\u003C!-- api:begin generated from _api.py; regenerate with run.py api \u003Cskill dir> --write -->\n\n### `read_table(path: str | Path) -> pd.DataFrame`\n\nRead a CSV or TSV; pass this function as reader= to read_input.\n\n:param path: Search-engine output file; the first line selects comma or tab separation.\n:returns: Unmodified input columns as a DataFrame.\n:raises OSError: The file cannot be read.\n\n### `standardize(data: pd.DataFrame, *, format: str='maxquant') -> pd.DataFrame`\n\nReturn a standardized copy of a search-engine protein table.\n\n:param data: Original protein table with engine-specific column names.\n:param format: CLI default maxquant; fragpipe, diann and generic use their own mappings.\n:returns: Protein table; MaxQuant reverse, contaminant and site-only flags are filtered.\n:raises ValueError: The format is unsupported.\n\n### `run_info(table: pd.DataFrame, *, keep: bool=True) -> dict`\n\nRead import diagnostics.\n\n:param table: Standardized protein table.\n:param keep: True preserves attrs; False removes diagnostics.\n:returns: A separate diagnostic dictionary.\n:raises TypeError: The input is not a DataFrame.\n\n### `intensity_figure(table: pd.DataFrame)`\n\nPlot numeric column medians for checking an imported table.\n\n:param table: Standardized protein table; numeric metadata is included.\n:returns: A matplotlib Figure without writing files.\n:raises TypeError: The input is not a DataFrame.\n\n### `demo_data(*, random_state: int=42) -> pd.DataFrame`\n\nGenerate a synthetic MaxQuant table in memory.\n\n:param random_state: CLI seed 42; change for another simulation.\n:returns: Two hundred protein rows, including five flagged rows.\n:raises ValueError: The seed is invalid.\n\n\u003C!-- api:end -->\n\n## Methods and parameters\n\nmaxquant is the default; fragpipe, diann and generic normalize their own column names. read_table detects CSV\u002FTSV separation.\nFunctions return new DataFrames. `run_info(result)` reads diagnostic attrs;\nuse `keep=False` before serialization when those attrs are not needed.\n\n## Gotchas\n\n- standardize filters MaxQuant Reverse, Potential contaminant and Only identified by site flags. Generic import does not infer those flags.\n- `demo_data` uses seed 42, matching the CLI; every demo is synthetic.\n- `run_info` lives in DataFrame attrs and is not preserved by CSV serialization.\n\n## Inputs and outputs\n\nThe CLI reads CSV tables and writes:\n\n- tables\u002Fproteins.csv\n- report.md\n- result.json\n- `demo_proteinGroups.txt` is written only with `--demo`.\n\nFunctions return data and Figures without writing files. Steps own their outputs.\nDemo mode also writes its synthetic input when the original CLI used a file.\n\n## CLI\n\n```bash\npython skills\u002Fproteomics\u002Fproteomics-data-import\u002Fproteomics_data_import.py --demo --output \u002Ftmp\u002Fproteomics_data_import\n```\n\nFor real input replace `--demo` with `--input \u003Ctable>`.\n\n\n## See also\n\n- `references\u002Fmethodology.md`\n- `references\u002Fparameters.md`\n- `references\u002Foutput_contract.md`\n- `proteomics-data-import` for protein-table normalization; `proteomics-de` for comparisons.\n\n## Dependencies\n\n`numpy`, `pandas`, `matplotlib`\n","# proteomics-data-import\n\n## When to use\n\nmaxquant is the default; fragpipe, diann and generic normalize their own column names. read_table detects CSV\u002FTSV separation.\nUse existing search-engine tables; this skill does not search raw spectra.\n\n## Use from a step\n\n```python\nfrom skills._sdk.notebook import load_skill, write_output\nlibrary = load_skill('proteomics-data-import')\ndata = library.demo_data(random_state=42)\nresult = library.standardize(data)\nwrite_output(result, 'tables\u002Fproteins.csv')\n```\n\nFor real data, use `read_input` and pass any `read_table` helper as `reader=`.\nThe executable `examples\u002Fexample_step.py` also checks the result and writes a Figure.\n\n## API\n\n\u003C!-- api:begin generated from _api.py; regenerate with run.py api \u003Cskill dir> --write -->\n\n### `read_table(path: str | Path) -> pd.DataFrame`\n\nRead a CSV or TSV; pass this function as reader= to read_input.\n\n:param path: Search-engine output file; the first line selects comma or tab separation.\n:returns: Unmodified input columns as a DataFrame.\n:raises OSError: The file cannot be read.\n\n### `standardize(data: pd.DataFrame, *, format: str='maxquant') -> pd.DataFrame`\n\nReturn a standardized copy of a search-engine protein table.\n\n:param data: Original protein table with engine-specific column names.\n:param format: CLI default maxquant; fragpipe, diann and generic use their own mappings.\n:returns: Protein table; MaxQuant reverse, contaminant and site-only flags are filtered.\n:raises ValueError: The format is unsupported.\n\n### `run_info(table: pd.DataFrame, *, keep: bool=True) -> dict`\n\nRead import diagnostics.\n\n:param table: Standardized protein table.\n:param keep: True preserves attrs; False removes diagnostics.\n:returns: A separate diagnostic dictionary.\n:raises TypeError: The input is not a DataFrame.\n\n### `intensity_figure(table: pd.DataFrame)`\n\nPlot numeric column medians for checking an imported table.\n\n:param table: Standardized protein table; numeric metadata is included.\n:returns: A matplotlib Figure without writing files.\n:raises TypeError: The input is not a DataFrame.\n\n### `demo_data(*, random_state: int=42) -> pd.DataFrame`\n\nGenerate a synthetic MaxQuant table in memory.\n\n:param random_state: CLI seed 42; change for another simulation.\n:returns: Two hundred protein rows, including five flagged rows.\n:raises ValueError: The seed is invalid.\n\n\u003C!-- api:end -->\n\n## Methods and parameters\n\nmaxquant is the default; fragpipe, diann and generic normalize their own column names. read_table detects CSV\u002FTSV separation.\nFunctions return new DataFrames. `run_info(result)` reads diagnostic attrs;\nuse `keep=False` before serialization when those attrs are not needed.\n\n## Gotchas\n\n- standardize filters MaxQuant Reverse, Potential contaminant and Only identified by site flags. Generic import does not infer those flags.\n- `demo_data` uses seed 42, matching the CLI; every demo is synthetic.\n- `run_info` lives in DataFrame attrs and is not preserved by CSV serialization.\n\n## Inputs and outputs\n\nThe CLI reads CSV tables and writes:\n\n- tables\u002Fproteins.csv\n- report.md\n- result.json\n- `demo_proteinGroups.txt` is written only with `--demo`.\n\nFunctions return data and Figures without writing files. Steps own their outputs.\nDemo mode also writes its synthetic input when the original CLI used a file.\n\n## CLI\n\n```bash\npython skills\u002Fproteomics\u002Fproteomics-data-import\u002Fproteomics_data_import.py --demo --output \u002Ftmp\u002Fproteomics_data_import\n```\n\nFor real input replace `--demo` with `--input \u003Ctable>`.\n\n\n## See also\n\n- `references\u002Fmethodology.md`\n- `references\u002Fparameters.md`\n- `references\u002Foutput_contract.md`\n- `proteomics-data-import` for protein-table normalization; `proteomics-de` for comparisons.\n\n## Dependencies\n\n`numpy`, `pandas`, `matplotlib`\n",{"name":5,"tags":43,"trigger":44,"description":7},[20,26,25,24,23,22],"data import, convert proteomics, format conversion","main","90a3bec3e6549bc33dddbf67e4b23869736c49d1","skills\u002Fproteomics\u002Fproteomics-data-import",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":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add TianGzlab\u002FOmicsClaw --skill proteomics-data-import",{"tool":59,"command":60},"bunx","bunx skills add TianGzlab\u002FOmicsClaw --skill proteomics-data-import",{"tool":62,"command":63},"pnpm","pnpm dlx skills add TianGzlab\u002FOmicsClaw --skill proteomics-data-import","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fproteomics\u002Fproteomics-data-import\u002FSKILL.md",true,[67,73,77,81,87,91,95],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"_api.py","SCRIPT","脚本",2968,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fproteomics\u002Fproteomics-data-import\u002F_api.py",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"examples\u002Fexample_step.py",479,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fproteomics\u002Fproteomics-data-import\u002Fexamples\u002Fexample_step.py",{"path":78,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":79,"sourceHtmlUrl":80},"proteomics_data_import.py",4585,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fproteomics\u002Fproteomics-data-import\u002Fproteomics_data_import.py",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fmethodology.md","REFERENCE","参考文档",280,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fproteomics\u002Fproteomics-data-import\u002Freferences\u002Fmethodology.md",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Foutput_contract.md",267,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fproteomics\u002Fproteomics-data-import\u002Freferences\u002Foutput_contract.md",{"path":92,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fparameters.md",300,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fproteomics\u002Fproteomics-data-import\u002Freferences\u002Fparameters.md",{"path":96,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":97,"sourceHtmlUrl":98},"tests\u002Ftest_api.py",1160,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fproteomics\u002Fproteomics-data-import\u002Ftests\u002Ftest_api.py",[100,114,126,142,168,190],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":38},"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",[],[107,108,109,110,111,112,113],"demo skill","demo","tests","fixture","fixture skill","use","environment",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":38},"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",[],[121,122,123,109,110,124,125],"domains","fake domains","deployment","never","test",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":38},"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",[],[133,134,135,136,137,138,139,140,141],"me","replace me skill","template","directory","skill template","existing skill","new skill","bootstrap","scaffold",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":38},"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",[],[149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,112,166,167],"velocity","spatial velocity","Spatial","scvelo","input","starsolo","time","deep","RNA","kb-python","via","velocyto","rna-velocity","velovi","dynamics","upstream","kb","python","deterministic",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":38},"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",[],[151,175,176,177,178,179,180,181,159,182,183,184,185,186,149,187,112,188,189,19],"trajectory","spatial trajectory","state","terminal","lineage","diffusion","cellrank","palantir","dpt","pseudotime","probability","cell","default","branch","anndata",{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":38},"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",[],[197,198,151,159,199,200,201,202,203,204,121,205,206,207,208,112,189,209,210,211],"spatial statistics","statistics","nhood-enrichment","co-occurrence","ripley","geary","moran","neighbourhood","ranking","autocorrelation","local","domain","detection","enrichment","stats"]