proteomics-de
БесплатноЗапускает вложенные скриптыНе проверенDifferential expression analysis for label-free quantitative (LFQ) intensity data with standard MaxQuant and DIA-NN output. Workflow includes preprocessing…
от ClawBio★ 1 197 звёзд на GitHubОб этом скилле
🥚 Proteomics Differential Expression
This skill performs differential expression analysis on label-free quantitative (LFQ) intensity data from MaxQuant and DIA-NN outputs, including preprocessing, imputation, statistical testing, and visualization.
Domain Decisions
1. Multi-format Input Support
- Supports MaxQuant
proteinGroups.txt- Automatic filtering of reverse hits, contaminants, and site-only identifications
- Supports DIA-NN output
- Automatically extracts protein IDs and
.rawintensity columns
- Automatically extracts protein IDs and
2. Preprocessing Strategy
- MaxQuant:
- Filters:
ReversePotential contaminant/ContaminantOnly identified by site
- Filters:
- DIA-NN:
- Extracts protein identifiers and intensity matrix directly
3. Intensity Transformation
- LFQ intensities are transformed using log2 scaling
- Ensures approximate normality for downstream statistical testing
4. Missing Value Imputation
- Uses down-shifted Gaussian imputation
- Mean shifted by:
median - shift × std - Default:
shift = 1.8scale = 0.3
- Mean shifted by:
- Assumption:
- Missing values represent low-abundance proteins
5. Statistical Testing
- Two-sample t-test between treatment and control groups
- Default degrees of freedom:
df = 4(for 3 vs 3 replicates)
6. s0-based FDR Correction
- Uses s0-based thresholding to stabilize variance
- Combines:
- log2 fold change
- p-value
- Based on:
- Giai Gianetto et al. (2016)
7. Significance Thresholding
- Default:
FDR = 0.05s0 = 0.1
- Produces:
- Adjusted significance boundary (used in volcano plot)
8. Visualization Outputs
- PCA plot
- Volcano plot (with s0 curve)
- Imputation distribution comparison
Safety Rules
Local-first
- No data upload without explicit user consent
Statistical caution
- Statistical results should be interpreted with caution and not overinterpreted
- Avoid drawing conclusions beyond what the data supports
Missing data assumptions
- Imputation assumes missing values correspond to low abundance
- May not hold in all experimental designs
Small sample limitations
- t-test reliability depends on sufficient replicates
Reproducibility
- All parameters and commands are logged
No hallucinated science
- All methods are based on established proteomics workflows
Agent Boundary
This skill DOES:
- Perform differential expression analysis on LFQ proteomics data
- Handle MaxQuant and DIA-NN outputs
- Generate statistical results and visualizations
- Produce reproducible reports
This skill DOES NOT:
- Process raw mass spectrometry data (e.g. RAW files)
- Perform peptide identification or database search
- Conduct pathway or functional enrichment analysis
- Provide biological interpretation of results
Input Contract
Supported Input Formats
- MaxQuant
proteinGroups.txt - DIA-NN output (
.tsv/.txt)
Metadata Requirements
.csvor.tsv- Must include:
sample_idgroup
Supports:
- raw names
- full paths (e.g.
/path/sample.raw)
Output Structure
proteomics_de_report/
├── report.md
├── figures/
│ ├── imputation_distribution.png
│ ├── pca.png
│ └── volcano.png
├── tables/
│ ├── imputed_proteinGroups.csv
│ └── de_results.csv
├── ro-crate-metadata.json
└── reproducibility/
├── commands.sh
├── environment.yml
└── checksums.sha256
Usage
Demo
python proteomics_de.py \
--demo \
--output report_dir
MaxQuant Input
python proteomics_de.py \
--input proteinGroups.txt \
--input-type maxquant \
--metadata metadata.csv \
--contrast "treated,control" \
--output report_dir
DIA-NN Input
python proteomics_de.py \
--input diann_output.tsv \
--input-type diann \
--metadata metadata.csv \
--contrast "treated,control" \
--output report_dir
Parameters
| Parameter | Description | Default |
|---|---|---|
--input |
Input file path | - |
--input-type |
maxquant or diann |
maxquant |
--metadata |
Metadata file | - |
--contrast |
treatment,control | treated,control |
--s0 |
s0 parameter | 0.1 |
--fdr |
FDR threshold | 0.05 |
--ttest-df |
Degrees of freedom | 4 |
--imputation-shift |
Imputation shift | 1.8 |
--imputation-scale |
Imputation scale | 0.3 |
--output |
Output directory | - |
References
- test_proteinGroups.txt is from: Keilhauer EC, Hein MY, Mann M. Accurate protein complex retrieval by affinity enrichment mass spectrometry (AE-MS) rather tha
Установить proteomics-de в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл proteomics-de?
Differential expression analysis for label-free quantitative (LFQ) intensity data with standard MaxQuant and DIA-NN output. Workflow includes preprocessing, imputation, and statistical testing.
Как установить скилл proteomics-de?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл proteomics-de запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic