瀏覽代碼

print dorado status for basecall align

Thomas 6 月之前
父節點
當前提交
ba1814bf9c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/commands/dorado.rs

+ 1 - 1
src/commands/dorado.rs

@@ -415,6 +415,7 @@ impl Dorado {
         if !bam_path.exists() {
             info!("Creating new bam file");
             self.basecall_align(&dorado_bin)?;
+            self.index()?;
         } else {
             // check if merge before call
             let new_bam_path = bam_path
@@ -430,7 +431,6 @@ impl Dorado {
             self.merge_bam(&new_bam_path)?;
         }
 
-        self.index()?;
         self.run_cramino()?;
         self.run_modkit()?;
         // self.create_fastq()?;