public static Long makeLong( String s) throws Exception
 	{
		long val =0;
		
		if( s.length() > 32)
			throw new Exception("Can't encode");
		
		for(int x=0; x < s.length(); x++)
		{
			char c = s.charAt(x);
			
			if( c== 'A')
			{
				val =val | ( A_INT << (x*2));
			} 
			else if ( c== 'C')
			{
				val = val | (C_INT << (x*2) );
			}
			else if ( c== 'G')
			{
				val = val | (G_INT << (x*2) );
			}
			else if ( c == 'T')
			{
				val = val | (T_INT << (x*2));
			}
			else return null;
		}
	

		return val;
	}