Skip to content

Fix .bed input path handling and reference_data paths#1373

Merged
gaow merged 3 commits into
StatFunGen:mainfrom
al4225:main
Jun 23, 2026
Merged

Fix .bed input path handling and reference_data paths#1373
gaow merged 3 commits into
StatFunGen:mainfrom
al4225:main

Conversation

@al4225

@al4225 al4225 commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • bulk_expression_QC.R: Fix normalize_output_prefix to strip exactly 3 extensions (mirroring SOS :bnnn), so .bed inputs like protocol_example.rnaseq.tpm_matrix.bed resolve to protocol_example instead of the full basename. Previously qc_1 wrote output to the wrong path, causing SOS to report the expected output file missing.
  • gene_annotation.ipynb: Update all example command paths from reference_data/ to input/reference_data/ to match the actual tutorial directory layout.

Test plan

  • Run sos run pipeline/bulk_expression_QC.ipynb qc with a .bed TPM input and verify protocol_example.low_expression_filtered.tpm.gct.gz is created at the expected path
  • Verify gene_annotation notebook example commands use correct input/reference_data/ paths

🤖 Generated with Claude Code

Anjing Liu and others added 3 commits June 23, 2026 01:31
normalize_output_prefix now strips exactly 3 extensions (mirroring SOS
:bnnn) instead of pattern-matching known suffixes, so .bed inputs like
protocol_example.rnaseq.tpm_matrix.bed correctly resolve to
protocol_example rather than the full basename.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…nnotation notebook

Update all example command paths from reference_data/ to
input/reference_data/ to match the actual tutorial directory layout.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…n notebook

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gaow gaow merged commit e081663 into StatFunGen:main Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants