Skip to content

Commit

Permalink
only grab unzipped NT and NR if they were provided as inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixAja committed Mar 7, 2024
1 parent e801b00 commit ca361fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflows/index-generation/index-generation.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ workflow index_generation {
File unzipped_accession2taxid_pdb = unzipped_file[2]
File unzipped_accession2taxid_prot = unzipped_file[3]
File unzipped_taxdump = unzipped_file[4]
File provided_nt_unzipped = unzipped_file[5]
File provided_nr_unzipped = unzipped_file[6]
File? provided_nt_unzipped = if defined(provided_nt) then unzipped_file[5] else None
File? provided_nr_unzipped = if defined(provided_nr) then unzipped_file[6] else None

Boolean is_nt_provided = defined(provided_nt_unzipped)
Boolean is_nr_provided = defined(provided_nr_unzipped)
Expand Down

0 comments on commit ca361fd

Please sign in to comment.