Explorar o código

bug HP bam double suffixe

Thomas hai 6 días
pai
achega
72159af3ec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/commands/longphase.rs

+ 1 - 1
src/commands/longphase.rs

@@ -268,7 +268,7 @@ impl LongphaseHap {
         }
 
         // Merge all temporary BAMs into final output
-        let final_bam = PathBuf::from(format!("{}.bam", self.bam_hp.to_string_lossy()));
+        let final_bam = self.bam_hp.clone();
         let mut merge =
             SamtoolsMergeMany::from_config(final_bam.clone(), tmp_bams.clone(), &self.config);