mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Apply suggestions from code review
Co-authored-by: Mahesh Binzer-Panchal <mahesh.binzer-panchal@nbis.se>
This commit is contained in:
parent
7230bf2174
commit
4935bb98cb
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ process TIDDIT_SV {
|
|||
'quay.io/biocontainers/tiddit:3.0.0--py39h59fae87_1' }"
|
||||
|
||||
input:
|
||||
tuple val(meta), path(input), path(index)
|
||||
tuple val(meta), path(input), path(input_index)
|
||||
path fasta
|
||||
path bwa_index
|
||||
|
||||
|
@ -24,7 +24,7 @@ process TIDDIT_SV {
|
|||
def args = task.ext.args ?: ''
|
||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||
"""
|
||||
[[ -d $bwa_index ]] && for i in `ls $bwa_index`; do [[ -f $fasta && ! "\$i" =~ .*"$fasta".* ]] && ln -s $bwa_index/\$i ${fasta}.\${i##*.} || ln -s $bwa_index/\$i \$i; done
|
||||
[[ -d $bwa_index ]] && for i in $bwa_index/*; do [[ -f $fasta && ! "\$i" =~ .*"$fasta".* ]] && ln -s $bwa_index/\$i ${fasta}.\${i##*.} || ln -s $bwa_index/\$i \$i; done
|
||||
|
||||
tiddit \\
|
||||
--sv \\
|
||||
|
|
Loading…
Reference in a new issue