public static void main(String[] args) throws Exception
	{
		HashMap<String, String> map = getBarcodeToSampleMap();
		
		BufferedReader reader = new BufferedReader(new FileReader(new File( 
			ConfigReader.getIanLongitudnalDec2015Dir() + File.separator + 
			"BEHAVBUGS_NoIndex_L001_R2_001.fastq")));
		
		long numAssigned = 0;
		long numNotAssigned =0;
		for(FastQ fq = FastQ.readOneOrNull(reader); fq != null; fq = FastQ.readOneOrNull(reader))
		{
			boolean gotOne = false;
			
			for(String s : map.keySet())
				if( s.indexOf(fq.getSequence()) != -1 || fq.getSequence().indexOf(s) != -1 )
					gotOne = true;
			
			if( gotOne)
				numAssigned++;
			else
				numNotAssigned++;
			
			if( numNotAssigned % 1000 ==0 )
				System.out.println( numAssigned + "  "+ numNotAssigned + " " + 
										((double)numAssigned / (numNotAssigned+numAssigned)));
			
			
		}
	
		System.out.println( numAssigned + "  "+ numNotAssigned + " " + 
								((double)numAssigned / (numNotAssigned+numAssigned)));
	}