save_state {rCRUX}R Documentation

Helper function to save the state of a running blast search

Description

Helper function to save the state of a running blast search

Usage

save_state(
  save_dir,
  output_table,
  unsampled_indices,
  too_many_ns,
  blastdbcmd_failed,
  num_rounds,
  blast_seeds_m
)

Arguments

save_dir

the directory to save in

output_table

the outputs generated so far

unsampled_indices

a vector of indices not yet sampled

too_many_ns

a vector of indices that result in a fasta with too many Ns

blastdbcmd_failed

a vector of indices not found in the local database

num_rounds

the number of rounds so far

blast_seeds_m

blast seeds table but with blast status update

Details

Used by run_blastdbcmd_blastn_and_aggregate_resuts() to cash output data after completed blast searches.


[Package rCRUX version 0.0.1.000 ]