private static void addSomeMetadata(BufferedReader reader, 
					BufferedWriter writer,
					HashMap<String, List<RawDesignMatrixParser>> metaMap,
					HashMap<String, MBQC_SampleParser> mbqcSampleMetaMap) throws Exception
	{
		writer.write("fromRDPsampleID\tmbqcSampleID\tr1OrR2\thasLookup\tmbqcID\twetlabID\twetlabExtractionID\tisNAExtraction\t");
		writer.write("NCI_Label\tNCI_Subj\tUC_ID\tSample_ID\tSampletype\tHealthstatus\tVisit\tSex\tAge\tBMI\tExtracted_DNA");
		
		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())
		{
			splits = s.split("\t");
			
			String id = attemptCompoundID(splits[0]);
			
			List<RawDesignMatrixParser> list= metaMap.get(id);
			
			writer.write(splits[0]+ "\t");
			writer.write(id + "\t");
			writer.write(r1OrR2(splits[0]) + "\t");
			
			if( list != null)
			{
				RawDesignMatrixParser rdmp = list.get(0);
				
				writer.write( "true\t" +  rdmp.getMbqcID() + "\t" + rdmp.getSequecingWetlab() + "\t" + 
								rdmp.getExtractionWetlab() 
								+ "\t" + rdmp.getExtractionWetlab().toLowerCase().equals("na") + "\t");
			}
			else
			{
				writer.write("false\t\t\t\t");
			}
			
			MBQC_SampleParser mbq = null;
			
			if( list != null)
			{
				RawDesignMatrixParser rdmp = list.get(0);
				
				if( rdmp.getMbqcID() != null && rdmp.getMbqcID().trim().length() > 0)
					mbq = mbqcSampleMetaMap.get(rdmp.getMbqcID());
			}
			
			if( mbq != null  )
			{
				//writer.write("BMI_Extracted_DNA");
				writer.write( mbq.getNCI_Label() + "\t");
				writer.write( mbq.getNCI_Subj() + "\t");
				writer.write( mbq.getUC_ID() + "\t");
				writer.write( mbq.getSample_ID() + "\t");
				writer.write( mbq.getSample_type() + "\t");
				writer.write( mbq.getHealth_status() + "\t");
				writer.write(mbq.getVisit() + "\t");
				writer.write( mbq.getSex() + "\t");
				writer.write( mbq.getAge() + "\t");
				writer.write( mbq.getBMI()+ "\t");
				writer.write( mbq.getExtracted_DNA() );
			}
			else
			{
				writer.write("\t\t\t\t\t\t\t\t\t\t");
				
			}
			
			for( int x=1; x < splits.length; x++)
				writer.write("\t" + splits[x]);
			
			writer.write("\n");
		}
		
		writer.flush();  writer.close();
		
		reader.close();
	}