	bgacc=$(ls $indir/$expid\_$cline\_peaks-all* | xargs basename | cut -d "." -f 1 | cut -d "_" -f 4 | uniq)
	optacc=$(ls $indir/$expid\_$cline\_peaks-optimal* | xargs basename | cut -d "." -f 1 | cut -d "_" -f 4 | uniq)

	bgbed=${indir}/${expid}_${cline}_peaks-all_${bgacc}.bed.gz
	bgtopbed=${indir}/${expid}_${cline}_peaks-all_${bgacc}.top.bed.gz
	optbed=${indir}/${expid}_${cline}_peaks-optimal_${optacc}.bed.gz
	ambibed=${outdir}/peaks/${expid}_${cline}_ambig.bed
