Skip to content

Commit

Permalink
Merge pull request #239 from rhysnewell/use-config-as-env-source
Browse files Browse the repository at this point in the history
Use config as env source
  • Loading branch information
rhysnewell authored Jan 22, 2025
2 parents d824335 + b558326 commit bc4d41a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aviary/modules/binning/binning.smk
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ rule singlem_pipe_reads:
output:
"data/singlem_out/metagenome.combined_otu_table.csv"
params:
package_path = os.environ["SINGLEM_METAPACKAGE_PATH"]
package_path = config['singlem_metapackage']
threads: min(config["max_threads"], 48)
resources:
mem_mb = lambda wildcards, attempt: min(int(config["max_memory"])*1024, 8*1024*attempt),
Expand All @@ -885,7 +885,7 @@ rule singlem_appraise:
assembled = "data/singlem_out/assembled.otu_table.csv",
singlem = "data/singlem_out/singlem_appraisal.tsv"
params:
package_path = os.environ["SINGLEM_METAPACKAGE_PATH"],
package_path = config['singlem_metapackage'],
genomes_folder = "data/refined_bins/final_bins/"
threads: min(config["max_threads"], 48)
resources:
Expand Down

0 comments on commit bc4d41a

Please sign in to comment.