private static void addPeakCalls(HashMap<String, List<Holder>> map ) throws Exception
	{
		for(String contig : map.keySet())
		{
			List<Holder> list = map.get(contig);
			for(int x=0 ; x < list.size(); x++)
			{
				Holder h = list.get(x);
				Holder lastH = x >0 ? list.get(x-1) : null;
				if( h.regressionSlope == null )
				{
					h.phase = Phase.NONE;
				}
				else
				{
					if( Math.abs(h.regressionSlope) <= SLOPE_THRESHOLD)
					{
						if( lastH == null)
							h.phase = Phase.NON_PEAK;
						else if( lastH.phase == Phase.UP_PEAK || lastH.phase == Phase.PEAK_TOP)
							h.phase = Phase.PEAK_TOP;
						else
							h.phase = Phase.NON_PEAK;
					}
					else
					{
						if( h.regressionSlope >0)
							h.phase = Phase.UP_PEAK;
						else 
							h.phase = Phase.DOWN_PEAK;
					}
				}
			}
		}
	}