Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion rules/results.smk
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,9 @@ rule copy_results_all:
copy_fastq = config.get("copy_fastq", False),
copy_bam = config.get("copy_bam", False),
cleanup_processing = str(config.get("cleanup_processing", False)).lower(),
reference_dir = get_processing_path("reference")
reference_dir = get_processing_path("reference"),
gtf_file = config["processing_gtf_file"],
results_root = get_results_path()
log:
get_results_path("logs/copy_results_all.log")
shell:
Expand All @@ -379,6 +381,10 @@ rule copy_results_all:
echo "Timestamp: $(date)" >> {log}
echo "All individual copy operations completed successfully" >> {log}

# Copy GTF file used for quantification to results root
echo "Copying GTF file used for quantification" >> {log}
cp {params.gtf_file} {params.results_root}/ 2>> {log}

# Remove reference directory if cleanup is enabled
if [ "{params.cleanup_processing}" = "true" ]; then
if [ -d "{params.reference_dir}" ]; then
Expand Down