Ver Fonte

bug HP bam double suffixe

Thomas há 6 dias atrás
pai
commit
72159af3ec
1 ficheiros alterados com 1 adições e 1 exclusões
  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);