Thomas 2 년 전
부모
커밋
5a68bd1d84
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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(())
     }