public static String getDnaSequenceFromFrame(String inSequence, int frame) throws Exception
	{
		if ( frame == 0 )
			return inSequence;
		
		if ( frame == 1 )		
			return inSequence.substring(1);
			
		if ( frame == 2)
			return inSequence.substring(2);
				
		if ( frame == 3) 
			return reverseTranscribe(inSequence);
			
		if ( frame ==4 )
				return reverseTranscribe(inSequence.substring(0, inSequence.length() -1 ));
				
		if ( frame == 5 )		
				return reverseTranscribe(inSequence.substring(0, inSequence.length() -2));
		
		throw new Exception("Unknown frame");
	}