Skip to content

Commit

Permalink
remove nt or nr after breaking apart into individual taxons
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixAja committed Aug 18, 2023
1 parent eb1630c commit 4768490
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions workflows/index-generation/ncbi-compress/src/ncbi_compress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@ pub mod ncbi_compress {
writer.write_record(&record).unwrap();
}
log::info!("Finished splitting accessions by taxid");
// remove input fasta file
match fs::remove_file(input_fasta_path) {
Ok(()) => println!("input fasta deleted successfully"),
Err(e) => println!("Error deleting input fasta : {:?}", e),
}
taxid_dir
}

Expand Down

0 comments on commit 4768490

Please sign in to comment.