File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -651,7 +651,7 @@ if config['blast']['tax2id'] == "" or config['blast']['tax2id'] == "none":
651651 shell :
652652 """
653653 if [ -s {input} ]; then
654- if [ ! -f "{config[blast][db_path]}/{config[blast][tax_db]}.nin" ]
654+ if [ ! -f "{config[blast][db_path]}/{config[blast][tax_db]}.nin" -a ! -f "{config[blast][db_path]}/{config[blast][tax_db]}.nal" ]
655655 then
656656 makeblastdb -dbtype nucl -in {config[blast][db_path]}/{config[blast][tax_db]} \
657657 -out {config[blast][db_path]}/{config[blast][tax_db]} &> {log}
@@ -733,7 +733,7 @@ if config['blast']['tax2id'] == "" or config['blast']['tax2id'] == "none":
733733 shell :
734734 """
735735 if [ -s {input} ]; then
736- if [ ! -f "{config[blast][db_path]}/{config[blast][tax_db]}.nin" ]
736+ if [ ! -f "{config[blast][db_path]}/{config[blast][tax_db]}.nin" -a ! -f "{config[blast][db_path]}/{config[blast][tax_db]}.nal" ]
737737 then
738738 makeblastdb -dbtype nucl -in {config[blast][db_path]}/{config[blast][tax_db]} \
739739 -out {config[blast][db_path]}/{config[blast][tax_db]} &> {log}
You can’t perform that action at this time.
0 commit comments