|
|
@@ -324,7 +324,7 @@ impl Contig {
|
|
|
let aligner = Aligner::builder()
|
|
|
.asm5()
|
|
|
.with_threads(8)
|
|
|
- .with_cigar()
|
|
|
+ // .with_cigar()
|
|
|
.with_seq(self.sequence.as_bytes())
|
|
|
.expect("Unable to build index");
|
|
|
|
|
|
@@ -357,7 +357,7 @@ impl Contig {
|
|
|
);
|
|
|
out.write(&record)?;
|
|
|
}
|
|
|
- rust_htslib::bam::index::build(path, None, rust_htslib::bam::index::Type::Bai, 5)?;
|
|
|
+ rust_htslib::bam::index::build(path, None, rust_htslib::bam::index::Type::Bai, 1)?;
|
|
|
Ok(())
|
|
|
}
|
|
|
|