diff --git a/src/pycisTopic/pseudobulk_peak_calling.py b/src/pycisTopic/pseudobulk_peak_calling.py index 5b66035..c4cabd1 100644 --- a/src/pycisTopic/pseudobulk_peak_calling.py +++ b/src/pycisTopic/pseudobulk_peak_calling.py @@ -536,13 +536,13 @@ def call_peak(self): if self.nolambda is True: cmd = ( self.macs_path - + " callpeak --treatment %s --name %s --outdir %s --format %s --gsize %s " + + " callpeak --treatment \"%s\" --name \"%s\" --outdir \"%s\" --format %s --gsize %s " "--qvalue %s --nomodel --shift %s --extsize %s --keep-dup %s --call-summits --nolambda" ) else: cmd = ( self.macs_path - + " callpeak --treatment %s --name %s --outdir %s --format %s --gsize %s " + + " callpeak --treatment \"%s\" --name \"%s\" --outdir \"%s\" --format %s --gsize %s " "--qvalue %s --nomodel --shift %s --extsize %s --keep-dup %s --call-summits" )