for c in 1 2 3 4 5 6; do
	for ddd in arp8_50_0 arp8_50_10 arp8_50_20 arp8_50_30 arp8_50_45 arp8_50_60 wt_50_0 wt_50_10 wt_50_20 wt_50_30 wt_50_45 wt_50_60; do 
		fff=nucleosome-levels-+1000-1000-around-tss-${ddd}-cluster${c}.csv; 
		sss=nucleosome-levels-+1000-1000-around-tss-${ddd}.csv; 
		cat 1stline.txt > $fff; 
		for i in `cut -f 3 Selection_1_5__subselection2-cluster${c}.tab`; do 
			echo $c - $ddd - $i; 
			grep "	$i	" $sss >> $fff; 
		done; 
	done; 
done
