Skip to content

Commit

Permalink
Update blast_datatable.R
Browse files Browse the repository at this point in the history
  • Loading branch information
limey-bean committed Oct 3, 2023
1 parent beb22ad commit a4f0599
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/blast_datatable.R
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ blast_datatable <- function(blast_seeds, save_dir, blast_db_path, accession_taxa

rank_number <- length(seeds_by_rank_indices)

if (rank_number == 0){
seeds_by_rank_indices <- sample_indices
}

if (rank_number < max_to_blast & nrow(blast_seeds_m) > max_to_blast){

remainder = max_to_blast - rank_number - 1
Expand Down

0 comments on commit a4f0599

Please sign in to comment.