Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hutspot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Show more breadcrumbs
Klinische Genetica
capture-lumc
hutspot
Commits
b64f19fc
Commit
b64f19fc
authored
7 years ago
by
Sander Bollen
Browse files
Options
Downloads
Patches
Plain Diff
remove printreads step
parent
407e595e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
Snakefile
+5
-18
5 additions, 18 deletions
Snakefile
with
6 additions
and
19 deletions
README.md
+
1
−
1
View file @
b64f19fc
...
...
@@ -191,7 +191,7 @@ As a rough estimate of the total number of jobs in pipeline you can use
the followig formula:
```
math
jobs = 4+(2
2
*n_{samples})+(1*n_{samples}*n_{beds})+(1*n_{samples}*n_{chunks})+(1*n_{chunks})
jobs = 4+(2
1
*n_{samples})+(1*n_{samples}*n_{beds})+(1*n_{samples}*n_{chunks})+(1*n_{chunks})
```
This gives about 12,000 jobs for a 96-sample run with 2 bed files and 100 chunks.
...
...
This diff is collapsed.
Click to expand it.
Snakefile
+
5
−
18
View file @
b64f19fc
...
...
@@ -208,7 +208,7 @@ rule markdup:
params:
tmp = out_path("tmp")
output:
bam =
temp(
out_path("{sample}/bams/{sample}.markdup.bam")
)
,
bam = out_path("{sample}/bams/{sample}.markdup.bam"),
metrics = out_path("{sample}/bams/{sample}.markdup.metrics")
conda: "envs/picard.yml"
shell: "picard MarkDuplicates CREATE_INDEX=TRUE TMP_DIR={params.tmp} " \
...
...
@@ -235,24 +235,10 @@ rule baserecal:
"{input.dbsnp} -knownSites {input.one1kg} " \
"-knownSites {input.hapmap}"
rule printreads:
input:
grp=out_path("{sample}/bams/{sample}.baserecal.grp"),
bam=out_path("{sample}/bams/{sample}.markdup.bam"),
java=JAVA,
gatk=GATK,
ref=REFERENCE
output:
bam=out_path("{sample}/bams/{sample}.baserecal.bam"),
bai=out_path("{sample}/bams/{sample}.baserecal.bai")
conda: "envs/gatk.yml"
shell: "{input.java} -jar {input.gatk} -T PrintReads -I {input.bam} "\
"-o {output.bam} -R {input.ref} -BQSR {input.grp}"
rule gvcf_scatter:
input:
bam=out_path("{sample}/bams/{sample}.baserecal.bam"),
bam=out_path("{sample}/bams/{sample}.markdup.bam"),
bqsr=out_path("{sample}/bams/{sample}.baserecal.grp"),
dbsnp=DBSNP,
ref=REFERENCE,
gatk=GATK
...
...
@@ -264,7 +250,8 @@ rule gvcf_scatter:
shell: "java -jar -Xmx4G {input.gatk} -T HaplotypeCaller -ERC GVCF -I "\
"{input.bam} -R {input.ref} -D {input.dbsnp} "\
"-L {params.chunk} -o {output.gvcf} "\
"-variant_index_type LINEAR -variant_index_parameter 128000"
"-variant_index_type LINEAR -variant_index_parameter 128000 " \
"-BQSR {input.bqsr}"
rule gvcf_gather:
...
...
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