private static void writeResults(HashMap<Long,HashMap<String,Holder>> map) throws Exception
	{
		BufferedWriter writer = new BufferedWriter(new FileWriter(new File(ConfigReader.getBurkholderiaDir()+
				File.separator + "summary" + File.separator + "pivotedSNPS.txt")));
		
		HashSet<String> strains= new HashSet<String>();
		
		for( Long aLong : map.keySet() )
		{
			HashMap<String, Holder> innerMap = map.get(aLong);
			
			for(String s : innerMap.keySet())
				strains.add(s);
		}
		
		List<String> strainList = new ArrayList<String>();
		
		for(String s : strains)
			strainList.add(s);
		
		Collections.sort(strainList);
		
		writer.write("key");
		
		for(String s : strainList)
			writer.write("\t" + s);
		
		writer.write("\n");
		
		for( Long aLong : map.keySet() )
		{
			HashMap<String, Holder> innerMap = map.get(aLong);
			
			writer.write("" + aLong);
			
			for(String s: strainList)
				writer.write("\t"+ innerMap.get(s));
			
			writer.write("\n");
		}
		
		writer.flush();  writer.close();
	}