Skip to content

Commit df964bd

Browse files
committed
Add split_cigarn_args parameter
1 parent e12489d commit df964bd

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ Optional input:
8484
* --skip_metrics: optionally skip metrics (default: false)
8585
* --output: the folder where to publish output (default: ./output)
8686
* --platform: the platform to be added to the BAM header. Valid values: [ILLUMINA, SOLID, LS454, HELICOS and PACBIO] (default: ILLUMINA)
87+
* --split_cigarn: split reads that contain Ns in their cigar string (e.g. spanning splicing events in RNAseq data) using GATKs SplitNCigarReads
88+
* --split_cigarn_args: additional arguments for SplitNCigarReads
8789
8890
Computational resources:
8991
* --prepare_bam_cpus: (default: 3)

modules/02_mark_duplicates.nf

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ params.split_reads_cpus = 2
44
params.split_reads_memory = "4g"
55
params.remove_duplicates = true
66
params.output = 'output'
7+
params.split_cigarn_args = ""
78

89

910
process MARK_DUPLICATES {
@@ -76,8 +77,8 @@ process SPLIT_CIGAR_N_READS {
7677
--input ${bam} \
7778
--output ${name}.split_cigarn.bam \
7879
--create-output-bam-index true \
79-
--process-secondary-alignments true \
80-
--reference ${reference}
80+
--reference ${reference} \
81+
${params.split_cigarn_args}
8182
8283
cp ${name}.split_cigarn.bai ${name}.split_cigarn.bam.bai
8384

nextflow.config

+2
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ Optional input:
9393
* --skip_metrics: optionally skip metrics (default: false)
9494
* --output: the folder where to publish output (default: ./output)
9595
* --platform: the platform to be added to the BAM header. Valid values: [ILLUMINA, SOLID, LS454, HELICOS and PACBIO] (default: ILLUMINA)
96+
* --split_cigarn: split reads that contain Ns in their cigar string (e.g. spanning splicing events in RNAseq data) using GATKs SplitNCigarReads
97+
* --split_cigarn_args: additional arguments for SplitNCigarReads
9698
9799
Computational resources:
98100
* --prepare_bam_cpus: (default: 3)

0 commit comments

Comments
 (0)