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
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 software = getSoftwareName(task.process)
|
||||||
def ioptions = initOptions(options)
|
def ioptions = initOptions(options)
|
||||||
prefix = ioptions.suffix ? "${meta.id}${ioptions.suffix}" : "${meta.id}"
|
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"
|
def paired_end = meta.single_end ? "" : "--paired-end"
|
||||||
"""
|
"""
|
||||||
INDEX=`find -L ./ -name "*.grp" | sed 's/.grp//'`
|
INDEX=`find -L ./ -name "*.grp" | sed 's/.grp//'`
|
||||||
|
@ -39,6 +46,7 @@ process RSEM_CALCULATEEXPRESSION {
|
||||||
--num-threads $task.cpus \\
|
--num-threads $task.cpus \\
|
||||||
--temporary-folder ./tmp/ \\
|
--temporary-folder ./tmp/ \\
|
||||||
$paired_end \\
|
$paired_end \\
|
||||||
|
$strandedness \\
|
||||||
$ioptions.args \\
|
$ioptions.args \\
|
||||||
$reads \\
|
$reads \\
|
||||||
\$INDEX \\
|
\$INDEX \\
|
||||||
|
|
Loading…
Reference in a new issue