save_state {rCRUX} | R Documentation |
Helper function to save the state of a running blast search
save_state(
save_dir,
output_table,
unsampled_indices,
too_many_ns,
blastdbcmd_failed,
num_rounds,
blast_seeds_m
)
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 |
Used by run_blastdbcmd_blastn_and_aggregate_resuts()
to cash output
data after completed blast searches.