mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Update main.nf
This commit is contained in:
parent
436e37bcd0
commit
fb44f36f66
1 changed files with 8 additions and 0 deletions
|
@ -32,6 +32,13 @@ process RSEM_CALCULATEEXPRESSION {
|
|||
def software = getSoftwareName(task.process)
|
||||
def ioptions = initOptions(options)
|
||||
prefix = ioptions.suffix ? "${meta.id}${ioptions.suffix}" : "${meta.id}"
|
||||
|
||||
def strandedness = ''
|
||||
if (meta.strandedness == 'forward') {
|
||||
strandedness = '--strandedness forward'
|
||||
} else if (meta.strandedness == 'reverse') {
|
||||
strandedness = '--strandedness reverse'
|
||||
}
|
||||
def paired_end = meta.single_end ? "" : "--paired-end"
|
||||
"""
|
||||
INDEX=`find -L ./ -name "*.grp" | sed 's/.grp//'`
|
||||
|
@ -39,6 +46,7 @@ process RSEM_CALCULATEEXPRESSION {
|
|||
--num-threads $task.cpus \\
|
||||
--temporary-folder ./tmp/ \\
|
||||
$paired_end \\
|
||||
$strandedness \\
|
||||
$ioptions.args \\
|
||||
$reads \\
|
||||
\$INDEX \\
|
||||
|
|
Loading…
Reference in a new issue