mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-22 06:49:54 +00:00
Link rather than mv
This commit is contained in:
parent
bdbb111344
commit
7843665544
2 changed files with 5 additions and 4 deletions
4
modules/nf-core/porechop/porechop/main.nf
generated
4
modules/nf-core/porechop/porechop/main.nf
generated
|
@ -23,10 +23,10 @@ process PORECHOP_PORECHOP {
|
||||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
"""
|
"""
|
||||||
## To ensure ID matches rest of pipeline based on meta.id rather than input file name
|
## To ensure ID matches rest of pipeline based on meta.id rather than input file name
|
||||||
mv $reads ${prefix}.fastq.gz
|
ln -s $reads ${prefix}.fastq.gz
|
||||||
|
|
||||||
porechop \\
|
porechop \\
|
||||||
-i $reads \\
|
-i ${prefix}.fastq.gz \\
|
||||||
-t $task.cpus \\
|
-t $task.cpus \\
|
||||||
$args \\
|
$args \\
|
||||||
-o ${prefix}_porechopped.fastq.gz \\
|
-o ${prefix}_porechopped.fastq.gz \\
|
||||||
|
|
|
@ -6,10 +6,11 @@ Changes in module 'nf-core/porechop/porechop'
|
||||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
"""
|
"""
|
||||||
+ ## To ensure ID matches rest of pipeline based on meta.id rather than input file name
|
+ ## To ensure ID matches rest of pipeline based on meta.id rather than input file name
|
||||||
+ mv $reads ${prefix}.fastq.gz
|
+ ln -s $reads ${prefix}.fastq.gz
|
||||||
+
|
+
|
||||||
porechop \\
|
porechop \\
|
||||||
-i $reads \\
|
- -i $reads \\
|
||||||
|
+ -i ${prefix}.fastq.gz \\
|
||||||
-t $task.cpus \\
|
-t $task.cpus \\
|
||||||
$args \\
|
$args \\
|
||||||
- -o ${prefix}.fastq.gz \\
|
- -o ${prefix}.fastq.gz \\
|
||||||
|
|
Loading…
Reference in a new issue