Logo vun Sec Report

Sec Report

Communautéit
BioTender-max
sec-report

SEC (size-exclusion chromatography) analysis with peak detection, oligomer classification, and publication-quality PDF report generation via Typst templates. Triggers on "SEC", "size exclusion", "chromatography", "oligomer analysis", "protein assembly", "SEC report".

Iwwersiicht

EditeurBioTender-max
Repositoryawesome-bio-agent-skills
Skill-Nummsec-report
Stären
204
Forks
36
Matgeliwwert Fichieren
6
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 6 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum BioTender-max op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Sec Report an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/BioTender-max/awesome-bio-agent-skills/tree/main/skills/bioclaw/sec-report
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/BioTender-max/awesome-bio-agent-skills.git /tmp/awesome-bio-agent-skills
mkdir -p .claude/skills
cp -r /tmp/awesome-bio-agent-skills/skills/bioclaw/sec-report .claude/skills/sec-report
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Sec Report an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Sec Report automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Sec Report net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

SEC Chromatography Analysis & PDF Report Generator

CRITICAL: This skill provides a fully automated pipeline script (sec_pipeline.py) that produces a publication-quality PDF with text, tables, figures, and analysis. You MUST use this pipeline. Do NOT write your own analysis script. Do NOT generate figures without accompanying text. Do NOT produce a PDF that only contains images — the pipeline generates a complete scientific report with Background, Methods, Results (including text interpretation for each construct), Discussion, and Conclusions sections.

If you write your own code instead of running sec_pipeline.py, the report will be of significantly lower quality. The pipeline includes a professional Typst template engine that generates reports comparable to Biomni/Phylo output quality.

Analyze SEC chromatogram data files and images, detect peaks, classify oligomeric states, and generate a publication-quality PDF report with professional styling (colored section bands, styled tables, callout boxes, page headers/footers, and full-text analysis for every section).

When To Use This Skill

  • User uploads SEC chromatogram data (CSV/TSV/Excel) and/or images
  • User asks for SEC profile analysis or oligomer classification
  • User wants a PDF report of SEC analysis results
  • User mentions "size exclusion", "gel filtration", "SEC", "oligomer", "assembly"
  • User provides a ZIP file with SEC data and plots

Analysis Plan (Present in Chat Before Execution)

Before running the pipeline, present a brief analysis plan to the user in the chat so they can confirm or adjust parameters. This is NOT a UI button — just a chat message.

Step 0 — Scan the data and present the plan in chat:

After locating the user's data files, send a message like this:


SEC Analysis Plan

Found N data files and M image files.

I will run the automated SEC pipeline which:

  1. Detects peaks and classifies oligomeric states for each construct
  2. Generates annotated chromatograms, overlay comparison, and zone fraction charts
  3. Produces a publication-quality PDF report (14+ pages) with full text: Background, Methods, Results (per-construct tables and interpretation), Discussion, and Conclusions

Parameters: void volume = 8.0 mL (Superdex 200 10/300 GL). Reply if you want to change anything, otherwise I'll proceed.


If the user does not object within ~5 seconds or says anything affirmative, proceed immediately. Do NOT wait indefinitely.

Execution Steps (REQUIRED)

Follow these steps exactly. Do NOT skip the pipeline script.

Step 1 — Install dependencies (if not present):

bash
pip install typst 2>/dev/null || pip install --user typst
pip install fpdf2 2>/dev/null || pip install --user fpdf2

Step 2 — Locate the uploaded data: Find the user's uploaded file (ZIP, CSV, or directory) under /workspace/group/.

Step 3 — Run the pipeline script:

bash
cd /home/node/.claude/skills/sec-report
python3 sec_pipeline.py \
  --input <path-to-uploaded-data-or-zip> \
  --output /workspace/group/sec_analysis/output

The script accepts either a ZIP file or a directory as --input. It handles extraction, parsing, peak detection, figure generation, and PDF report building automatically. The pipeline will use the Typst template engine for publication-quality output; if Typst is unavailable, it falls back to fpdf2.

By default, the pipeline now produces a compact user-facing report. If you ever need the older exhaustive style for debugging or appendix generation, pass:

bash
  --report-profile full

Step 4 — Send the PDF report to the user via send_image MCP tool:

file_path: /workspace/group/sec_analysis/output/SEC_Analysis_Report.pdf
caption: "SEC Analysis Report"

Step 5 — Also send the ranking figure:

file_path: /workspace/group/sec_analysis/output/figures/ranking_summary.png
caption: "Construct Quality Ranking"

Step 6 — Summarize key findings in chat based on the pipeline's terminal output and the generated analysis_summary.json.

Expected Inputs

InputFormatRequired
SEC data filesCSV, TSV, TXT, XLSXAt least one
SEC plot imagesPNG, JPG, TIFFOptional
ZIP archive.zip containing aboveOptional

SEC Data File Format

The parser auto-detects columns. Common formats:

csv
Volume (mL),UV 280nm (mAU)
0.00,0.5
0.01,0.5
...

or tab-separated, or with headers like: ml, mAU, elution, absorbance, A280, UV280

Expected Outputs

sec_analysis/output/
├── SEC_Analysis_Report.pdf          # Complete PDF report with figures
├── figures/
│   ├── <construct>_annotated.png    # Annotated chromatogram per construct
│   ├── comparison_overlay.png       # Normalized overlay (if >1 construct)
│   └── ranking_summary.png          # Quality ranking bar chart
└── analysis_summary.json            # Machine-readable results

Pipeline Details

Peak Detection

  • Savitzky-Golay smoothing (window=15, order=3)
  • scipy.signal.find_peaks with adaptive height/prominence thresholds
  • FWHM via scipy.signal.peak_widths
  • Area via trapezoidal integration

Peak Classification (relative, no calibration assumed)

Elution RegionClassificationRationale
Near void volume (V0)AggregateToo large for column resolution
V0 + 0.5–2.5 mLLarge OligomerHigh-MW assemblies (rings, etc.)
V0 + 2.5–4.5 mLOligomerTrimers, tetramers
V0 + 4.5–6.5 mLDimerHeterodimer range
V0 + 6.5–9.0 mLMonomerIndividual chains
BeyondSmall MoleculeBuffer components, degradation

Default V0 = 8.0 mL (typical Superdex 200 10/300 GL). Override with --void-volume.

Quality Scoring (0–10)

  • Penalized for: aggregation, polydispersity, broad peaks
  • Rewarded for: sharp dominant peak, monodispersity
  • Score ≥7: high quality | 4–7: moderate | <4: poor

PDF Report Sections

  1. Title Page
  2. Executive Summary + Construct Table
  3. Background (project context)
  4. Methods (analysis parameters)
  5. Results (per-construct: peak table + annotated figure + interpretation)
  6. Comparative Analysis (overlay + ranking)
  7. Discussion (oligomerization patterns, success/failure)
  8. Conclusion & Recommendations (next experiments)

Practical Heuristics

  • Chain A: ~481 aa -> ~52.8 kDa (avg 110 Da/aa)
  • Chain B: ~243 aa -> ~26.7 kDa
  • Heterodimer (A+B): ~79.5 kDa
  • Ring of N dimers: ~79.5 × N kDa
  • Sharp single peak at expected Ve -> monodisperse, well-behaved
  • Broad peak or shoulder -> conformational heterogeneity or mixed states
  • Peak at void volume -> aggregation (bad sign)
  • Multiple peaks -> sample heterogeneity (may or may not be desired)

Important Guardrails

  • DO NOT assign exact molecular weights without a column calibration curve
  • DO NOT claim definitive oligomeric state from SEC alone
  • DO use conservative language: "apparent", "consistent with", "suggests"
  • DO flag uncertainty explicitly
  • DO recommend orthogonal validation (AUC, SEC-MALS, nsEM, native MS)
  • Peak classifications are relative to void volume — they are approximations

Anti-Patterns

  • Manually writing SEC analysis code instead of running sec_pipeline.py — the pipeline is tested and produces standardized, reproducible outputs including PDF; manual analysis will miss features and produce inconsistent results
  • Reporting exact MW from uncalibrated SEC data
  • Treating SEC profile as definitive proof of assembly state
  • Ignoring void volume peaks (aggregation must always be reported)
  • Over-interpreting minor peaks or shoulders

Troubleshooting

If sec_pipeline.py fails:

  1. Check the error message — it usually indicates missing data files or unrecognized column headers
  2. If the user's data has non-standard column names, pass --void-volume explicitly
  3. If fpdf2 is missing, install it first (Step 1)
  4. If no CSV/TSV data files are found in the ZIP, the pipeline will report this — ask the user for the correct data format

Only if the pipeline cannot handle the user's specific data format after troubleshooting should you fall back to manual analysis, and in that case explain why the pipeline was insufficient.

Related Skills

  • structural-biology — For 3D structure analysis of assembled proteins
  • proteomics — For mass spec validation of oligomeric states
  • bio-manuscript-pipeline — For writing full manuscripts incorporating SEC results
  • sds-gel-review — For complementary SDS-PAGE analysis
  • bio-figure-design — For designing publication figures from SEC data

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Sec Report?

SEC (size-exclusion chromatography) analysis with peak detection, oligomer classification, and publication-quality PDF report generation via Typst templates. Triggers on "SEC", "size exclusion", "chromatography", "oligomer analysis", "protein assembly", "SEC report".

Firwat Sec Report op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Sec Report besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Sec Report an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/BioTender-max/awesome-bio-agent-skills/tree/main/skills/bioclaw/sec-report an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Sec Report benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Sec Report benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Sec Report domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Sec Report gratis?

De Skill gëtt vum BioTender-max op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇