Skip to content

Commit dc27835

Browse files
committed
fix for local odb files
1 parent ab22749 commit dc27835

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

reference_update.nf

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ process create_orthodb {
1919
2020
if [[ ${orthodb_path} =~ \$url_regex ]]; then wget ${orthodb_path}; else ln -s ${orthodb_path}; fi
2121
22-
if [[ `ls *.fa.gz 2> /dev/null` ]]; then gunzip *.fa.gz ; cat *.fa > orthodb.fasta; fi
22+
if [[ `ls *.fa.gz 2> /dev/null` ]]; then gunzip -f *.fa.gz ; fi
23+
24+
if [[ `ls *.fa 2> /dev/null` ]]; then cat *.fa > orthodb.fasta; fi
2325
"""
2426
}
2527

0 commit comments

Comments
 (0)