-
Notifications
You must be signed in to change notification settings - Fork 2
swap simuG to conda-based install #168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
022cebe
96b0e31
8fffe18
50ea6e5
ddc62f1
570045c
82bad6b
98b1b66
19a8a43
7454316
62d5423
63b8cf4
9c3cd9b
f84d9fa
4e854e4
557290b
5e7d8c0
98f2954
b0ab604
7d5ebff
0ee598d
5e9fec8
caa8df3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
.snakemake/ | ||
.vscode/ | ||
.harpy_envs/ | ||
.condarc | ||
.cache/ | ||
hpc/ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,6 +84,7 @@ def assembly(fastq_r1, fastq_r2, bx_tag, kmer_length, max_memory, output_dir, ex | |
fetch_rule(workflowdir, f"{asm}.smk") | ||
os.makedirs(f"{output_dir}/logs/snakemake", exist_ok = True) | ||
sm_log = snakemake_log(output_dir, asm) | ||
conda_envs = ["assembly","qc"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Based on the shell script results, I can see that there are several distinct conda environments used across the workflow:
The current conda environments list is incomplete The current list of conda environments ( Here's a list of missing environments that are actively used in the codebase:
🔗 Analysis chainVerify completeness of conda environments The conda environments list includes "assembly" and "qc". Please verify if these environments cover all the required dependencies for the workflow, particularly for tools like SPAdes, TIGMINT, ARCS, and LINKS mentioned in the parameters. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Search for tool invocations in the workflow file to ensure all required tools are covered
fd -e smk . | xargs rg -A 3 'conda:'
Length of output: 21152 |
||
configs = { | ||
"workflow" : asm, | ||
"snakemake_log" : sm_log, | ||
|
@@ -111,6 +112,7 @@ def assembly(fastq_r1, fastq_r2, bx_tag, kmer_length, max_memory, output_dir, ex | |
"minimum_links" : links | ||
}, | ||
"workflow_call" : command.rstrip(), | ||
"conda_environments" : conda_envs, | ||
"reports" : { | ||
"skip": skip_reports, | ||
"organism_type": organism_type | ||
|
@@ -123,7 +125,7 @@ def assembly(fastq_r1, fastq_r2, bx_tag, kmer_length, max_memory, output_dir, ex | |
with open(os.path.join(workflowdir, 'config.yaml'), "w", encoding="utf-8") as config: | ||
yaml.dump(configs, config, default_flow_style= False, sort_keys=False, width=float('inf')) | ||
|
||
create_conda_recipes() | ||
create_conda_recipes(output_dir, conda_envs) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Function call update is consistent except in container.py All calls to
create_conda_recipes("container") # needs conda_envs parameter 🔗 Analysis chainVerify consistent usage of create_conda_recipes across workflows The updated function call with 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Search for all create_conda_recipes calls to ensure consistent parameter usage
rg -A 2 'create_conda_recipes\(' --type py
Length of output: 3502 |
||
if setup_only: | ||
sys.exit(0) | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.