Thomas 2 лет назад
Родитель
Сommit
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()
         let aligner = Aligner::builder()
             .asm5()
             .asm5()
             .with_threads(8)
             .with_threads(8)
-            .with_cigar()
+            // .with_cigar()
             .with_seq(self.sequence.as_bytes())
             .with_seq(self.sequence.as_bytes())
             .expect("Unable to build index");
             .expect("Unable to build index");
 
 
@@ -357,7 +357,7 @@ impl Contig {
             );
             );
             out.write(&record)?;
             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(())
         Ok(())
     }
     }