if config["macs2"]["do"] and config["macs2"]["mode_choice"] in ["broad"] :
if config["macs2"]["do"] and config["macs2"]["mode_choice"] in ["broad"] :
intersectionApproach_overlap = 0.8
intersectionApproach_overlap = 0.8
else:
else:
...
@@ -852,10 +850,10 @@ if len(conds) > 1 and config["differential_analysis"]["do"]:
...
@@ -852,10 +850,10 @@ if len(conds) > 1 and config["differential_analysis"]["do"]:
def getPeakFilesByMark(wildcards):
def getPeakFilesByMark(wildcards):
if wildcards.CALLER in ["seacr_"+config["seacr"]["threshold"], "macs2_broad" ] or (wildcards.CALLER in ["macs2_narrow"] and config["intersectionApproach"]["do"]):
if wildcards.CALLER in ["seacr_"+config["seacr"]["threshold"], "macs2_broad" ] or (wildcards.CALLER in ["macs2_narrow"] and config["intersectionApproach"]["do"]):