@@ -99,6 +99,11 @@ if (params.genomes && params.genome && !params.genomes.containsKey(params.genome
exit1,"The provided genome '${params.genome}' is not available in the iGenomes file. Currently the available genomes are ${params.genomes.keySet().join(",")}"
}
// Check Digestion or DNase Hi-C mode
if(!params.dnase&&!params.ligation_site){
exit1,"Ligation motif not found. For DNase Hi-C, please use '--dnase' option"