mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18:17 +00:00
Update main.nf
This commit is contained in:
parent
fb44f36f66
commit
0e11679748
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ process HISAT2_ALIGN {
|
||||||
} else if (meta.strandedness == 'reverse') {
|
} else if (meta.strandedness == 'reverse') {
|
||||||
strandedness = meta.single_end ? '--rna-strandness R' : '--rna-strandness RF'
|
strandedness = meta.single_end ? '--rna-strandness R' : '--rna-strandness RF'
|
||||||
}
|
}
|
||||||
def seq_center = params.seq_center ? "--rg-id ${prefix} --rg CN:${params.seq_center.replaceAll('\\s','_')} SM:$prefix" : "--rg-id ${prefix} --rg SM:$prefix"
|
def seq_center = params.seq_center ? "--rg-id ${prefix} --rg SM:$prefix --rg CN:${params.seq_center.replaceAll('\\s','_')}" : "--rg-id ${prefix} --rg SM:$prefix"
|
||||||
if (meta.single_end) {
|
if (meta.single_end) {
|
||||||
def unaligned = params.save_unaligned ? "--un-gz ${prefix}.unmapped.fastq.gz" : ''
|
def unaligned = params.save_unaligned ? "--un-gz ${prefix}.unmapped.fastq.gz" : ''
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue