Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ONT_pilot_gitlab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESB
ONT_pilot_gitlab
Commits
9df850a2
Commit
9df850a2
authored
4 years ago
by
Valentina Galata
Browse files
Options
Downloads
Patches
Plain Diff
mash: rm contig-screen analysis, fixed a bug (not all assemblies included in assembly sketch)
parent
ffdcc3aa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
workflow/rules/analysis.smk
+7
-6
7 additions, 6 deletions
workflow/rules/analysis.smk
workflow/steps/analysis.smk
+4
-4
4 additions, 4 deletions
workflow/steps/analysis.smk
with
11 additions
and
10 deletions
workflow/rules/analysis.smk
+
7
−
6
View file @
9df850a2
...
...
@@ -188,7 +188,7 @@ rule analysis_mash_sketch_sr:
conda:
os.path.join(ENV_DIR, "mash.yaml")
shell:
"(date && ofile={output} && mash sketch -r -m 2 -k 31 -s 10000 -S 42 -o ${{ofile%.*}} {input} && date) &> {log}"
"(date && ofile={output} && mash sketch -r -m 2 -k 31 -s 10000
0
-S 42 -o ${{ofile%.*}} {input} && date) &> {log}"
rule analysis_mash_sketch_lr:
input:
...
...
@@ -201,7 +201,7 @@ rule analysis_mash_sketch_lr:
conda:
os.path.join(ENV_DIR, "mash.yaml")
shell:
"(date && ofile={output} && mash sketch -r -m 2 -k 31 -s 10000 -S 42 -o ${{ofile%.*}} {input} && date) &> {log}"
"(date && ofile={output} && mash sketch -r -m 2 -k 31 -s 10000
0
-S 42 -o ${{ofile%.*}} {input} && date) &> {log}"
rule analysis_mash_paste_reads:
input:
...
...
@@ -241,13 +241,14 @@ rule analysis_mash_sketch_asm:
conda:
os.path.join(ENV_DIR, "mash.yaml")
shell:
"(date && ofile={output} && mash sketch -k 31 -s 10000 -S 42 -o ${{ofile%.*}} {input} && date) &> {log}"
"(date && ofile={output} && mash sketch -k 31 -s 10000
0
-S 42 -o ${{ofile%.*}} {input} && date) &> {log}"
rule analysis_mash_paste_asm:
input:
lr=expand(os.path.join(RESULTS_DIR, "assembly/lr/{tool}/ASSEMBLY.FILTERED.msh"), tool=config["assemblers"]["lr"]),
sr=expand(os.path.join(RESULTS_DIR, "assembly/sr/{tool}/ASSEMBLY.FILTERED.msh"), tool=config["assemblers"]["sr"]),
hy=expand(os.path.join(RESULTS_DIR, "assembly/hy/{tool}/ASSEMBLY.FILTERED.msh"), tool=config["assemblers"]["hy"])
expand(
os.path.join(RESULTS_DIR, "assembly/{rtype_tool}/ASSEMBLY.FILTERED.msh"),
rtype_tool=["%s/%s" % (rtype, tool) for rtype, tool in READ_ASSEMBLERS],
)
output:
os.path.join(RESULTS_DIR, "analysis/mash/contigs.msh")
threads: 1
...
...
This diff is collapsed.
Click to expand it.
workflow/steps/analysis.smk
+
4
−
4
View file @
9df850a2
...
...
@@ -30,9 +30,9 @@ rule ANALYSIS:
os.path.join(RESULTS_DIR, "analysis/mash/{dtype}.dist"),
dtype=["contigs", "reads"]
) if "mash_dist" in config["steps_analysis"] else [],
expand(
os.path.join(RESULTS_DIR, "analysis/mash/screen.{rtype_tool}.tsv"),
rtype_tool=["%s.%s" % (rtype, tool) for rtype, tool in READ_ASSEMBLERS]
) if "mash_screen" in config["steps_analysis"] else [],
#
expand(
#
os.path.join(RESULTS_DIR, "analysis/mash/screen.{rtype_tool}.tsv"),
#
rtype_tool=["%s.%s" % (rtype, tool) for rtype, tool in READ_ASSEMBLERS]
#
) if "mash_screen" in config["steps_analysis"] else [],
output:
touch("status/analysis.done")
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment