rule download_genome:
	output: "DATA/GENOME/GENOME.fa.gz"
	log: "00_logs/download_genome.log"
	resources:
		mem_mb = 1024 * 5, # Last number is memory in GB
		time = 60 * 24 * 1, # Last number is days
		#account = "publicgrp", # Placeholder for SLURM submission
		#partition = "high", # Placeholder for SLURM submission
	run:
		shell("mkdir 'DATA/GENOME' -p")
		shell("wget 'GENOME_LOCATION' -O '{output}' 2> '{log}'")

rule process_genome:
	input: "DATA/GENOME/GENOME.fa.gz"
	output: "DATA/GENOME/GENOME.fa"
	log: "00_logs/process_genome.log"
	resources:
		mem_mb = 1024 * 5, # Last number is memory in GB
		time = 60 * 24 * 1, # Last number is days
		#account = "publicgrp", # Placeholder for SLURM submission
		#partition = "high", # Placeholder for SLURM submission
	shell: "gunzip -f '{input}'"
    