Thomas 2 lat temu
rodzic
commit
5a68bd1d84
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/lib.rs

+ 2 - 2
src/lib.rs

@@ -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(())
     }