mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
cover all use cases
This commit is contained in:
parent
f1a5cc07db
commit
f9ac4e28e9
1 changed files with 1 additions and 5 deletions
|
@ -26,11 +26,7 @@ process TIDDIT_SV {
|
|||
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||
def reference = fasta ? "--ref $fasta" : ""
|
||||
"""
|
||||
for i in `ls ${bwa_index}`
|
||||
do
|
||||
ln -s ${bwa_index}/\$i ${fasta}.\${i##*.}
|
||||
done
|
||||
|
||||
[[ -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
|
||||
|
||||
tiddit \\
|
||||
--sv \\
|
||||
|
|
Loading…
Reference in a new issue