



import warnings

from ...utils import logging
from .image_processing_segformer import SegformerImageProcessor


__snake_case     :Union[str, Any]			       =logging.get_logger(__name__)



class        lowerCAmelCase__					(  _lowerCamelCase       ):


				def __init__(							self      :  int						, *__UpperCamelCase      :  int						, **__UpperCamelCase      :  List[Any]       )		->     None:
											warnings.warn(
											    'The class SegformerFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'
											    ' Please use SegformerImageProcessor instead.'						, __UpperCamelCase						, )
											super().__init__(*__UpperCamelCase						, **__UpperCamelCase       )




import re






def  lowerCamelCase_	(      lowerCAmelCase__	:	str				)       ->							str:

							'''simple docstring'''






							if len(re.findall('[ATCG]'			,	lowerCAmelCase__				)				) != len(lowerCAmelCase__				):
														raise ValueError('Invalid Strand'				)

							return dna.translate(dna.maketrans('ATCG'			,	'TAGC'				)				)


if __name__ == "__main__":
				import doctest

				doctest.testmod()