Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Q
QuaC
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
center-for-computational-genomics-and-data-science
public
QuaC
Commits
a63aacbc
Commit
a63aacbc
authored
4 years ago
by
Manavalan Gajapathy
Browse files
Options
Downloads
Patches
Plain Diff
cleans up outpaths
parent
8ac22a4e
No related branches found
No related tags found
1 merge request
!1
QuaC - First major review
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
workflow/rules/common.smk
+1
-1
1 addition, 1 deletion
workflow/rules/common.smk
workflow/rules/coverage_analysis.smk
+3
-3
3 additions, 3 deletions
workflow/rules/coverage_analysis.smk
workflow/rules/relatedness_ancestry.smk
+4
-4
4 additions, 4 deletions
workflow/rules/relatedness_ancestry.smk
with
8 additions
and
8 deletions
workflow/rules/common.smk
+
1
−
1
View file @
a63aacbc
...
...
@@ -53,7 +53,7 @@ def get_targets(tool_name, project=PROJECT_NAME, samples=SAMPLES):
elif tool_name == 'mosdepth':
flist += expand(str(PROCESSED_DIR / "mosdepth/{project}/mosdepth_{project}.html"),
project=[PROJECT_NAME]),
flist += expand(str(
INTERIM
_DIR / "mosdepth/{project}/{sample}.mosdepth.global.dist.txt"),
flist += expand(str(
PROCESSED
_DIR / "mosdepth/{project}/
results/
{sample}.mosdepth.global.dist.txt"),
project=[PROJECT_NAME],
sample=SAMPLES),
elif tool_name == 'verifybamid':
...
...
This diff is collapsed.
Click to expand it.
workflow/rules/coverage_analysis.smk
+
3
−
3
View file @
a63aacbc
...
...
@@ -14,8 +14,8 @@ rule mosdepth_coverage:
bam = PROJECTS_PATH / "{project}" / "analysis" / "{sample}" / "bam" / "{sample}.bam",
bam_index = PROJECTS_PATH / "{project}" / "analysis" / "{sample}" / "bam" / "{sample}.bam.bai",
output:
dist =
INTERIM
_DIR / "mosdepth/{project}/{sample}.mosdepth.global.dist.txt",
summary =
INTERIM
_DIR / "mosdepth/{project}/{sample}.mosdepth.summary.txt",
dist =
PROCESSED
_DIR / "mosdepth/{project}/
results/
{sample}.mosdepth.global.dist.txt",
summary =
PROCESSED
_DIR / "mosdepth/{project}/
results/
{sample}.mosdepth.summary.txt",
message:
"Running mosdepth for coverage. Project: {wildcards.project}, sample: {wildcards.sample}"
group:
...
...
@@ -39,7 +39,7 @@ rule mosdepth_coverage:
rule mosdepth_plot:
input:
dist = expand(str(
INTERIM
_DIR / "mosdepth" / "{{project}}" / "{sample}.mosdepth.global.dist.txt"),
dist = expand(str(
PROCESSED
_DIR / "mosdepth" / "{{project}}" /
"results" /
"{sample}.mosdepth.global.dist.txt"),
sample=SAMPLES),
script = WORKFLOW_PATH / "src/mosdepth/v0.3.1/plot-dist.py",
output:
...
...
This diff is collapsed.
Click to expand it.
workflow/rules/relatedness_ancestry.smk
+
4
−
4
View file @
a63aacbc
...
...
@@ -10,7 +10,7 @@ rule somalier_extract:
sites = config['somalier']['sites'],
ref_genome = config['ref'],
output:
INTERIM
_DIR / "somalier
_extract
/{project}/{sample}.somalier"
PROCESSED
_DIR / "somalier/{project}/
extract/
{sample}.somalier"
,
message:
"Running somalier extract. Project: {wildcards.project}"
group:
...
...
@@ -29,14 +29,14 @@ rule somalier_extract:
rule somalier_relate:
input:
extracted = expand(str(
INTERIM
_DIR / "somalier
_extract
" / "{{project}}" / "{sample}.somalier"),
extracted = expand(str(
PROCESSED
_DIR / "somalier" / "{{project}}" /
"extract" /
"{sample}.somalier"),
sample=SAMPLES),
ped = RAW_DIR / "ped" / "{project}.ped",
somalier_tool = config['somalier']['tool'],
output:
out = expand(str(PROCESSED_DIR / "somalier/{{project}}/relatedness/somalier.{ext}"),
ext=['html', 'groups.tsv', 'pairs.tsv', 'samples.tsv']),
log = PROCESSED_DIR / "somalier/{
{
project}
}
/relatedness/somalier.log",
log = PROCESSED_DIR / "somalier/{project}/relatedness/somalier.log",
message:
"Running somalier relate. Project: {wildcards.project}"
group:
...
...
@@ -59,7 +59,7 @@ rule somalier_relate:
rule somalier_ancestry:
input:
extracted = expand(str(
INTERIM
_DIR / "somalier
_extract
" / "{{project}}" / "{sample}.somalier"),
extracted = expand(str(
PROCESSED
_DIR / "somalier" / "{{project}}" /
"extract" /
"{sample}.somalier"),
sample=SAMPLES),
somalier_tool = config['somalier']['tool'],
labels_1kg = config['somalier']['labels_1kg'],
...
...
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