Skip to content

Commit b7ebfda

Browse files
garrettc00perclaude
andcommitted
Add quantification command expander to Run Pipeline tab, revert Analysis tab change
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 82feb02 commit b7ebfda

2 files changed

Lines changed: 30 additions & 18 deletions

File tree

RNA-seq Processor.app/Contents/Resources/app/app.py

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,6 +1213,21 @@ def update_progress(msg):
12131213
est_minutes = 1
12141214
st.info(f"⏱️ Estimated processing time: **~{est_minutes} minutes** for {n_samples} samples at {threads} threads")
12151215

1216+
with st.expander("View quantification command"):
1217+
st.code(
1218+
f"salmon quant \\\n"
1219+
f" --index <index_dir> \\\n"
1220+
f" --libType A \\\n"
1221+
f" --mates1 <R1.fastq.gz> \\\n"
1222+
f" --mates2 <R2.fastq.gz> \\\n"
1223+
f" --output <output_dir> \\\n"
1224+
f" --threads {threads} \\\n"
1225+
f" --validateMappings \\\n"
1226+
f" --gcBias \\\n"
1227+
f" --seqBias",
1228+
language="bash"
1229+
)
1230+
12161231
# Run button
12171232
if st.button("🚀 Start Quantification", type="primary", disabled=st.session_state.pipeline_running):
12181233
st.session_state.pipeline_running = True
@@ -1772,15 +1787,6 @@ def run_pipeline_thread():
17721787
3. Run analysis
17731788
""")
17741789

1775-
st.info(
1776-
"**What's running under the hood:** Salmon (quasi-mapping) quantifies reads at the "
1777-
"transcript level. tximport summarizes to gene-level counts using the "
1778-
"`lengthScaledTPM` method. DESeq2 normalizes counts (median-of-ratios), applies "
1779-
"variance stabilizing transformation (VST) for PCA, and runs Wald tests for "
1780-
"differential expression. GSEA is performed with fgsea using pre-ranked gene lists "
1781-
"(ranked by log2 fold change)."
1782-
)
1783-
17841790
with st.expander("View analysis code (analysis.R)"):
17851791
r_script = Path(__file__).parent / "analysis.R"
17861792
if r_script.exists():

app.py

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,6 +1285,21 @@ def update_progress(msg):
12851285
est_minutes = 1
12861286
st.info(f"⏱️ Estimated processing time: **~{est_minutes} minutes** for {n_samples} samples at {threads} threads")
12871287

1288+
with st.expander("View quantification command"):
1289+
st.code(
1290+
f"salmon quant \\\n"
1291+
f" --index <index_dir> \\\n"
1292+
f" --libType A \\\n"
1293+
f" --mates1 <R1.fastq.gz> \\\n"
1294+
f" --mates2 <R2.fastq.gz> \\\n"
1295+
f" --output <output_dir> \\\n"
1296+
f" --threads {threads} \\\n"
1297+
f" --validateMappings \\\n"
1298+
f" --gcBias \\\n"
1299+
f" --seqBias",
1300+
language="bash"
1301+
)
1302+
12881303
# Run button
12891304
if st.button("🚀 Start Quantification", type="primary", disabled=st.session_state.pipeline_running):
12901305
st.session_state.pipeline_running = True
@@ -1875,15 +1890,6 @@ def run_pipeline_thread():
18751890
3. Run analysis
18761891
""")
18771892

1878-
st.info(
1879-
"**What's running under the hood:** Salmon (quasi-mapping) quantifies reads at the "
1880-
"transcript level. tximport summarizes to gene-level counts using the "
1881-
"`lengthScaledTPM` method. DESeq2 normalizes counts (median-of-ratios), applies "
1882-
"variance stabilizing transformation (VST) for PCA, and runs Wald tests for "
1883-
"differential expression. GSEA is performed with fgsea using pre-ranked gene lists "
1884-
"(ranked by log2 fold change)."
1885-
)
1886-
18871893
with st.expander("View analysis code (analysis.R)"):
18881894
r_script = Path(__file__).parent / "analysis.R"
18891895
if r_script.exists():

0 commit comments

Comments
 (0)