Skip to content

Commit

Permalink
Add split_cigarn_args parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
LKress committed Jun 11, 2024
1 parent e12489d commit df964bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ Optional input:
* --skip_metrics: optionally skip metrics (default: false)
* --output: the folder where to publish output (default: ./output)
* --platform: the platform to be added to the BAM header. Valid values: [ILLUMINA, SOLID, LS454, HELICOS and PACBIO] (default: ILLUMINA)
* --split_cigarn: split reads that contain Ns in their cigar string (e.g. spanning splicing events in RNAseq data) using GATKs SplitNCigarReads
* --split_cigarn_args: additional arguments for SplitNCigarReads
Computational resources:
* --prepare_bam_cpus: (default: 3)
Expand Down
5 changes: 3 additions & 2 deletions modules/02_mark_duplicates.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ params.split_reads_cpus = 2
params.split_reads_memory = "4g"
params.remove_duplicates = true
params.output = 'output'
params.split_cigarn_args = ""


process MARK_DUPLICATES {
Expand Down Expand Up @@ -76,8 +77,8 @@ process SPLIT_CIGAR_N_READS {
--input ${bam} \
--output ${name}.split_cigarn.bam \
--create-output-bam-index true \
--process-secondary-alignments true \
--reference ${reference}
--reference ${reference} \
${params.split_cigarn_args}
cp ${name}.split_cigarn.bai ${name}.split_cigarn.bam.bai
Expand Down
2 changes: 2 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ Optional input:
* --skip_metrics: optionally skip metrics (default: false)
* --output: the folder where to publish output (default: ./output)
* --platform: the platform to be added to the BAM header. Valid values: [ILLUMINA, SOLID, LS454, HELICOS and PACBIO] (default: ILLUMINA)
* --split_cigarn: split reads that contain Ns in their cigar string (e.g. spanning splicing events in RNAseq data) using GATKs SplitNCigarReads
* --split_cigarn_args: additional arguments for SplitNCigarReads
Computational resources:
* --prepare_bam_cpus: (default: 3)
Expand Down

0 comments on commit df964bd

Please sign in to comment.