Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nextflow
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
rseraphi
nextflow
Commits
d8a29f60
Unverified
Commit
d8a29f60
authored
6 years ago
by
Laurent Modolo
Browse files
Options
Downloads
Patches
Plain Diff
SNP_calling.nf: fix Mutect2 variables
parent
7619538a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/SNP_calling.nf
+14
-14
14 additions, 14 deletions
src/SNP_calling.nf
with
14 additions
and
14 deletions
src/SNP_calling.nf
+
14
−
14
View file @
d8a29f60
...
...
@@ -256,32 +256,32 @@ indexed_bam_files_norm = index_bam_files_norm
indexed_bam_files_tumor = index_bam_files_tumor
.filter{ "tumor_sample" == it[0] }
/*
process HaplotypeCaller {
tag "$file_id"
cpus
4
tag "$file_id
_norm
"
cpus
10
publishDir "results/SNP/vcf/", mode: 'copy'
input:
set file_id_norm, file(bam_norm) from haplotypecaller_bam_files_norm
.collect()
set file_ididx_norm, file(bamidx_norm) from indexed_bam_files_norm
.collect()
set file_id_tumor, file(bam_tumor) from haplotypecaller_bam_files_tumor
.collect()
set file_ididx_tumor, file(bamidx_tumor) from indexed_bam_files_tumor
.collect()
set genome_id, file(fasta) from haplo_fasta_file
.collect()
set genome2_idx, file(fasta2idx) from indexed2_fasta_file
.collect()
set genome3_idx, file(fasta3idx) from indexed3_fasta_file
.collect()
set file_id_norm, file(bam_norm) from haplotypecaller_bam_files_norm
set file_ididx_norm, file(bamidx_norm) from indexed_bam_files_norm
set file_id_tumor, file(bam_tumor) from haplotypecaller_bam_files_tumor
set file_ididx_tumor, file(bamidx_tumor) from indexed_bam_files_tumor
set genome_id, file(fasta) from haplo_fasta_file
set genome2_idx, file(fasta2idx) from indexed2_fasta_file
set genome3_idx, file(fasta3idx) from indexed3_fasta_file
output:
set file_id, "*.vcf" into vcf_files
set file_id, "*.bam" into realigned_bams_files
set file_id_norm, "*.vcf" into vcf_files
set file_id_norm, "*.bam" into realigned_bams_files
set "*_mutect2_report.txt" into mutect2_report
script:
"""
gatk Mutect2 --native-pair-hmm-threads ${task.cpus} -R ${fasta} \
-I ${bam_tumor} -tumor ${file_id_tumor} \
-I ${bam_norm} -normal ${file_id_norm} \
-O ${file_id}_raw_calls.g.vcf \
-bamout ${file_id}_realigned.bam
-O ${file_id
_norm
}_raw_calls.g.vcf \
-bamout ${file_id
_norm
}_realigned.bam
2> ${file_id_norm}_mutect2_report.txt
"""
}
...
...
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