소스 검색

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()?;