private static void addSomeMetadata(BufferedReader reader, 
					BufferedWriter writer,boolean skipFirst, OtuWrapper originalWrapper) throws Exception
	{
		int rareficationNumber = originalWrapper.getCountsForSample(originalWrapper.getSampleIdWithMinCounts())-1;
		
		writer.write("sampleID\treadNumber\tnumSequencesPerSample\tshannonDiversity\tshannonEvenness\t" + 
						"rarifiedRichness_" + rareficationNumber + "\t" +  
						"patientID\truralUrban\ttimepoint");
		
		if( !skipFirst)
		{
			writer.write("\t" + reader.readLine() + "\n");
		}
		else
		{
			String[] splits = reader.readLine().split("\t");
			for( int x=1; x < splits.length; x++)
				writer.write("\t"  + splits[x]);
			
			writer.write("\n");
		}
		
		for(String s = reader.readLine(); s != null; s = reader.readLine())
		{
			
			String[] splits = s.split("\t");
			System.out.println(splits[0]);
			
			writer.write(splits[0] + "\t");
			writer.write(getreadNumber(splits[0]) + "\t");
			
			writer.write(originalWrapper.getCountsForSample(splits[0].replaceAll("\"", "")) + "\t");

			writer.write(originalWrapper.getShannonEntropy(splits[0].replaceAll("\"", "")) + "\t");

			writer.write(originalWrapper.getEvenness(splits[0].replaceAll("\"", "")) + "\t");

			writer.write(originalWrapper.
					getRarefactionCurve( originalWrapper.getIndexForSampleName(
							splits[0].replaceAll("\"", "")), 20)[rareficationNumber]+ "\t");
			
			int patientID = getPatientId(s);
			writer.write(patientID+ "\t");
			
			if( patientID >=1 && patientID <=39)
				writer.write("rural\t");
			else if (patientID >=81 && patientID <= 120)
				writer.write("urban\t");
			else throw new Exception("No");
			
			writer.write(getTimepoint(s));
			
			for( int y=1; y < splits.length; y++)
				writer.write("\t" + splits[y]);
			
			writer.write("\n");	
		}
		
		writer.flush();  writer.close();
		
		reader.close();
	}