|
|
@@ -401,7 +401,7 @@ fn group_mappings(mappings: &mut Vec<Mapping>) -> Result<Vec<Vec<Mapping>>> {
|
|
|
|
|
|
// unique
|
|
|
pub fn write_fastq(fastq_path: &str, d: &Vec<Record>) {
|
|
|
- let file = File::create(fasta_path).unwrap();
|
|
|
+ let file = File::create(fastq_path).unwrap();
|
|
|
let mut writer = BufWriter::new(file);
|
|
|
for record in d {
|
|
|
seq_io::fastq::write_parts(&mut writer, record.qname(), None, &record.seq().as_bytes(), record.qual());
|