<?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"><channel><title><![CDATA[RustScenic]]></title><description><![CDATA[RustScenic]]></description><link>https://rustscenic.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sun, 01 Nov 2026 11:00:03 GMT</lastBuildDate><atom:link href="https://rustscenic.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[RustScenic: explore a single-cell gene network before running your own analysis]]></title><description><![CDATA[Inspect a saved RustScenic network, explore it offline, then run a Python and AnnData workflow on public single-cell data.]]></description><link>https://rustscenic.hashnode.dev/rustscenic-explore-a-single-cell-gene-network-before-running-your-own-analysis</link><guid isPermaLink="true">https://rustscenic.hashnode.dev/rustscenic-explore-a-single-cell-gene-network-before-running-your-own-analysis</guid><category><![CDATA[Python]]></category><category><![CDATA[bioinformatics]]></category><category><![CDATA[Rust]]></category><dc:creator><![CDATA[Ekin Kahraman]]></dc:creator><pubDate>Thu, 29 Oct 2026 08:47:52 GMT</pubDate><content:encoded><![CDATA[<p><strong>GitHub:</strong> <a href="https://github.com/Ekin-Kahraman/rustscenic"><strong>Ekin-Kahraman/rustscenic</strong></a></p>
<p>RustScenic is built to be the simplest, fastest way to run regulatory-network analysis in single-cell data. It brings core pySCENIC and SCENIC+ analysis stages into a Python package powered by Rust, developed with the Huang Lab at Mount Sinai.</p>
<p>For researchers dealing with installation, memory or runtime problems in existing workflows, a useful first step is to inspect the outputs. RustScenic provides a saved-network browser example, an offline example, and a notebook for running a fresh analysis on public data.</p>
<h2>Inspect a network without installing anything</h2>
<p>Open the <a href="https://ekin-kahraman.github.io/rustscenic/demo/endothelial/">endothelial-cell example</a> and use the Regulator selector. The default is ETS1; changing it to ERG updates the predicted-target table and the gene-set summary.</p>
<p>The example contains a cohort of 5,000 sampled cells drawn from 234 source datasets, with 184,000 retained network edges and 85 motif-supported regulons. The table shows target genes, model importance and expression correlation. It displays the leading targets within the selected gene set.</p>
<p>These are exploratory predictions. Model importance is not a probability, correlation is not causation, and motif support for a gene set does not experimentally verify every interaction. The cohort pools tissue and disease annotations. Source-study citations and provenance are linked beneath the viewer.</p>
<p>The viewer reads saved results. Selecting another regulator does not fit a model or upload an expression matrix.</p>
<h2>Explore the same results offline</h2>
<p>Download the <a href="https://raw.githubusercontent.com/Ekin-Kahraman/rustscenic/main/examples/cellxgene-endothelial/starter.zip">offline starter ZIP</a>, extract it, and open <code>explore.html</code> in a browser.</p>
<p>With Python 3.10 or later, the extracted example also supports:</p>
<pre><code class="language-bash">python3 example.py --verify
python3 example.py --tf ERG
</code></pre>
<p>Run these commands from the extracted folder. They verify or inspect the bundled results; they do not download a new dataset or run inference. The <a href="https://github.com/Ekin-Kahraman/rustscenic/blob/main/examples/cellxgene-endothelial/README.md">file guide</a> describes the network tables, motif evidence, activity summaries and checksums.</p>
<h2>Run a fresh RNA analysis in Python</h2>
<p>The <a href="https://colab.research.google.com/github/Ekin-Kahraman/rustscenic/blob/main/examples/pbmc3k_quickstart.ipynb">PBMC3k notebook</a> installs the published package and downloads public 10x data. It walks through input preparation, transcription-factor-to-target inference, candidate gene-set activity scoring and result export.</p>
<p>For local use, the <a href="https://github.com/Ekin-Kahraman/rustscenic/blob/main/QUICKSTART.md">quickstart</a> uses regular CPython 3.10–3.14 and the examples dependencies:</p>
<pre><code class="language-bash">python -m pip install "rustscenic[examples]"
</code></pre>
<p>The walkthrough writes network edges to <code>grn.parquet</code>, activity scores to <code>aucell.parquet</code>, the prepared RNA matrix to <code>pbmc3k.h5ad</code>, and the matching transcription-factor names to <code>tfs.txt</code>.</p>
<p>This small teaching workflow uses limited gene and transcription-factor subsets. Its candidate sets are not motif-filtered or separated by correlation sign, and the notebook does not establish biological accuracy. The PBMC3k analysis and the saved endothelial-cell example use different data and serve different purposes.</p>
<h2>Prepare for your own study</h2>
<p>For the documented own-data RNA path, use a cells-by-genes AnnData matrix with log-normalised expression in <code>adata.X</code> and gene symbols in <code>adata.var_names</code>. Match transcription-factor identifiers and species to the matrix. Motif refinement and multiome stages require their own compatible inputs; see the <a href="https://ekin-kahraman.github.io/rustscenic/">API and input guides</a>.</p>
<p>The repository publishes <a href="https://github.com/Ekin-Kahraman/rustscenic#performance">performance measurements</a> with dataset sizes, hardware and timing boundaries. Agreement with reference tools varies by stage; full scientific output parity is not claimed. Review those conditions and the validation notes before replacing a study workflow.</p>
<p>Start at the GitHub repository, try the saved example, and use the notebook to evaluate the Python workflow. Feedback on installation, AnnData handling and output interpretation will help guide the project.</p>
<p>Maintained by Ekin Kahraman. Shared on behalf of the RustScenic project. AI assistance was used for drafting and source checks. The browser example and regulator selection were inspected while preparing this article; no new performance or biological-validation experiment was performed.</p>
]]></content:encoded></item></channel></rss>