Skip to content

Copy quantification GTF to project-level results root (once, not per-sample)#42

Merged
mtinti merged 1 commit into
mainfrom
codex/copy-gtf-file-in-result-folder
Jan 28, 2026
Merged

Copy quantification GTF to project-level results root (once, not per-sample)#42
mtinti merged 1 commit into
mainfrom
codex/copy-gtf-file-in-result-folder

Conversation

@mtinti

@mtinti mtinti commented Jan 27, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Ensure the processed annotation GTF used for quantification is copied once to the project-level results directory rather than being duplicated into each sample folder so the canonical annotation is easy to find.

Description

  • Move the GTF copy out of the per-sample copy_results flow and into the project-level copy_results_all rule in rules/results.smk so the file is staged once in the results root.
  • Add gtf_file = config["processing_gtf_file"] and results_root = get_results_path() to the copy_results_all rule params and invoke cp {params.gtf_file} {params.results_root}/ during that rule's shell step.
  • Remove the per-sample GTF copy and the per-sample completion message for the GTF so it is no longer placed into each sample directory.
  • Keep logging of the GTF copy in copy_results_all to record the action in logs/copy_results_all.log.

Testing

  • No automated tests were run for this change.

Codex Task

@mtinti mtinti merged commit dfba498 into main Jan 28, 2026
1 check passed
@mtinti mtinti deleted the codex/copy-gtf-file-in-result-folder branch February 13, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant