|
|
@@ -335,7 +335,7 @@ impl ShouldRun for LongphaseHap {
|
|
|
is_file_older(
|
|
|
self.bam_hp.to_string_lossy().as_ref(),
|
|
|
self.bam.to_string_lossy().as_ref(),
|
|
|
- true,
|
|
|
+ false, // will remove the whole tumoral folder
|
|
|
)
|
|
|
.unwrap_or(true)
|
|
|
}
|
|
|
@@ -440,7 +440,7 @@ impl Initialize for LongphasePhase {
|
|
|
|
|
|
impl ShouldRun for LongphasePhase {
|
|
|
fn should_run(&self) -> bool {
|
|
|
- is_file_older(&self.config.germline_phased_vcf(&self.id), &self.bam, true).unwrap_or(true)
|
|
|
+ is_file_older(&self.config.germline_phased_vcf(&self.id), &self.bam, false).unwrap_or(true)
|
|
|
}
|
|
|
}
|
|
|
|