Skip to content

Commit ba5a227

Browse files
Merge pull request #1063 from maxulysse/mismatch_join
FIX: join duplication for manta/strelka annotation
2 parents 933bddb + 7c83c74 commit ba5a227

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ Bierikjávrre is one of the largest lake in Sarek.
7878
- [#1055](https://github.com/nf-core/sarek/pull/1055) - Fix pattern for fasta file in the json schema
7979
- [#1058](https://github.com/nf-core/sarek/pull/1058) - Fix container declaration for VCFTOOLS as it has been updated in the registry
8080
- [#1062](https://github.com/nf-core/sarek/pull/1062) - Fix automatic restart from steps
81+
- [#1063](https://github.com/nf-core/sarek/pull/1063) - Fix join duplication for manta/strelka
8182

8283
### Removed
8384

subworkflows/local/bam_variant_calling_single_strelka/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ workflow BAM_VARIANT_CALLING_SINGLE_STRELKA {
4242
MERGE_STRELKA_GENOME(genome_vcf_to_merge, dict)
4343

4444
// Mix intervals and no_intervals channels together
45-
// Only strelka variant vcf SV should get annotated
45+
// Only strelka variant vcf should get annotated
4646
vcf = Channel.empty().mix(MERGE_STRELKA.out.vcf, vcf.no_intervals)
4747
// add variantcaller to meta map and remove no longer necessary field: num_intervals
4848
.map{ meta, vcf -> [ meta - meta.subMap('num_intervals') + [ variantcaller:'strelka' ], vcf ] }

workflows/sarek.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ workflow SAREK {
10401040
vep_fasta = (params.vep_include_fasta) ? fasta.map{ fasta -> [ [ id:fasta.baseName ], fasta ] } : [[], []]
10411041

10421042
VCF_ANNOTATE_ALL(
1043-
vcf_to_annotate,
1043+
vcf_to_annotate.map{meta, vcf -> [ meta + [ file_name: vcf.baseName ], vcf ] },
10441044
vep_fasta,
10451045
params.tools,
10461046
params.snpeff_genome ? "${params.snpeff_genome}.${params.snpeff_db}" : "${params.genome}.${params.snpeff_db}",

0 commit comments

Comments
 (0)