<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jonathan Alles on Medium]]></title>
        <description><![CDATA[Stories by Jonathan Alles on Medium]]></description>
        <link>https://medium.com/@jonathan.alles?source=rss-2787053d340b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AD9QZjGkKOFjf9tAKFZ3wA.jpeg</url>
            <title>Stories by Jonathan Alles on Medium</title>
            <link>https://medium.com/@jonathan.alles?source=rss-2787053d340b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 17:16:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jonathan.alles/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Professional Streamlit Styling with CSS and st_yled]]></title>
            <link>https://medium.com/@jonathan.alles/professional-streamlit-styling-with-css-and-st-yled-e5c470deaf46?source=rss-2787053d340b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5c470deaf46</guid>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[streamlit]]></category>
            <category><![CDATA[components]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Jonathan Alles]]></dc:creator>
            <pubDate>Wed, 28 Jan 2026 13:09:50 GMT</pubDate>
            <atom:updated>2026-01-28T13:09:50.150Z</atom:updated>
            <content:encoded><![CDATA[<p>Streamlit is an effective tool for building data apps, dashboards, and prototypes in Python. While basic theme properties like primary colors and fonts can be set, customizing specific components often requires additional techniques.</p><p>This post covers two approaches for styling Streamlit apps:</p><ol><li>Targeting components with CSS using the key attribute</li><li>A Python-centric alternative using the st_yled package</li></ol><h3>Styling with CSS and Component Keys</h3><p>For components that accept a key attribute, Streamlit assigns a corresponding CSS class (.st-key-&lt;your-key&gt;). This can be used to apply custom CSS to individual elements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*Kn0c4PpX_e6_F3yVPXHUzw.png" /><figcaption>A styled Streamlit container</figcaption></figure><h4>Example 1: Container with Background and Padding</h4><pre>st.html(&quot;&quot;&quot;<br>    &lt;style&gt;<br>    .st-key-my-container {<br>        background-color: #F6F6F6;<br>        padding: 16px;<br>    }<br>    &lt;/style&gt;<br>&quot;&quot;&quot;)<br><br>with st.container(key=&quot;my-container&quot;):<br>    st.write(&quot;This container has a custom background and border.&quot;)</pre><p>In this case the CSS class .st-key-my-container is automatically generated by Streamlit based on the component key. The container’s background and padding are adjusted via CSS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/252/1*gPXilcFejYD1US3aeM4Uug.png" /><figcaption>A styled Streamlit button</figcaption></figure><h4>Example 2: Button with a Custom Border</h4><pre>st.html(&quot;&quot;&quot;<br>    &lt;style&gt;<br>    .st-key-my-button button {<br>        border: 3px solid #000000;<br>    }<br>    &lt;/style&gt;<br>&quot;&quot;&quot;)<br><br>st.button(&quot;Click Me&quot;, key=&quot;my-button&quot;, type=&quot;primary&quot;)</pre><p>This snippet inserts a &lt;style&gt; block that targets .st-key-my-button button, allowing customization of the button’s border. The downside is evident: Each component requires different elements to be targeted with the right CSS selectors.</p><p>These techniques make it possible to customize the appearance of specific components without modifying global theme settings.</p><h3>Using the st_yled Package</h3><p>An alternative approach is to use the <a href="https://st-styled.evo-byte.com/">st_yled package</a>, which allows style properties to be specified directly as arguments in Python.</p><p>The st_yled philosophy is simple:</p><blockquote><strong><em>Write styles in Python right next to your components, no CSS.</em></strong></blockquote><p>The approach is to import st_yled, call .init() once, then use prefixed components to apply style properties, whenever necessary — while using standard Streamlit components and functions.</p><p>Instead of styling via CSS, you just pass style properties as arguments to components prefixed with sty. or st_yled.</p><h4>Example 1: Container with Style Properties</h4><pre>import st_yled as sty<br><br>sty.init()<br><br>with sty.container(width=&#39;content&#39;, padding=16, background_color=&#39;#F6F6F6&#39;):<br>    st.write(&quot;Hello from Container!&quot;)</pre><p>Here, style properties such as background_color and padding are passed directly to the container component in Python, without requiring explicit CSS.</p><h4>Example 2: Button with Custom Styling</h4><pre>sty.button(<br>    &quot;Click Me&quot;,<br>    type=&quot;primary&quot;,<br>    border_color=&#39;#000000&#39;,<br>    border_style=&#39;solid&#39;,<br>    border_width=3<br>)</pre><p>This example shows how a button can be styled with border properties through the st_yled API. The results are identical to the custom CSS styling in the examples above.</p><h3>Trying new Styles Using <strong>st_yled Studio</strong></h3><p><a href="https://styled-studio.streamlit.app/">st_yled Studio</a> is a companion web application built in Streamlit that allows users to interactively explore possible style customizations for common components.</p><p>Users can select a component, adjust style parameters, and then export either:</p><ul><li>Python code to insert into your Streamlit app</li><li>A CSS file to consistently apply styling to all components (this file is automatically loaded by st_yled)</li></ul><p>This tool can aid in developing consistent visual designs, branding or testing styles before integrating them into code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*vUFTdWl6cjsn5jjYF0Kd1g.png" /><figcaption>Configure new component styles in st_yled studio</figcaption></figure><blockquote>Post you ideas for new styling options and components below!</blockquote><h4>Links</h4><p>st-styled Python Package on <a href="https://pypi.org/project/st-styled/">PyPI</a></p><p>st_yled <a href="https://st-styled.evo-byte.com/">Documentation</a></p><p><a href="https://styled-studio.streamlit.app/elements">st_yled Studio App</a></p><p>st_yled on <a href="https://github.com/EvobyteDigitalBiology/st-styled">Github</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5c470deaf46" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Single‑Cell Genomics 101: Data Formats, QC and Preprocessing]]></title>
            <link>https://medium.com/@jonathan.alles/single-cell-genomics-101-data-formats-qc-and-preprocessing-121dcbbcfc0c?source=rss-2787053d340b------2</link>
            <guid isPermaLink="false">https://medium.com/p/121dcbbcfc0c</guid>
            <category><![CDATA[data-formats]]></category>
            <category><![CDATA[omics]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[single-cell-genomics]]></category>
            <category><![CDATA[cell-ranger]]></category>
            <dc:creator><![CDATA[Jonathan Alles]]></dc:creator>
            <pubDate>Fri, 07 Nov 2025 19:48:11 GMT</pubDate>
            <atom:updated>2025-11-07T20:06:15.560Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qu5HcM1OpHgPmXwAIyXR5w.png" /><figcaption>Researchers analyze scRNA-Seq on a computer screen in a laboratory.</figcaption></figure><p>By <a href="https://www.evo-byte.com/bioinformatics">EVOBYTE</a> Your partner in bioinformatics</p><h3>Introduction</h3><p>If you’ve ever been handed a folder of FASTQ files and asked to “run the single‑cell pipeline,” this guide is for you. In scRNA‑seq, good results start with understanding the core data formats, then applying sensible quality control (QC), normalization, and (if needed) batch correction. We’ll walk from raw reads to an analysis‑ready expression matrix, demystify common metrics like “percent mitochondrial,” and explain where tools like Cell Ranger and h5ad fit into a modern workflow.</p><h3>From FASTQ to expression matrices: the file formats you’ll meet</h3><p>Sequencing kicks off with FASTQ: a plain‑text format that stores each read and its per‑base quality scores. It’s the de facto starting point for most next‑generation sequencing, including scRNA‑seq. After alignment, reads are typically written to BAM, a compressed, indexed binary form of SAM that carries alignment info plus tags for cell barcodes and UMIs in single‑cell libraries. These tags (e.g., CB for the corrected cell barcode, UB for the corrected UMI) are critical for attributing reads to the right cell and molecule.</p><p>From there, the core product for downstream analysis is the expression matrix: counts of molecules (UMIs) per gene per cell. 10x Genomics pipelines output this as either a sparse MEX directory (matrix.mtx.gz + features.tsv.gz + barcodes.tsv.gz) or a compact HDF5 (.h5) file; both encode a “gene‑barcode” or “digital gene expression (DGE)” matrix. Many Python workflows prefer h5ad, the AnnData container that keeps counts, cell metadata (obs), gene metadata (var), and analysis results together in one file. This keeps your data tidy and speeds I/O on large datasets.</p><p>Platform pipelines like Cell Ranger automate this journey. Given FASTQs, cellranger count performs alignment, barcode error correction, UMI de‑duplication, and cell calling, then writes a filtered feature‑barcode matrix you can load into Seurat or Scanpy. Crucially, Cell Ranger annotates BAMs with barcode/UMI tags and applies transcript‑aware rules when counting reads, which is why most labs treat it as the “source of truth” for raw processing.</p><p>Example:<br>cellranger count --id=sampleA --transcriptome=/refs/GRCh38 --fastqs=/data/fastq --sample=sampleA --create-bam=true</p><h3>Quality control metrics that matter (and why)</h3><p>QC sifts real cells from empty droplets and damaged captures. Four metrics show up everywhere:</p><ul><li>Number of UMIs per cell (often nCount_RNA) and number of genes per cell (nFeature_RNA). Very low values suggest poor capture; extreme highs can flag doublets.</li><li>Fraction of aligned reads: proportion of reads mapping confidently to the transcriptome; low alignment may signal contamination or reference mismatch.</li><li>Fraction mitochondrial (percent.mt): the share of UMIs from mitochondrial genes (e.g., MT‑prefixed in human). High values often indicate stressed or lysed cells.</li><li>Biology‑specific fractions: hemoglobin genes (e.g., HBB) spike in red blood cells; ribosomal genes (RPS/RPL) can dominate in some preparations-both are useful monitors during filtering.</li></ul><p>In practice, analysts visualize distributions and set study‑specific thresholds instead of hard rules. Seurat, Scanpy, and Bioconductor’s OSCA recommend exploring percent.mt alongside nFeature_RNA and nCount_RNA to avoid removing bona fide cell types with naturally unusual profiles.</p><p>Quick example (Seurat):<br>pbmc[[&quot;percent.mt&quot;]] &lt;- PercentageFeatureSet(pbmc, pattern = &quot;^MT-&quot;)<br>You&#39;d then inspect violin/scatter plots and subset cells by sensible cutoffs for your dataset and species.</p><h3>Normalization, scaling, and batch correction in scRNA‑seq</h3><p>Even after QC, cells differ in sequencing depth. That’s why we normalize. A common baseline is library‑size normalization to a target sum (e.g., counts per 10k) followed by log1p; this stabilizes variance enough for PCA and clustering in many datasets. Python users will recognize this as normalize_total + log1p in Scanpy; R users may use NormalizeData in Seurat.</p><p>For UMI data, sctransform (SCTransform in Seurat) often performs better by modeling counts with a regularized negative binomial and returning variance‑stabilized residuals. It removes depth effects without ad‑hoc log transforms and tends to yield cleaner separation for downstream steps. In Seurat v5, sctransform v2 is the default for many workflows.</p><p>Scaling is separate: it centers and scales features (genes) so highly expressed genes don’t dominate PCs purely by magnitude. Many pipelines scale the matrix used for PCA while keeping raw counts in a separate layer for differential expression.</p><p>Finally, a short definition of batch correction: it’s the process of removing technical differences between runs, lanes, chemistries, or labs so the same cell type looks similar across “batches.” Methods range from graph‑based (BBKNN), to integration anchors (Seurat), to latent‑space alignment (Harmony). Recent evaluations caution that over‑correction can introduce artifacts; method choice and diagnostics matter. Harmony has performed strongly in at least one 2025 benchmark, but you should validate with known biology and uncorrected views.</p><h3>Summary / Takeaways</h3><ul><li>Know your files: FASTQ and BAM carry reads and alignments; DGE matrices (MEX/HDF5) feed analysis; h5ad bundles data and metadata for efficient iteration.</li><li>Treat QC as exploratory: use UMIs, genes per cell, alignment, percent mitochondrial, and context‑specific markers like HBB or ribosomal content to find reasonable cutoffs.</li><li>Normalize before you compare cells: start with library‑size + log1p or adopt sctransform for UMI data; then scale for PCA.</li><li>Be conservative with batch correction: it’s powerful but can distort signals-always check embeddings and marker genes both before and after correction.</li></ul><p>Have a dataset on your desk right now? Start by loading the feature‑barcode matrix, compute percent.mt, plot QC metrics, and decide thresholds with your team. The rest-normalization, scaling, and integration-will go much smoother once QC is solid.</p><h3>Further Reading</h3><p>Missing the first part of the <a href="https://evo-byte.com/singlecell-genomics-101-technologies-spatial-context-and-practical-workflows-with-seurat-scanpy-and-bioconductor/">101 Series</a>?</p><ul><li><a href="https://www.10xgenomics.com/support/software/cell-ranger/latest/analysis/cr-gex-count">10x Genomics: The Cell Ranger count pipeline</a></li><li><a href="https://www.10xgenomics.com/support/software/cell-ranger/8.0/analysis/outputs/cr-outputs-mex-matrices">10x Genomics: Feature–barcode matrix formats (MEX/HDF5)</a></li><li><a href="https://anndata.readthedocs.io/en/stable/fileformat-prose.html">AnnData/h5ad format guide</a></li><li><a href="https://bioconductor.org/books/3.12/OSCA/quality-control.html">OSCA Book: Quality control in scRNA‑seq</a></li><li><a href="https://genomebiology.biomedcentral.com/articles/10.1186/s13059-019-1874-1">Hafemeister &amp; Satija 2019: sctransform normalization</a></li></ul><p><em>Originally published at </em><a href="https://evo-byte.com/single%e2%80%91cell-genomics-101-from-fastq-to-h5ad-data-formats-qc-and-preprocessing-for-scrna%e2%80%91seq/"><em>https://evo-byte.com</em></a><em> on November 7, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=121dcbbcfc0c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Immunoreceptor Sequencing: Methods and Bioinformatics]]></title>
            <link>https://medium.com/@jonathan.alles/immunoreceptor-sequencing-methods-and-bioinformatics-e3d2144c2ea8?source=rss-2787053d340b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3d2144c2ea8</guid>
            <category><![CDATA[tcrs]]></category>
            <category><![CDATA[bcr]]></category>
            <category><![CDATA[immunoreceptor]]></category>
            <category><![CDATA[sequencing]]></category>
            <category><![CDATA[immunotherapy]]></category>
            <dc:creator><![CDATA[Jonathan Alles]]></dc:creator>
            <pubDate>Wed, 05 Nov 2025 18:58:06 GMT</pubDate>
            <atom:updated>2025-11-05T19:18:52.822Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FrNzSO7V4K7X3ZsNFVl7DA.png" /><figcaption>Scientists engaged in antibody and TCR research using advanced technology</figcaption></figure><p>By <a href="https://www.evo-byte.com/bioinformatics">EVOBYTE</a> Your partner in bioinformatics</p><h3>Introduction</h3><p>Every T and B cell carries a unique “barcode” in its antigen receptor. Sequencing these barcodes-called adaptive immune receptor repertoire sequencing, or AIRR‑seq-lets us read immune history and forecast immune behavior. Two receptors dominate the field: T‑cell receptors (TCRs) and B‑cell receptors (BCRs). Both are created by V(D)J recombination, which stitches Variable (V), Diversity (D), and Joining (J) gene segments into a novel sequence. The most informative stretch is the CDR3 region, where antigen specificity is concentrated. In practice, AIRR‑seq delivers “clonotypes” (groups of cells sharing the same receptor), diversity metrics, and sometimes paired chains, all of which fuel biomarker discovery, immuno‑oncology, and vaccine R&amp;D. Community standards such as MiAIRR and the AIRR Data Commons are now central to making these data reusable and comparable across studies.</p><h3>From short reads to long reads: how we sequence TCRs and BCRs</h3><p>Most projects still rely on short‑read targeted amplicons with unique molecular identifiers (UMIs) to correct PCR/sequencing errors, or on single‑cell V(D)J assays that capture paired chains and gene expression. 10x Genomics’ 5′ immune profiling is the de facto single‑cell approach; it reconstructs full‑length V(D)J transcripts per cell and reports clonotypes while specifying read lengths and depth needed to span the V‑J junction.</p><p>Long‑read platforms (PacBio HiFi and Oxford Nanopore) are rising because they sequence complete receptors-retaining isotype information for BCRs and the exact arrangement of framework and CDR regions. Recent protocols like FLIRseq report accurate, quantitative full‑length IR profiling and highlight advantages over CDR3‑only short‑read views. Still, long‑reads demand careful error‑correction and thoughtful benchmarking before clinical use.</p><p>On the analysis side, open tools such as MiXCR and IgBLAST are workhorses. MiXCR aligns reads, assembles clonotypes by CDR3 or VDJRegion, performs barcode‑aware error correction for UMI/single‑cell data, and exports AIRR‑compliant tables. IgBLAST remains a standard for V, D, and J gene assignment and CDR delineation against curated germline databases.</p><h3>Bioinformatics challenges that make or break AIRR studies</h3><p>AIRR‑seq is not “just sequencing.” Three pitfalls show up repeatedly:</p><ul><li>Error and bias: PCR jackpotting and sequencing errors inflate rare clonotypes. UMIs and quality‑guided clustering help, but only if your pipeline uses them correctly. MiXCR’s multi‑layer correction is one practical safeguard.</li><li>Germline ambiguity: Novel or poorly cataloged germline alleles can mislead V/D/J calls and SHM rates. IgBLAST and AIRR standards evolve to improve allele coverage and reporting, but documenting metadata via MiAIRR remains essential for reproducibility.</li><li>Clonotype definition and pairing: In bulk data, defining a clone by CDR3 alone can under‑ or over‑split true lineages, especially for hypermutated BCRs. Single‑cell V(D)J recovers true chain pairing and mitigates this, but requires adequate read length and depth across the V‑J junction to avoid dropouts.</li></ul><p>For downstream exploration, R ecosystems like scRepertoire/immunarch integrate V(D)J with single‑cell expression, enabling clonality and diversity comparisons across conditions.</p><p>Key terms you’ll see in methods and reports-and why they matter:<br> — CDR3: primary specificity hotspot; anchors clonotype definitions.<br> — UMI: tracks unique molecules to correct amplification bias.<br> — SHM (somatic hypermutation): BCR‑specific edits that map affinity maturation; crucial in vaccine studies.<br> — Clonotype: the analytical unit linking sequence to cell expansion.<br> — AIRR/MiAIRR: data and metadata standards that make results comparable and shareable.</p><h3>Why this matters for immuno‑oncology, biomarkers, and vaccines</h3><p>In oncology, TCR/BCR repertoire features are being tested as predictive biomarkers and for pharmacodynamic readouts under checkpoint blockade. Single‑cell V(D)J plus RNA profiles can track intratumoral clonal expansion and phenotype shifts, supporting mechanism‑of‑action studies and combination strategies.</p><p>In hematologic malignancies, clinical assays already leverage receptor sequencing to quantify measurable residual disease (MRD). The FDA’s de novo authorization of clonoSEQ underscored the role of NGS‑based receptor tracking in guiding care decisions by detecting one cancer cell among a million. That decision paved the way for broader MRD applications and set performance expectations for similar tests.</p><p>For vaccines, repertoire sequencing reveals how BCR lineages expand and mature after prime and boost, helping teams compare platforms, select adjuvants, and refine immunogen design. Emerging long‑read methods add isotype and full‑length context, improving insights into class switching and mutation trajectories that short‑reads might miss.</p><h3>Summary / Takeaways</h3><p>AIRR‑seq turns immune receptors into analyzable data-clonotypes, diversity, and chain pairing-that accelerate biomarker discovery and mechanism‑driven therapeutics. Today’s pragmatic stack combines UMI‑aware targeted amplicons, single‑cell V(D)J for pairing, and increasingly, long‑reads for full‑length context. Lean on community standards (MiAIRR, AIRR Data Commons) and validated tools (MiXCR, IgBLAST) to keep analyses robust and comparable. If you’re starting a project this quarter, define clonotype rules up front, budget depth to span the V‑J junction, and plan for metadata that meets MiAIRR-your future self (and reviewers) will thank you.</p><h3>Further Reading</h3><ul><li><a href="https://docs.airr-community.org/en/stable/miairr/introduction_miairr.html">Introduction to MiAIRR (AIRR Community Standards)</a></li><li><a href="https://mixcr.com/mixcr/reference/overview-analysis-overview/">MiXCR analysis overview</a></li><li><a href="https://www.ncbi.nlm.nih.gov/igblast/index.cgi">IgBLAST: immunoglobulin/TCR V domain analysis (NCBI)</a></li><li><a href="https://www.10xgenomics.com/support/universal-five-prime-gene-expression/documentation/steps/sequencing/sequencing-requirements-for-single-cell-v-d-j">10x Genomics single‑cell V(D)J sequencing requirements</a></li><li><a href="https://academic.oup.com/clinchem/advance-article-abstract/doi/10.1093/clinchem/hvae138/7759349">Full‑length immune repertoire with FLIRseq (Clinical Chemistry, 2025)</a></li></ul><p><em>Originally published at </em><a href="https://evo-byte.com/immunoreceptor-sequencing-in-2025-methods-bioinformatics-and-why-it-matters-for-drug-discovery/"><em>https://evo-byte.com</em></a><em> on November 5, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3d2144c2ea8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing FAIR Data Principles In Modern Digital Labs]]></title>
            <link>https://medium.com/@jonathan.alles/implementing-fair-data-principles-in-modern-digital-labs-f6e85699cba1?source=rss-2787053d340b------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6e85699cba1</guid>
            <category><![CDATA[laboratory]]></category>
            <category><![CDATA[fair-data]]></category>
            <dc:creator><![CDATA[Jonathan Alles]]></dc:creator>
            <pubDate>Tue, 04 Nov 2025 18:06:16 GMT</pubDate>
            <atom:updated>2025-11-04T18:27:56.773Z</atom:updated>
            <content:encoded><![CDATA[<p>By <a href="https://www.evo-byte.com/">EVOBYTE</a> Your partner in digital life sciences</p><p>Your lab’s data is valuable only if people can find it, trust it, and reuse it. FAIR Data Principles help you turn scattered files into reliable knowledge that accelerates decisions and supports compliance.</p><h3>Executive Summary</h3><ul><li>FAIR means Findable, Accessible, Interoperable, and Reusable-guidelines to make data useful for people and machines.</li><li>Modern labs benefit through faster decisions, fewer repeat experiments, and stronger audit readiness.</li><li>Apply FAIR to Instrument Data, Log Data, and analysis outputs by capturing context at the source and standardizing formats and identifiers.</li><li>Start small: define minimum metadata, automate key exports, stand up a simple catalog, and measure progress with FAIR indicators.</li><li>Choose cloud, on‑premises, or hybrid based on scale, compliance, and instrument proximity; use open formats to avoid lock‑in.</li></ul><p>A clear plan and a few practical tools can turn “file hunting” into confident, searchable science.</p><h3>What The FAIR Principles Are-And Are Not</h3><p>FAIR stands for Findable, Accessible, Interoperable, and Reusable. These principles guide how to organize digital assets-data files, metadata, methods, code, and workflows-so people and software can discover, understand, and use them. FAIR is not a single product or regulation. It is a direction for Good Data Management that you implement through policies, standards, and technology that fit your lab.</p><p>Plain‑language definitions:<br> — <strong>Findable</strong>: You can locate the right dataset quickly using searchable catalogs, clear titles, and stable identifiers that do not change.<br> — <strong>Accessible</strong>: There is a secure, auditable way to get the data and its context. Access can be controlled and time‑limited.<br> — <strong>Interoperable</strong>: Data uses shared structures, formats, and vocabulary so it works with other datasets and common tools.<br> — <strong>Reusable</strong>: Enough context-who, what, when, how, and quality-travels with the data so others can use it without guesswork.</p><p>Modern labs also need machine‑actionable data so computers can perform routine discovery and retrieval with minimal human help.</p><h3>Why FAIR Data Principles Matter To Lab Managers And Teams</h3><p>FAIR reduces friction across science, quality, and IT by enabling faster decisions through tagged and cataloged data, which minimizes time spent searching and maximizes time spent analyzing. Clear provenance and context build trust in past results, reducing the need for repeat runs. Versioning and audit trails strengthen quality and compliance, making inspections and client audits simpler. Shared formats and vocabulary enhance collaboration and reduce rework across sites and partners.</p><p>By ensuring that data remains usable as instruments, software, and teams evolve, FAIR also helps future-proof laboratory operations. As labs grow, these practices prevent slowdowns and protect overall quality.</p><h3>FAIR In Practice: Instrument Data</h3><p>Instrument Data-chromatograms, spectra, images, plate‑reader outputs, microscopy series, flow cytometry files-drives most lab decisions. Applying FAIR here removes bottlenecks.</p><ul><li>Make It Findable: Assign stable identifiers to every dataset. Link each run to sample ID, method ID, and batch ID. Register each dataset in a searchable catalog with fields like instrument model, method version, operator, project, and timestamp.</li><li>Make It Accessible: Provide role‑based access and clear links to both raw files and metadata. Keep metadata available even when raw files move to archive.</li><li>Make It Interoperable: Prefer open or well‑documented formats (for example, export peak tables to CSV or JSON). Use controlled vocabulary for analytes, instruments, and units.</li><li>Make It Reusable: Capture context automatically at acquisition-method version, column lot, calibration status, ambient conditions, firmware and software versions. Include QC flags and suitability checks.</li></ul><p>Practical example: A QC lab connects LC‑MS instruments to a small ingestion service that detects new runs, extracts key metadata, exports peak tables to CSV, computes standard QC metrics, and registers each dataset in the catalog. A stability‑study scientist can find all runs for “Project Z” and “Batch 24‑001” in seconds without knowing which instrument produced them.</p><p>To keep momentum, start with one instrument family and expand.</p><h3>FAIR In Practice: Log Data</h3><p>Log Data includes instrument events, environmental logs, LIMS/ELN audit trails, application logs, and maintenance records. Treated with FAIR, logs become a powerful source of evidence.</p><ul><li>Findable: Index logs by source, time, instrument serial number, and event type in a searchable store.</li><li>Accessible: Control and audit access; provide read‑only, time‑boxed views for auditors.</li><li>Interoperable: Store logs in structured, machine‑readable formats such as JSON with a shared schema (timestamp, source, severity, event, related IDs).</li><li>Reusable: Link logs to Instrument Data via persistent identifiers and add plain‑language summaries for reviews.</li></ul><p>Practical example: Investigating a GC‑FID drift, a quality engineer filters for temperature alarms on a specific instrument and overlays them with failed runs. The correlation plus maintenance records (fan replacement) closes the deviation with evidence, not guesswork.</p><p>Treat logs as first‑class data; they speed up investigations and audits.</p><h3>FAIR In Practice: Analysis Outputs And Code</h3><p>Analysis outputs-tables, reports, figures, and models-are where decisions happen. FAIR makes those decisions reproducible and defensible.</p><ul><li>Findable and Accessible: Register every output with a stable identifier and clear links to the source datasets and method or script.</li><li>Interoperable: Standardize output formats (for example, CSV or Parquet for tables; PDF or HTML for reports; PNG or SVG for figures). Keep column names and units consistent with upstream data.</li><li>Reusable: Capture provenance-who ran what, when, and with which code version and environment. Store environment files so colleagues can rerun analyses months later.</li></ul><p>Practical example: A potency model in Python lists the training set, preprocessing commit hash, package versions, and model parameters in the catalog entry. A new colleague can reproduce results a year later without reverse‑engineering spreadsheets.</p><p>A little structure here prevents rework and speeds validation.</p><h3>A Starter Roadmap For FAIR Implementation</h3><p>You do not need to do everything at once. Start small, deliver value, and grow.</p><ul><li>Phase 1: Discover And Prioritize<br> Identify where Instrument Data, Log Data, and analysis outputs live. Select two high‑value use cases, such as “Find all HPLC results for sample X in under one minute.” Define minimum metadata for each asset type.</li><li>Phase 2: Establish Good Practice And Quick Wins<br> Assign data stewards, write a short access policy, and agree on naming. Create simple metadata templates and controlled lists. Automate capture at the source to reduce manual typing.</li><li>Phase 3: Build The Data Backbone<br> Deploy a catalog (or enhance your LIMS/ELN) as the system of record for dataset registration and discovery. Define tiered storage and ensure metadata stays available when data is archived. Integrate access control and log all activity. Version methods and workflows.</li><li>Phase 4: Measure And Improve<br> Track FAIR indicators such as “percentage of datasets with persistent IDs and minimum metadata” and review quarterly. Expand as the team matures.</li></ul><p>Short, visible wins build trust and adoption.</p><h3>Governance And Quality: Embedding Good Practice</h3><p>FAIR practices take hold when they become part of daily work rather than added paperwork. This starts with clearly defined roles and responsibilities-appointing data stewards for key domains such as analytical chemistry, bioassay, and imaging, who manage vocabulary, templates, and change control. Standard operating procedures should be concise and specific, outlining how to register method versions, tag QC status, or request archived data. Training sessions held twice a year can reinforce consistent naming, identifiers, and data access practices. Regular monthly checks help maintain audit readiness by identifying and correcting orphaned datasets or broken links before they become issues.</p><p>Retention and legal considerations should define asset-specific retention periods and automate lifecycle rules, ensuring that data remains FAIR while respecting IP and privacy restrictions. Keeping the process light, consistent, and focused on value helps minimize resistance and embed FAIR principles into everyday operations.</p><h3>What To Look For In LIMS/ELN And Platforms</h3><p>Your LIMS (Laboratory Information Management System), ELN (Electronic Lab Notebook), and data platforms should make FAIR automatic.</p><ul><li>Metadata At Source: Capture Instrument Data parameters and Log Data during acquisition or import.</li><li>Strong Identifiers: Use persistent IDs for samples, methods, datasets, and analysis runs-also present in filenames.</li><li>Open Formats And APIs: Export to non‑proprietary formats and integrate via documented APIs.</li><li>Access Control And Audit: Role‑based access with detailed logs and simple audit reports.</li><li>Catalog And Search: Index common lab fields (project, assay, instrument, time range, QC status) with fast filtering.</li><li>Provenance And Versioning: Record who did what, when, with which instrument or software version and parameters.</li><li>FAIR Assessment: Dashboards that track FAIR indicators across datasets.</li></ul><p>Select tools that reduce manual steps and fit your workflows.</p><h3>Common Questions From Lab Leaders</h3><p>Does FAIR mean data must be public?<br> No. FAIR means authorized people and systems can find and use data with proper controls. Data can be FAIR and still restricted for IP or privacy.</p><p>What is the difference between FAIR and a data lake?<br> A data lake is storage. FAIR is how data is described, connected, and governed. A lake without metadata, identifiers, and policy is just a big folder.</p><p>How do we measure progress?<br> Track simple indicators such as percentage of datasets with persistent IDs, minimum metadata, and recorded QC status. Use a recognized maturity model to guide improvements.</p><h3>Bringing It All Together</h3><p>Implementing FAIR Data Principles is about aligning people, process, and technology so Instrument Data, Log Data, and analysis outputs become trusted, reusable assets. The payoff is concrete: faster investigations, fewer repeats, and smoother audits. Start small, automate early, and measure progress.</p><h3>How EVOBYTE Can Help</h3><p>At EVOBYTE, we design and implement FAIR‑by‑design data management for laboratories. From instrument connectors that capture high‑quality metadata at the source, to catalogs, provenance, and FAIR indicators in cloud, on‑premises, or hybrid setups, we deliver the practical building blocks your teams need. If you are planning or accelerating a FAIR rollout-across Instrument Data, Log Data, and analysis workflows-we would be glad to help. Contact us at info@evo-byte.com to discuss your project.</p><h3>References</h3><ul><li>Wilkinson et al. The FAIR Guiding Principles for scientific data management and stewardship. Scientific Data (2016). <a href="https://dash.harvard.edu/handle/1/26860037">https://dash.harvard.edu/handle/1/26860037</a></li><li>GO FAIR. FAIR Principles Overview And FAIRification Guidance. <a href="https://www.go-fair.org/fair-principles">https://www.go-fair.org/fair-principles</a></li><li>RDA FAIR Data Maturity Model. Indicators And Guidelines For FAIR Assessment. <a href="https://doi.org/10.5334/dsj-2020-041">https://doi.org/10.5334/dsj-2020-041</a></li><li>ELIXIR FAIR Cookbook. Practical “Recipes” To Implement FAIR In Life Science Labs. <a href="https://elixir-europe.org/services/fair-cookbook">https://elixir-europe.org/services/fair-cookbook</a></li></ul><p><em>Originally published at </em><a href="https://evo-byte.com/implementing-fair-data-principles-in-modern-digital-labs/"><em>https://evo-byte.com</em></a><em> on November 4, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6e85699cba1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Single‑Cell Genomics 101: Technologies and workflows]]></title>
            <link>https://medium.com/@jonathan.alles/single-cell-genomics-101-technologies-and-workflows-e65edadf3472?source=rss-2787053d340b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e65edadf3472</guid>
            <category><![CDATA[scanpy]]></category>
            <category><![CDATA[seurat]]></category>
            <category><![CDATA[single-cell-sequencing]]></category>
            <category><![CDATA[spatial-omics]]></category>
            <dc:creator><![CDATA[Jonathan Alles]]></dc:creator>
            <pubDate>Mon, 03 Nov 2025 19:47:51 GMT</pubDate>
            <atom:updated>2025-11-03T20:26:44.526Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g07NK1YrUFrcZuXLSJ8Rnw.png" /><figcaption>Scientists analyzing digital single cells</figcaption></figure><p>By <a href="https://www.evo-byte.com/bioinformatics">EVOBYTE</a> Your partner in bioinformatics</p><h3>Introduction</h3><p>Single‑cell genomics lets us read out molecular signals one cell at a time, instead of averaging them away in bulk measurements. That simple shift unlocks a lot: rare cell types pop into view, cell states become trackable, and tissue heterogeneity turns into something you can quantify. In this Part 1 primer, we’ll ground the core ideas, contrast single‑cell with spatial transcriptomics, walk through a memorable PBMC (blood) example, and map the main analysis frameworks you’ll actually use day to day. We’ll close with a teaser for Part 2 on data formats, preprocessing, and QC.</p><p>Keywords to watch for:</p><ul><li>scRNA‑seq (single‑cell RNA‑seq)</li><li>scATAC‑seq (single‑cell chromatin accessibility)</li><li>CITE‑seq (RNA+protein)</li><li>PBMC (peripheral blood mononuclear cells</li><li>UMI (unique molecular identifier)</li><li>UMAP (a 2‑D embedding)</li><li>AnnData/H5AD (common Python data structure/file)</li><li>SingleCellExperiment (R/Bioconductor class)</li><li>Seurat (R)</li><li>Scanpy (Python)</li><li>spatial transcriptomics (ST).</li></ul><p>These terms are now standard in discovery biology and translational R&amp;D because they tie cell‑level resolution to interpretable, reproducible workflows that scale.</p><h3>The promise of single‑cell genomics and core technologies</h3><p>At its heart, scRNA‑seq measures gene expression per cell. Modern droplet systems encapsulate single cells with barcoded beads so every RNA molecule gets a cell‑specific and molecule‑specific UMI. That barcoding underwrites robust quantification and enables large experiments across tissues and conditions. Commercial platforms combine cell partitioning, barcoding, and library prep into streamlined workflows that routinely capture tens of thousands of cells and support multi‑omic readouts (e.g., scATAC‑seq or RNA+protein via CITE‑seq).</p><p>Why it matters: single‑cell readouts change the questions you can ask. Instead of asking “Is this pathway up?” you can ask “Which rare subpopulation drives resistance?” Or “How do cell states shift after treatment?” These are the kinds of questions driving target discovery, biomarker programs, and patient stratification.</p><h3>Single‑cell versus spatial transcriptomics: complementary lenses</h3><p>Single‑cell assays excel at deep, unbiased discovery, but they lose where each cell lived in the tissue. Spatial transcriptomics (ST) preserves that context, measuring gene expression in situ-either by sequencing captures on barcoded arrays or by imaging‑based chemistries that read out predefined gene panels. In practice, labs pair the two: use scRNA‑seq to define high‑resolution cell states, then map those states back into tissue with ST to see neighborhoods and niches.</p><p>Trade‑offs are real. Spatial platforms vary in resolution, sensitivity, and throughput; some capture transcriptomes across spots that may contain multiple cells, while imaging‑based methods reach nearer single‑cell resolution but on targeted gene sets. The upshot for analysis teams is to plan for deconvolution, integration, and cross‑modal QC when fusing single‑cell and spatial data.</p><h3>A quick example: decoding blood with PBMCs</h3><p>If you’re new to the field, the canonical “hello world” dataset is 3k PBMCs from a healthy donor. You’ll see major immune compartments-T cells, B cells, NK cells, monocytes-separate cleanly after basic preprocessing, normalization, dimensionality reduction (PCA → UMAP), and graph‑based clustering. The same logic applies to patient samples; the biology just gets richer</p><p>Two minimal snippets show how similar the workflows feel in R (Seurat) and Python (Scanpy):</p><p>R (Seurat):</p><pre>library(Seurat)<br>pbmc &lt;- Read10X_h5(&quot;pbmc3k.h5&quot;)<br>pbmc &lt;- CreateSeuratObject(pbmc)<br>pbmc &lt;- NormalizeData(pbmc) |&gt; FindVariableFeatures() |&gt; ScaleData() |&gt; RunPCA()<br>pbmc &lt;- FindNeighbors(pbmc, dims = 1:10) |&gt; FindClusters(resolution = 0.5) |&gt; RunUMAP(dims = 1:10)</pre><p>Python (Scanpy):</p><pre>import scanpy as sc<br>adata = sc.datasets.pbmc3k()<br>sc.pp.normalize_total(adata); sc.pp.log1p(adata); sc.pp.highly_variable_genes(adata, n_top_genes=2000)<br>sc.pp.scale(adata); sc.tl.pca(adata); sc.pp.neighbors(adata, n_pcs=10)<br>sc.tl.leiden(adata, resolution=0.5); sc.tl.umap(adata)</pre><p>These produce clusters you can annotate with immune marker genes and compare across conditions or donors. ( <a href="https://satijalab.org/seurat/archive/v4.3/pbmc3k_tutorial">satijalab.org</a>)</p><h3>Workflows and frameworks you’ll actually use</h3><p>Most teams standardize on one of three mature ecosystems:</p><ul><li>Seurat (R): batteries‑included, great community vignettes, strong integration tools. Ideal if your team is R‑first or already uses Bioconductor.</li><li>Scanpy (Python): builds on AnnData/H5AD, scales well, easy to compose with the broader PyData/ML stack.</li><li>Bioconductor (R) via the OSCA book: emphasizes robust data structures (SingleCellExperiment), method transparency, and reproducibility across packages.</li></ul><p>Across these, the standard analysis arc is consistent: load raw counts, QC (mitochondrial fraction, doublets, ambient RNA), normalize and variance‑stabilize, choose highly variable genes, reduce dimensions, build a neighbor graph, cluster, embed (UMAP), and annotate. For spatial data, add steps for spot deconvolution and alignment to histology. Reviews and living “best practices” resources can help you pick defaults and avoid gotchas as datasets scale.</p><p>Industry relevance of the keywords you’ll see in docs and papers:</p><ul><li>UMIs make molecule‑level counting comparable across batches and sites-essential for regulated studies.</li><li>AnnData/H5AD and SingleCellExperiment formalize metadata and matrices, which simplifies handoffs between bioinformatics and data science teams.</li><li>UMAP/t‑SNE enable fast triage and exploratory QC in dashboards before you commit to deeper modeling.</li></ul><h3>Summary / Takeaways</h3><p>Single‑cell genomics gives you cellular resolution; spatial transcriptomics returns the map. Used together, they reveal not just what cells exist, but where they act and interact. Operationally, you’ll be productive fastest by picking a primary framework (Seurat, Scanpy, or Bioconductor) and standardizing a few opinionated pipelines around it. In Part 2, we’ll get hands‑on with data formats (H5AD, SingleCellExperiment, loom), practical preprocessing (filtering, normalization, batch correction), and QC patterns you can automate for routine studies. If you could only automate one QC today, what would it be: doublet detection, ambient RNA removal, or annotation drift checks?</p><h3>Further Reading</h3><ul><li>10x Genomics: Chromium Single Cell Platform (assays and multi‑omic options). (<a href="https://www.10xgenomics.com/platforms/chromium">10xgenomics.com</a>)</li><li>Seurat Guided Clustering Tutorial (PBMC 3k). (<a href="https://satijalab.org/seurat/archive/v4.3/pbmc3k_tutorial">satijalab.org</a>)</li><li>Scanpy PBMC3k tutorial (preprocessing → clustering → markers). (<a href="https://scanpy-tutorials.readthedocs.io/en/multiomics/pbmc3k.html">scanpy-tutorials.readthedocs.io</a>)</li><li>Orchestrating Single‑Cell Analysis (OSCA) with Bioconductor (open book). (<a href="https://bioconductor.org/books/3.20/OSCA/">bioconductor.org</a>)</li><li>The expanding vistas of spatial transcriptomics (<a href="https://www.nature.com/articles/s41587-022-01448-2">review</a>, Nature Biotechnology).</li></ul><p><em>Originally published at </em><a href="https://evo-byte.com/single%E2%80%91cell-genomics-101-technologies-spatial-context-and-practical-workflows-with-seurat-scanpy-and-bioconductor/"><em>https://evo-byte.com</em></a><em> on November 3, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e65edadf3472" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Spatial Biomarkers in Latest Drug Discovery and Beyond]]></title>
            <link>https://medium.com/@jonathan.alles/spatial-biomarkers-in-latest-drug-discovery-and-beyond-2733a01e4fd9?source=rss-2787053d340b------2</link>
            <guid isPermaLink="false">https://medium.com/p/2733a01e4fd9</guid>
            <category><![CDATA[spatial-omics]]></category>
            <category><![CDATA[biomarker]]></category>
            <category><![CDATA[spatial-biology]]></category>
            <category><![CDATA[pathology]]></category>
            <dc:creator><![CDATA[Jonathan Alles]]></dc:creator>
            <pubDate>Fri, 31 Oct 2025 15:32:12 GMT</pubDate>
            <atom:updated>2025-10-31T16:09:25.495Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0YtFj0dbHuEECi0_SyUK3g.jpeg" /><figcaption>A team of scientists discovering new disease biomarkers using spatial omics tools</figcaption></figure><p>By <a href="https://www.evo-byte.com/bioinformatics">EVOBYTE</a> Your partner in bioinformatics</p><h3>Introduction</h3><p>Pathology has always been spatial. We diagnose disease by looking at where cells live, how they interact, and what surrounds them. Spatial biomarkers turn that intuition into quantifiable features you can measure, reproduce, and use to guide decisions. Thanks to spatial omics-methods that retain tissue architecture while profiling RNA or proteins-we can now compute those features at scale and link them to outcomes. That’s changing how we discover drug targets, stratify patients, and design trials.</p><h3>Spatial biomarkers, defined-with examples</h3><p>A spatial biomarker is any measurable feature that encodes not just “what” is expressed, but “where”-for example, the distance between CD8+ T cells and tumor cells, the density of PD-L1-high niches, or the presence of tertiary lymphoid structures in the tumor microenvironment (TME). Formally, these arise from quantifying spatial relationships of cells or targets within intact tissue, such as cell-cell proximity, neighborhood composition, or gradients across regions. In immuno-oncology, simple metrics like “T cell-tumor proximity” or “immune-excluded vs infiltrated” patterns already correlate with checkpoint inhibitor response and survival. In other words, position becomes signal.</p><p>Here’s a mental picture: two NSCLC biopsies show similar total CD8 counts. In one, CD8 cells sit at the tumor edge; in the other, they intermix with cancer cells. The totals match, but the spatial biomarker differs-and so does therapy response. Quantifying that difference is the essence of spatial biology for precision medicine.</p><h3>Spatial omics technologies powering discovery</h3><p>Several platforms make spatial biomarkers measurable. Spatial transcriptomics (ST) maps whole-transcriptome patterns across a tissue section, typically at “multi-cell” spot sizes, while imaging-based assays capture hundreds to thousands of targets at or near single-cell resolution. You’ll often hear terms like Visium (array-based ST), GeoMx DSP (ROI-based profiling that can combine RNA with high-plex protein), and in situ systems like Xenium, MERFISH, or CosMx that image transcripts at subcellular scales. Each trades off gene plex, sensitivity, and resolution; for unbiased discovery of new niches, whole-transcriptome approaches are attractive, while targeted imaging is powerful for validating single-cell neighborhoods.</p><p>Practically, samples and study design matter. FFPE tissue dominates clinical research; ROI selection can boost throughput when tissue is limited; and true single-cell resolution may require imaging-based methods. Many teams pair bulk or scRNA-seq for target nomination with spatial assays for validation, then define the biomarker in terms of proximity, neighborhood enrichment, or region-specific expression.</p><p>A quick example with Python shows how analysts extract a simple neighborhood biomarker from ST data using Squidpy. It computes whether certain clusters (e.g., “CD8_T”) are enriched next to others (“Tumor”):</p><pre>import squidpy as sq<br>adata = sq.datasets.visium_fluo_adata()<br>sq.gr.spatial_neighbors(adata)<br>sq.gr.nhood_enrichment(adata, cluster_key=&quot;cluster&quot;)  # z-scores of co-localization</pre><p>This converts “cells near other cells” into a z-score-exactly the kind of spatial biomarker you can correlate with outcome.</p><h3>The state of research and industry relevance</h3><p>By 2025, spatial biology has moved from niche to necessary. Reviews across oncology highlight spatial transcriptomics for decoding tumor heterogeneity, metastasis, and therapy responsiveness, while methodological papers push better segmentation, deconvolution, and spatial statistics. Notably, spatial analysis now routinely integrates single-cell data to improve domain calling and infer interactions, and it’s spreading beyond cancer into neuroscience and inflammation.</p><p>Why does this matter to industry? Because spatial biomarkers frequently out-perform bulk or single-cell-only readouts when tissue architecture drives biology. For target ID, they reveal cell-cell circuits and microenvironmental constraints; for lead optimization, they show whether a mechanism reaches the right neighborhoods; for clinical strategy, they enable patient stratification by spatial phenotypes rather than expression levels alone. End-to-end, the field is converging on best practices for cohort-scale spatial studies-especially with digital spatial profiling (DSP) when tissue is scarce-so programs can scale beyond single slides to reproducible evidence.</p><p>A tiny DIY distance metric illustrates another common pattern (average T cell distance to tumor):</p><pre>import numpy as np<br># xy coordinates for tumor and T cells<br>d = np.sqrt(((T_xy[:,None,:] - Tumor_xy[None,:,:])**2).sum(-1)).min(axis=1)<br>avg_min_distance = d.mean()  # lower = more infiltration</pre><p>Turn that number into a decision rule, validate across cohorts, and you have a spatial biomarker.</p><h3>Summary / Takeaways</h3><p>Spatial biomarkers quantify where biology happens. With spatial omics-ST, DSP, IMC/mIF, and in situ imaging-you can measure proximity, neighborhoods, and region-specific signals that bulk or dissociated assays miss. These features now inform target discovery, mechanism-of-action studies, and patient selection, especially in the TME. If you’re planning a study, define the clinical question first, pick the platform that fits your sample constraints (FFPE vs fresh, whole-transcriptome vs targeted), and pre-register how you’ll compute the spatial biomarker-distance, neighborhood enrichment, or region score-before you see the outcome data.</p><p>Keywords to know and why they matter: spatial biomarker (translatable decision features), spatial omics (platform ecosystem), spatial transcriptomics/ST (RNA maps for unbiased discovery), DSP (high-plex profiling from limited tissue), IMC and mIF (single-cell protein maps), TME (therapy-relevant context), FFPE (clinical sample compatibility), ROI (practical study design), neighborhood enrichment and Ripley’s K/L (core spatial statistics). These terms anchor reproducible analyses and cross-team communication in modern drug discovery.</p><h3>Further Reading</h3><ul><li><a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC11322473/">The current landscape of spatial biomarkers for prediction of response to immune checkpoint inhibition (Open Access, 2024/2025)</a></li><li><a href="https://bmcgenomics.biomedcentral.com/articles/10.1186/s12864-025-11235-3">A practical guide for choosing an optimal spatial transcriptomics technology (BMC Genomics, 2025)</a></li><li><a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC10571167/">Spatial transcriptomics: technologies, applications and experimental considerations (Open Access, 2023)</a></li><li><a href="https://www.annualreviews.org/content/journals/10.1146/annurev-pharmtox-033123-123610">Deciphering Drug Targets and Actions with Single-Cell and Spatial Resolution (Annual Reviews, 2024)</a></li><li><a href="https://squidpy.readthedocs.io/en/stable/notebooks/examples/graph/compute_nhood_enrichment.html">Squidpy neighborhood enrichment documentation (spatial analysis example)</a></li></ul><p><em>Originally published at </em><a href="https://evo-byte.com/spatial-biomarkers-in-latest-drug-discovery-and-beyond/"><em>https://evo-byte.com</em></a><em> on October 31, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2733a01e4fd9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automated Instrument Integration With LIMS]]></title>
            <link>https://medium.com/@jonathan.alles/automated-instrument-integration-with-lims-bdf97df5b71b?source=rss-2787053d340b------2</link>
            <guid isPermaLink="false">https://medium.com/p/bdf97df5b71b</guid>
            <category><![CDATA[data-connectors]]></category>
            <category><![CDATA[instruments]]></category>
            <category><![CDATA[lims-software]]></category>
            <dc:creator><![CDATA[Jonathan Alles]]></dc:creator>
            <pubDate>Wed, 29 Oct 2025 19:15:39 GMT</pubDate>
            <atom:updated>2025-10-29T19:57:14.369Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*60TMb5P4yTjf3FJvT0qvUg.png" /><figcaption>Scientists automatically uploading data to a LIMS</figcaption></figure><p>By <a href="https://www.evo-byte.com/">EVOBYTE</a> Your partner in digital life sciences</p><p>Manual transcription is a hidden drain on lab time, quality, and morale. Instrument integration with LIMS removes the copy‑and‑paste step so results flow straight into the right records, speeding reviews and strengthening data integrity.</p><h3>Executive Summary</h3><p>With the benefits in view, let’s look at how this works day to day and how to roll it out with confidence.</p><h3>Why Integrate Instruments With Your LIMS?</h3><p>Automated data transfer removes queue time, handoffs, and transcription. Results can be reviewed sooner, billing accelerates, and rework drops. Analysts focus on science-method troubleshooting, data review, and exceptions-instead of typing. Direct, system‑to‑system transfer improves data integrity and supports accreditation and regulatory expectations with a complete audit trail.</p><h3>A Day in the Life With Automated Results Capture</h3><p>Picture a water‑testing lab running ICP‑MS metals panels and microbiology plates:</p><ol><li>Samples are registered in the LIMS and barcoded; worklists are issued to instrument software.</li><li>The instrument runs a batch and exports results to a secure location or API.</li><li>A data adapter detects new outputs, verifies sample IDs, applies units and method‑specific calculations, and checks QC.</li><li>The LIMS posts results to the correct tests, flags exceptions, and routes them for review.</li><li>Reviewers approve clean batches in one click and focus only on flagged items; the audit trail records every step.</li></ol><p>This flow saves hours per batch and avoids end‑of‑day data entry crunches.</p><h3>What Instrument Integration With LIMS Really Means</h3><p>At its core, integration connects a source (instrument software), a route (connector or middleware), and a destination (LIMS endpoints). Because instruments speak different “dialects,” a middle layer of data adapters translates vendor formats into your LIMS data model. Good adapters are configurable, not hard‑coded, so analysts can adjust columns, units, and rounding without a developer each time.</p><h3>Common Integration Patterns You Can Mix and Match</h3><p>Choose the pattern that fits each instrument’s capabilities and your IT environment.</p><h4>File‑Drop (Watch Folder)</h4><ul><li>Legacy instruments exporting CSV/XML/TXT</li><li>Simple, reliable, easy to validate</li></ul><h4>API Integration</h4><ul><li>Modern platforms with REST/Web Services</li><li>Rich metadata, fewer format surprises</li></ul><h4>Instrument Middleware</h4><ul><li>Many instruments across one or more sites</li><li>Central parsing, routing, and monitoring</li></ul><h4>Messaging/Device Standards</h4><ul><li>Clinical or mixed R&amp;D/QC environments</li><li>HL7 v2 for orders/results; SiLA 2 for control and data exchange</li></ul><p>With the route selected, the next question is where the time savings actually come from.</p><h3>Where the Turnaround‑Time Gains Come From</h3><p>Automated capture removes handoffs and enables parallel work. While the next batch runs, the previous batch is already in review. Automated QC rules highlight only what needs attention, so reviewers spend time on the 5–10% of results that matter. Eliminating keying errors prevents unnecessary repeats and delays, and high‑priority results can trigger immediate notifications.</p><h3>Real‑World Examples Across Lab Types</h3><ul><li>Pharmaceutical QC: A stability lab integrates balances, HPLC, and dissolution testers. The LIMS pulls peak areas, applies dilution factors and system suitability checks, and posts calculated potency. Reviewers see only exceptions. Batch review time drops from half a day to under an hour with a clean Part 11 audit trail.</li><li>Environmental Testing: An ICP‑MS exports multi‑element results. A data adapter maps analytes to LIMS codes, converts units, applies MDLs/LOQs, and flags holds. Reports release same day because nothing waits on transcription.</li><li>Food and Beverage: Plate readers and ELISA kits push counts and curves into LIMS. Growth/no‑growth logic and curve fitting run automatically; supervisors see only flagged plates.</li><li>Clinical: Chemistry and immunoassay instruments use HL7 v2 messaging to populate the LIMS/LIS in real time. Standardized statuses reduce phone follow‑ups and speed provider reporting.</li></ul><p>These gains are repeatable across high‑volume workflows.</p><h3>Data Integrity Built In, Not Bolted On</h3><p>End‑to‑end electronic transfer supports ALCOA+ principles: attributable, legible, contemporaneous, original, accurate, complete, consistent, enduring, and available. Guidance such as 21 CFR Part 11 and ISO/IEC 17025 expect trustworthy electronic records, appropriate access controls, and validated systems. UK MHRA’s GxP data integrity guidance reinforces that culture and governance matter alongside technical controls.</p><h3>What a Good Audit Trail Looks Like</h3><p>An effective audit trail answers “who did what, when, why, and from where” without getting in the way:</p><p>When investigations arise, you can show a single, end‑to‑end record instead of chasing spreadsheets and emails.</p><h3>The Role of Data Adapters: Taming Heterogeneity</h3><p>Instruments vary even within the same category. Data adapters standardize:</p><p>Think of adapters as plug‑in translators you can add one device type at a time.</p><h3>Security and IT Hygiene You Should Not Skip</h3><p>As you integrate systems, protecting data integrity and uptime is essential. Segment instrument networks and enforce least-privilege access to reduce risk. Ensure all devices are synchronized through NTP for consistent timestamps. Use encrypted transfers or TLS, and apply checksums where practical to verify data integrity. Back up raw data, parsed results, and adapter configurations according to your retention policy. Finally, harden all endpoints by patching within vendor guidance and restricting local administrator rights.</p><h3>Practical QC and Exception Handling</h3><p>Automated data capture aligns naturally with automated quality control. Built-in calibration and suitability checks can prevent bad batches from being posted, while delta checks highlight unexpected shifts. Range checks and detection limits help block nonsensical values before they propagate. Implementing auto-hold logic ensures that only affected samples are paused, allowing the rest of the batch to continue processing efficiently.</p><h3>Future-Proofing Your Integration</h3><p>Design your integrations with longevity and flexibility in mind. Favor established standards such as HL7 v2 in clinical contexts and SiLA 2 for device control and data exchange. Keep adapters modular by device type and data format to simplify updates and maintenance. Add observability through dashboards and alerts-both for detected exceptions and for unexpected silence. Ask vendors to lock export templates and provide advance notice before making changes. Finally, maintain concise runbooks for each instrument to streamline troubleshooting and onboarding.</p><h3>How We Can Help</h3><p>We design and implement end‑to‑end instrument integration with LIMS-configurable data adapters, automated results capture, and compliant audit trails tailored to your workflows. Whether you need a quick win for a single instrument or an enterprise rollout, our team delivers validated, supportable integrations that reduce turnaround time and lift data integrity. Contact us to discuss your project and a pragmatic pilot plan.</p><h3>References</h3><ul><li>FDA. Part 11, Electronic Records; Electronic Signatures — Scope and Application: <a href="https://www.fda.gov/regulatory-information/search-fda-guidance-documents/part-11-electronic-records-electronic-signatures-scope-and-application">https://www.fda.gov/regulatory-information/search-fda-guidance-documents/part-11-electronic-records-electronic-signatures-scope-and-application</a></li><li>ISO/IEC 17025:2017 — General Requirements for the Competence of Testing and Calibration Laboratories: <a href="https://www.iso.org/standard/66912.html">https://www.iso.org/standard/66912.html</a></li><li>MHRA. GxP Data Integrity Guidance: <a href="https://www.gov.uk/government/publications/guidance-on-gxp-data-integrity">https://www.gov.uk/government/publications/guidance-on-gxp-data-integrity</a></li><li>HL7 v2 Conformance Methodology (Background for Lab Messaging): <a href="https://v2.hl7.org/conformance/HL7v2_Conformance_Methodology_R1_O1_Ballot_Revised_D9_-_September_2019_Introduction.html">https://v2.hl7.org/conformance/HL7v2_Conformance_Methodology_R1_O1_Ballot_Revised_D9_-_September_2019_Introduction.html</a></li><li>SiLA 2 Standard Overview and Documentation: <a href="https://sila-standard.com/standards/">https://sila-standard.com/standards/</a></li></ul><p><em>Originally published at </em><a href="https://evo-byte.com/instrument-integration-with-lims-automated-results-capture-for-faster-turnaround/"><em>https://evo-byte.com</em></a><em> on October 29, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdf97df5b71b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BioPAX + OBO: A Practical Path to Standardized Biological Data Exchange]]></title>
            <link>https://medium.com/@jonathan.alles/biopax-obo-a-practical-path-to-standardized-biological-data-exchange-32305ad075b6?source=rss-2787053d340b------2</link>
            <guid isPermaLink="false">https://medium.com/p/32305ad075b6</guid>
            <category><![CDATA[bioinformatics]]></category>
            <category><![CDATA[graph]]></category>
            <category><![CDATA[ontology]]></category>
            <dc:creator><![CDATA[Jonathan Alles]]></dc:creator>
            <pubDate>Mon, 27 Oct 2025 21:01:12 GMT</pubDate>
            <atom:updated>2025-10-27T21:14:08.655Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y4-5BxU51u_buOmljeoE9g.png" /></figure><p>By <a href="https://www.evo-byte.com/">EVOBYTE</a> Your partner in digital life sciences</p><h3>Introduction: why standards matter in bioinformatics</h3><p>If you’ve ever tried to combine pathway files from one database with gene annotations from another, you’ve felt the pain of incompatible schemas and naming quirks. That’s exactly where two mature standards shine: BioPAX for pathway exchange and the OBO ecosystem for shared biological meaning. Together, they turn scattered resources into interoperable, queryable knowledge you can analyze at scale.</p><h4>Keywords to know</h4><p>BioPAX, OBO Foundry, OWL, RDF, SPARQL, Gene Ontology (GO), Disease Ontology (DOID).</p><p>These terms matter because they define the structure (OWL/RDF), the exchange format (BioPAX), the governing community and best practices (OBO Foundry), and the vocabularies that give your data semantics (GO, DOID).</p><h3>BioPAX for pathway exchange</h3><p>BioPAX (Biological Pathway Exchange) is an OWL/RDF-based language for describing molecular pathways-metabolic reactions, signaling, interactions, and regulation-in a way that different tools and databases can understand. Because it rides on RDF, you can load BioPAX into triple stores, link it to other ontologies, and query it with SPARQL. In practice, major pathway resources publish BioPAX exports, so you’re not stuck converting idiosyncratic schemas by hand. For example, Reactome ships pathway snapshots in BioPAX (alongside SBML and PSI-MITAB), making downstream integration far more straightforward.</p><p>BioPAX also comes with developer tooling. The Paxtools Java library gives you an object model, validation utilities, and converters that make reading, merging, and transforming BioPAX graphs far less error-prone-a big win when you’re building pipelines around large pathway collections.</p><h3>OBO ontologies as the semantic backbone: GO, DOID, and friends</h3><p>While BioPAX standardizes “how” pathway data is represented, OBO Foundry ontologies standardize “what” your entities mean. The OBO Foundry lays down principled guidelines and requires ontologies to publish an OWL product in RDF/XML-crucial for smooth interoperation with RDF-based resources like BioPAX. That common format mandate has nudged the community toward consistent releases that tools can parse reliably.</p><p>Consider the Gene Ontology (GO). It offers a species-agnostic vocabulary for molecular function, cellular component, and biological process. When you align pathway participants from BioPAX with GO terms, you gain consistent annotations that support cross-database analyses, enrichment tests, and transparent reasoning over function. The same approach extends to disease (DOID) or chemicals (ChEBI), helping you connect pathways to phenotypes and indications without inventing one-off labels.</p><h3>Putting it together: a minimal RDF/SPARQL workflow</h3><p>A common first step is to load a BioPAX file and one or more OBO ontologies, then run SPARQL to explore connections. Because both sides speak RDF, the graph merge is mechanical-and reversible.</p><p>Example 1: load and merge graphs with Python’s rdflib (toy example, short on purpose):</p><pre>from rdflib import Graph<br><br>g = Graph()<br>g.parse(&quot;reactome_subset.owl&quot;, format=&quot;xml&quot;)    # BioPAX Level 3 in RDF/XML<br>g.parse(&quot;go.owl&quot;, format=&quot;xml&quot;)                 # OBO Foundry OWL product<br>print(len(g), &quot;triples loaded&quot;)</pre><p>With a merged graph in place, you can query for pathway proteins annotated to a GO term (directly or via simple cross-references you’ve aligned). SPARQL is the W3C standard query language for RDF, so your queries are portable across triple stores:</p><pre>PREFIX bp: &lt;http://www.biopax.org/release/biopax-level3.owl#&gt;<br>PREFIX go: &lt;http://purl.obolibrary.org/obo/&gt;<br>SELECT DISTINCT ?pathway ?protein ?goTerm<br>WHERE {<br>  ?pathway a bp:Pathway ;<br>           bp:pathwayComponent ?rxn .<br>  ?rxn bp:participant ?protein .<br>  ?protein bp:xref ?xref .<br>  ?xref bp:id ?go_id .<br>  BIND(IRI(CONCAT(str(go:), ?go_id)) AS ?goTerm)<br>}<br>LIMIT 50</pre><p>This sketch assumes that BioPAX xrefs include GO identifiers you’ve mapped to GO IRIs; in real data you’d adapt predicates and filters to your source’s conventions. Either way, the point is that standards reduce integration to graph operations rather than brittle, one-off scripts.</p><p>A practical pattern we see in production: use Paxtools to validate and normalize the BioPAX file, convert or align identifiers as needed, merge with OWL products from OBO Foundry (e.g., go.owl, doid.owl), then publish a small SPARQL endpoint or parquet snapshot of results for downstream analytics. Teams that follow this path benefit from consistent semantics, easier audits, and far less glue code.</p><h3>Summary / Takeaways</h3><p>When pathway exchange (BioPAX) meets principled semantics (OBO), you get standardized biological data that’s easier to integrate, query, and trust. Because both live in OWL/RDF, merging graphs and running SPARQL is straightforward-and widely supported by libraries and databases. If you’re consolidating pathways with gene or disease annotations, start by grabbing BioPAX exports from a major resource, load OWL products from OBO Foundry, and prototype a couple of SPARQL queries. Then, decide where to add mappings and validation to fit your pipeline. Your future self-and your collaborators-will thank you.</p><h3>Further Reading</h3><ul><li><a href="https://reactome.org/download-data">Reactome data exports (BioPAX, SBML, PSI‑MITAB)</a></li><li><a href="https://www.biopax.org/Paxtools/">Paxtools: BioPAX object model and utilities</a></li><li><a href="https://obofoundry.org/principles/fp-002-format.html">OBO Foundry Principle: Common Format (OWL/RDF/XML)</a></li><li><a href="https://geneontology.org/docs/ontology-documentation/">Gene Ontology: ontology documentation</a></li><li><a href="https://www.w3.org/TR/rdf-sparql-protocol/">W3C SPARQL 1.1 (query and protocol)</a></li></ul><p><em>Originally published at </em><a href="https://evo-byte.com/biopax-obo-a-practical-path-to-standardized-biological-data-exchange/"><em>https://evo-byte.com</em></a><em> on October 27, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32305ad075b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Predicting Biomarker Response with Multi‑Omics Machine Learning Pipelines]]></title>
            <link>https://medium.com/@jonathan.alles/predicting-biomarker-response-with-multi-omics-machine-learning-pipelines-657048016d00?source=rss-2787053d340b------2</link>
            <guid isPermaLink="false">https://medium.com/p/657048016d00</guid>
            <category><![CDATA[proteomics]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[biomarker]]></category>
            <category><![CDATA[omics]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Jonathan Alles]]></dc:creator>
            <pubDate>Fri, 24 Oct 2025 14:24:42 GMT</pubDate>
            <atom:updated>2025-10-24T14:54:34.757Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-ggANCl0TWxFMdmGnZyFzQ.png" /></figure><p>By <a href="https://www.evo-byte.com/">EVOBYTE</a>: Your partner in digital life sciences</p><h3>Introduction</h3><p>Precision medicine increasingly hinges on predicting whether a patient will respond to a therapy-an endpoint often summarized as biomarker response. Multi‑omics data (e.g., genomics, transcriptomics, epigenomics, proteomics, metabolomics, and microbiome) offer a fuller molecular picture than any single assay. The challenge is practical: how do we turn heterogeneous, high‑dimensional, sometimes batch‑biased measurements into a robust predictor? Recent reviews outline clear patterns for successful multi‑omics machine learning (ML): careful preprocessing, thoughtful integration, rigorous validation, and interpretable models. Meanwhile, large resources like the TCGA Pan‑Cancer Atlas show how integrating modalities at scale reveals clinically relevant patterns.</p><h4>Key terms to know-and why they matter:</h4><p><strong>Batch effects and ComBat: </strong>mitigate non‑biological variation so your “signal” reflects biology, not instrument or site.</p><p><strong>Nested cross‑validation: </strong>avoids optimistic performance by tuning hyperparameters inside the training folds.</p><p><strong>Early‑fusion vs. late‑fusion: </strong>determines where and how modalities meet, affecting accuracy and interpretability.</p><h3>Building a multi‑omics machine learning pipeline for biomarker prediction</h3><p>Start with data hygiene. Multi‑omics cohorts are often assembled across sites and instruments, so controlling batch effects is non‑negotiable. ComBat, an empirical Bayes approach, remains a widely used method to adjust known batch covariates; it’s effective, but you should still audit designs to avoid over‑correction in unbalanced studies. In short: normalize, adjust batch (when justified), and re‑check signal vs. noise before modeling.</p><p>Next, prevent leakage. Split samples at the patient level, keep preprocessing inside cross‑validation (CV), and prefer nested CV when tuning. This keeps estimates realistic for small‑n, large‑p settings that dominate omics.</p><p>A minimal early‑fusion pipeline (concatenate features across omics) can be a strong baseline:</p><pre>import numpy as np<br>from sklearn.pipeline import Pipeline<br>from sklearn.preprocessing import StandardScaler<br>from sklearn.linear_model import LogisticRegression<br>from sklearn.model_selection import StratifiedKFold, cross_val_score<br><br># X_gene, X_prot are arrays (n_samples × n_features); y is binary response<br>X = np.hstack([X_gene, X_prot])  # early fusion<br>pipe = Pipeline([<br>    (&quot;scale&quot;, StandardScaler(with_mean=False)),  # sparse‑friendly if needed<br>    (&quot;clf&quot;, LogisticRegression(max_iter=500, penalty=&quot;l2&quot;))<br>])<br><br>cv = StratifiedKFold(n_splits=5, shuffle=True, random_state=42)<br>auc = cross_val_score(pipe, X, y, cv=cv, scoring=&quot;roc_auc&quot;).mean()<br>print(f&quot;AUC: {auc:.3f}&quot;)</pre><p>This uses scikit‑learn’s Pipeline so scaling and model fitting happen cleanly within CV.</p><h3>Integration strategies that work in practice: early vs intermediate vs supervised</h3><p>Early fusion is simple and sometimes sufficient, but intermediate and supervised integrative methods often uncover cleaner biology.</p><ul><li>Intermediate integration learns shared latent structure before prediction. MOFA (Multi‑Omics Factor Analysis) discovers factors that explain variance across modalities and can de‑noise data, handle missing assays, and expose biology prior to supervised learning. You can train a predictor on the factor scores instead of raw features.</li><li>Supervised integration aligns modalities around an outcome from the start. DIABLO (in mixOmics) learns sparse, correlated components across omics that best separate responders from non‑responders, yielding a compact, multi‑omics “signature” you can validate and interpret. Teams value DIABLO when they need both discrimination and a short list of candidate biomarkers.</li></ul><p>A short story: a group building an immunotherapy responder model fused tumor gene expression, mutation load, and stool microbiome. Early fusion under‑performed; switching to supervised integration highlighted a PD‑L1-driven transcriptomic axis plus a microbiome diversity component. The result wasn’t just a higher AUC-it was a mechanistic narrative the clinicians could use.</p><p>Here’s a tiny sketch of late fusion (train per‑omics models, then stack):</p><pre>from sklearn.base import clone<br>from sklearn.ensemble import StackingClassifier<br><br>base_gene = Pipeline([(&quot;scale&quot;, StandardScaler(with_mean=False)),<br>                      (&quot;lr&quot;, LogisticRegression(max_iter=500))])<br>base_prot = clone(base_gene)<br><br>estimators = [(&quot;gene&quot;, base_gene), (&quot;prot&quot;, base_prot)]<br>meta = LogisticRegression(max_iter=500)<br><br>stack = StackingClassifier(estimators=estimators, final_estimator=meta, passthrough=False, cv=5)<br>auc = cross_val_score(stack, np.hstack([X_gene, X_prot]), y, cv=cv, scoring=&quot;roc_auc&quot;).mean()</pre><p>This pattern captures modality‑specific signal and lets the meta‑learner combine it.</p><h3>Choosing targets and metrics: response vs survival</h3><p>Define the endpoint clearly. For binary response (e.g., RECIST), AUROC and AUPRC are common. For time‑to‑event (progression‑free or overall survival), Harrell’s C‑index measures a model’s ability to rank risk under censoring; pair it with calibration plots and external validation. Don’t forget that high C‑index does not guarantee well‑calibrated risks.</p><p>When moving toward translation, plan for interpretability. Methods like supervised integration produce small signatures; model‑agnostic tools such as SHAP can link features to predictions and spotlight putative mechanisms. Pipelines that used SHAP to connect proteomic shifts to metabolite changes showed how ML‑derived links can be experimentally verified-useful when proposing biomarkers to clinical teams.</p><h3>Summary / Takeaways</h3><p>Multi‑omics ML for biomarker response succeeds when you: clean aggressively (normalize and adjust batches responsibly), choose an integration strategy that fits your question (MOFA for structure, DIABLO or stacking for supervised prediction), validate rigorously (nested CV, external tests), and deliver interpretable signatures clinicians can trust. If you’re starting from scratch, pick one disease area, two modalities with strong prior biology, and pilot both early fusion and one supervised integration method side‑by‑side. What responder question in your pipeline would benefit most from adding a second omics layer this quarter?</p><h3>Further Reading</h3><ul><li><a href="https://www.cancer.gov/news-events/press-releases/2018/tcga-pancancer-atlas">NIH Completes PanCancer Atlas — NCI</a></li><li><a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC6010767/">Multi‑Omics Factor Analysis — a framework for unsupervised integration of multi‑omics data sets (MOFA)</a></li><li><a href="https://academic.oup.com/bioinformatics/article-abstract/35/17/3055/5292387/">DIABLO: an integrative approach for identifying key molecular drivers from multi‑omics assays</a></li><li><a href="https://academic.oup.com/biostatistics/article/8/1/118/252073">Adjusting batch effects in microarray expression data using empirical Bayes methods (ComBat)</a></li><li><a href="https://scikit-learn.org/1.5/modules/generated/sklearn.pipeline.Pipeline.html">Pipeline — scikit‑learn documentation</a></li></ul><p><em>Originally published at </em><a href="https://evo-byte.com/predicting-biomarker-response-with-multi%e2%80%91omics-machine-learning-pipelines/"><em>https://evo-byte.com</em></a><em> on October 24, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=657048016d00" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI in Quality Control: Practical Use Cases That Boost Throughput and Reduce Deviations]]></title>
            <link>https://medium.com/@jonathan.alles/ai-in-quality-control-practical-use-cases-that-boost-throughput-and-reduce-deviations-c88952af03e6?source=rss-2787053d340b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c88952af03e6</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[deviation]]></category>
            <category><![CDATA[quality-control]]></category>
            <category><![CDATA[laboratory]]></category>
            <dc:creator><![CDATA[Jonathan Alles]]></dc:creator>
            <pubDate>Thu, 23 Oct 2025 20:29:24 GMT</pubDate>
            <atom:updated>2025-10-23T20:43:28.132Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ruiCjbXiyQ5drjiiRaAVsA.png" /><figcaption>Performing Quality Control with AI enabled methods</figcaption></figure><p>By <a href="https://evo-byte.com/platform/">EVOBYTE</a>: Your Partner for the Digital Lab</p><p>Backlogs, late releases, and recurring deviations drain QC capacity. AI in Quality Control turns the data you already collect into timely actions that speed batch release and cut rework-without disrupting compliance.</p><h3>Summary For Busy Readers</h3><ul><li>Who should read: QC heads, QA leaders, manufacturing managers, and lab supervisors.</li><li>Where to start: Dynamic sample scheduling, SST guardrails, early OOS/OOT detection, NLP for deviations, computer vision for inspection.</li><li>What you gain: Shorter cycle times, higher first-pass yield, fewer investigations, and a clearer path to real-time release testing.</li><li>How to stay compliant: Define intended use, validate proportionately, monitor model health, and keep humans in charge.</li></ul><h3>Why AI In QC Matters Now</h3><p>QC sits between production and the market. When the lab becomes a bottleneck, batch release slows; when investigations pile up, experts spend more time firefighting than improving processes. AI offers a focused way to relieve both pressure points. Most labs already capture the signals AI needs-chromatograms, spectra, LIMS records, audit trails, instrument logs, deviations, and CAPAs. With the right guardrails, models turn these signals into useful recommendations: which samples to run next, which instruments need attention, and which results deserve a second look.</p><p>Regulators are open to the careful use of AI. Guidance from EMA, FDA, ICH, and ISPE emphasizes a risk-based approach, validation, data integrity, and human oversight. The message is clear: move forward carefully and transparently, with documented controls and lifecycle management.</p><p>With expectations set, the next step is choosing where AI can help first.</p><h3>Nine Practical Lab AI Use Cases</h3><h4>1) Dynamic Sample Scheduling To Raise Throughput</h4><p>Challenge: Daily schedules break under rush samples, instrument hiccups, or analyst absences, creating idle time and late-day crunches.</p><p>AI Approach: A lightweight optimizer reshuffles queues using live instrument status, sample priority, method runtime, and analyst qualification. It simulates alternatives and selects the plan that maximizes on-time completion.</p><p>Real-World Example: A sterile products lab applied an AI scheduler to HPLC and GC benches. Idle gaps between runs dropped, urgent samples found a slot, and data flowed steadily to reviewers.</p><p>What To Monitor: Median time-in-lab per sample, bench utilization, on-time completion rate, and reschedules per shift.</p><h4>2) Smart System Suitability And Method Guardrails</h4><p>Challenge: Subtle drift-retention time shifts, peak shape changes, baseline noise-often precedes OOS/OOT or repeat testing.</p><p>AI Approach: Models learn normal SST patterns per method and column. They issue pre-flight warnings when conditions deviate from past good runs, prompting checks before consuming samples.</p><p>Real-World Example: A biologics lab reduced reruns late in the day by flagging temperature and gradient anomalies after long idle periods, adding a brief conditioning step to stabilize performance.</p><p>What To Monitor: Early-warning rate, reduction in method-related repeats, and time saved on unnecessary investigations.</p><h4>3) Early OOS/OOT Detection On Chromatographic And Spectroscopic Data</h4><p>Challenge: Many OOS/OOT results surface only after full prep, analysis, and review.</p><p>AI Approach: Anomaly detectors trained on acceptable chromatograms or spectra flag outliers in near real time. For NIR/Raman, multivariate models support validated decisions under ICH principles for multivariate analytical procedures.</p><p>Real-World Example: A solid oral dose lab used an NIR identity model with a health dashboard. When confidence dipped below its range, analysts retrained with additional lots or adjusted preprocessing, avoiding a spike in deviations.</p><p>What To Monitor: First-pass yield, late-stage OOS surprises, upstream anomaly corrections, and model health metrics.</p><h4>4) NLP-Assisted Deviation Triage And CAPA Acceleration</h4><p>Challenge: Root causes hide in thousands of free-text records across eQMS, LIMS, emails, and shift notes.</p><p>AI Approach: NLP clusters similar deviation narratives, extracts common factors (equipment, reagent, shift, supplier lot), links to past CAPAs, and drafts investigation outlines with relevant records attached.</p><p>Real-World Example: A vaccines QC lab identified repeating issues tied to a single wash solvent lot across sites. Procurement blocked the lot and added incoming checks, shrinking investigation workload that quarter.</p><p>What To Monitor: Time-to-triage, investigation cycle time, repeat deviation rate, and CAPA effectiveness.</p><h4>5) Computer Vision For Visual Inspection And Plate Reading</h4><p>Challenge: Manual vial or syringe inspection is fatiguing; microplate reads can be borderline or noisy.</p><p>AI Approach: Vision models highlight defects for a second look and standardize acceptance criteria. In microplates, models detect edge effects or misreads and prompt selective well repeats.</p><p>Real-World Example: A sterile injectables site paired inspectors with an assistive system that flags frames for review. Inspectors kept final say, while misses fell and consistency improved.</p><p>What To Monitor: Validated false-positive/negative rates, inspector agreement, reinspection workload, and overall detection sensitivity.</p><h4>6) Predictive Maintenance To Protect Throughput</h4><p>Challenge: Unplanned instrument downtime leads to missed release targets and weekend overtime.</p><p>AI Approach: Models learn from pressure traces, leak tests, lamp hours, and maintenance history to forecast failure risk and recommend just-in-time service.</p><p>Real-World Example: LC pumps showing rising pulsation variance were serviced on Friday morning instead of failing during Monday’s peak, preserving cycle time.</p><p>What To Monitor: Mean time between failures, planned vs. unplanned maintenance ratio, and samples delayed due to instrument issues.</p><h4>7) Environmental Monitoring Analytics</h4><p>Challenge: Trending micro or particle counts is manual and retrospective.</p><p>AI Approach: Seasonality and anomaly detection highlight locations trending toward action limits and trigger targeted sanitation or HVAC checks.</p><p>Real-World Example: Models flagged borderline counts near a pass-through. A gasket replacement and brief operator retraining stabilized the trend.</p><p>What To Monitor: Alert counts, preventive actions taken, and environmental-related deviations over time.</p><h4>8) Digital Evidence Packs For Faster Batch Review And Release</h4><p>Challenge: Reviewers lose hours checking attachments, calculations, and metadata across systems.</p><p>AI Approach: An assistant verifies completeness against a checklist-calibration status at time of use, method versions, analyst training, instrument suitability, certificates, and audit trails-and assembles a clean review folder for QA.</p><p>Real-World Example: The assistant flagged expired calibration on two instruments used in a complex assay. The run was annulled early and re-tested, avoiding a late rejection.</p><p>What To Monitor: Review cycle time, bounced packages due to missing documents, and right-first-time rate.</p><h4>9) Pathway To Real-Time Release Testing (RTRT)</h4><p>Challenge: End-product testing extends lead time and ties up inventory.</p><p>AI Approach: Combine PAT signals (for example, NIR, Raman, moisture) with validated multivariate models governed under ICH and PQS principles. Done right, RTRT brings the lab closer to the line and shortens the path to release.</p><p>Real-World Example: A continuous tableting process used in-process NIR with model monitoring to qualify lots for RTRT, cutting release lead time while maintaining complaint trends.</p><p>What To Monitor: Lots qualified via RTRT, lead time from last unit to release decision, and post-release complaints.</p><h4>Selecting The Right First Project</h4><p>Start with a small, high-value, and easy-to-validate “lighthouse” use case. Aim for one bench or method family tied to batch release or a frequent deviation category. Engage QA early and agree on acceptance criteria.</p><p>Examples:<br> — AI scheduler for HPLC queues in release testing of top products.<br> — Chromatogram anomaly detection for a method with recurring integration questions.<br> — NLP clustering of one year of deviation narratives for a single site.</p><h3>Architecture That Integrates With What You Have</h3><p>Your existing systems remain the backbone; AI adds intelligence at the edges.</p><ul><li>Keep LIMS the System Of Record: AI reads and writes via APIs or validated exports/imports.</li><li>Use A Governed Data Layer: Store curated chromatograms, spectra, and logs with traceable lineage.</li><li>MLOps For Labs: Version models, training data, and preprocessing; promote from development to validation to production; archive all versions tied to release decisions.</li><li>Cybersecurity And Access Control: Restrict access by role and log who viewed or accepted AI recommendations.</li></ul><h3>Regulatory Alignment</h3><p>A risk-based, lifecycle-managed approach to AI in QC that keeps humans in control aligns with current guidance on AI use, multivariate methods, and RTRT-provided you validate for intended use, manage changes, and maintain data integrity.</p><h3>Conclusion: AI In Quality Control Done Right</h3><p>AI in Quality Control is not about replacing people or ripping out systems. It is about delivering timely, data-backed signals that prevent problems, focus expertise, and move compliant results to QA faster. Start small with well-bounded use cases, validate proportionately, and scale what works. With the right governance and a solid LIMS/ELN foundation, you can achieve measurable throughput gains and sustained deviation reduction within a year-while building toward real-time release testing.</p><h3>References</h3><ul><li>EMA. Reflection Paper on the Use of Artificial Intelligence (AI) in the Medicinal Product Lifecycle. <a href="https://www.ema.europa.eu/en/use-artificial-intelligence-ai-medicinal-product-lifecycle-scientific-guideline">https://www.ema.europa.eu/en/use-artificial-intelligence-ai-medicinal-product-lifecycle-scientific-guideline</a></li><li>FDA. Discussion Papers on Artificial Intelligence in Drug Manufacturing and Development. <a href="https://www.fda.gov/news-events/fda-voices/fda-releases-two-discussion-papers-spur-conversation-about-artificial-intelligence-and-machine">https://www.fda.gov/news-events/fda-voices/fda-releases-two-discussion-papers-spur-conversation-about-artificial-intelligence-and-machine</a></li><li>ISPE. GAMP Guide: Artificial Intelligence (2025). <a href="https://ispe.org/publications/guidance-documents/gamp-guide-artificial-intelligence">https://ispe.org/publications/guidance-documents/gamp-guide-artificial-intelligence</a></li><li>ICH Q2(R2) And Q14 (2024). Final Guidances For Analytical Procedure Validation And Development. <a href="https://www.fda.gov/regulatory-information/search-fda-guidance-documents/q14-analytical-procedure-development">https://www.fda.gov/regulatory-information/search-fda-guidance-documents/q14-analytical-procedure-development</a></li><li>EMA. Guideline On Real‑Time Release Testing (RTRT). <a href="https://www.ema.europa.eu/en/real-time-release-testing-scientific-guideline">https://www.ema.europa.eu/en/real-time-release-testing-scientific-guideline</a></li></ul><h3>Need Help Implementing AI In QC?</h3><p>At EVOBYTE, we design and deploy lab AI use cases. Contact us at info@evo-byte.com to discuss your project.</p><p><em>Originally published at </em><a href="https://evo-byte.com/ai-in-quality-control-practical-lab-ai-use-cases-that-boost-throughput-and-reduce-deviations/"><em>https://evo-byte.com</em></a><em> on October 23, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c88952af03e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>