mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-22 06:39:55 +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}"
|
||||
"""
|
||||
## 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 \\
|
||||
-i $reads \\
|
||||
-i ${prefix}.fastq.gz \\
|
||||
-t $task.cpus \\
|
||||
$args \\
|
||||
-o ${prefix}_porechopped.fastq.gz \\
|
||||
|
|
|
@ -6,10 +6,11 @@ Changes in module 'nf-core/porechop/porechop'
|
|||
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||
"""
|
||||
+ ## 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 \\
|
||||
-i $reads \\
|
||||
- -i $reads \\
|
||||
+ -i ${prefix}.fastq.gz \\
|
||||
-t $task.cpus \\
|
||||
$args \\
|
||||
- -o ${prefix}.fastq.gz \\
|
||||
|
|
Loading…
Reference in a new issue