6
7
8
9
10
11
12
13
pub fn convert_fasta_file(input: &str, output: &str) {
let (_, _, mut input_file) = generic_open_file(input);
let mut output_fh = Box::new(File::create(output).unwrap());
let converter = Converter::default().with_threads(2);
converter.convert_fasta(&mut input_file, &mut output_fh);
}