def __init__(self,<EOL>hdp,<EOL>assembly_name=hgvs.global_config.mapping.assembly,<EOL>alt_aln_method=hgvs.global_config.mapping.alt_aln_method,<EOL>normalize=hgvs.global_config.mapping.normalize,<EOL>prevalidation_level=hgvs.global_config.mapping.prevalidation_level,<EOL>in_par_assume=hgvs.global_config.mapping.in_par_assume,<EOL>replace_reference=hgvs.global_config.mapping.replace_reference,<EOL>add_gene_symbol=hgvs.global_config.mapping.add_gene_symbol,<EOL>*args,<EOL>**kwargs):
super(AssemblyMapper, self).__init__(<EOL>hdp=hdp,<EOL>replace_reference=replace_reference,<EOL>prevalidation_level=prevalidation_level,<EOL>add_gene_symbol=add_gene_symbol,<EOL>*args,<EOL>**kwargs)<EOL>self.assembly_name = assembly_name<EOL>self.alt_aln_method = alt_aln_method<EOL>self.normalize = normalize<EOL>self.in_par_assume = in_par_assume<EOL>self._norm = None<EOL>if self.normalize:<EOL><INDENT>self._norm = hgvs.normalizer.Normalizer(<EOL>hdp, alt_aln_method=alt_aln_method, validate=False)<EOL><DEDENT>self._assembly_map = {<EOL>k: v<EOL>for k, v in hdp.get_assembly_map(self.assembly_name).items() if k.startswith("<STR_LIT>")<EOL>}<EOL>self._assembly_accessions = set(self._assembly_map.keys())<EOL>
:param object hdp: instance of hgvs.dataprovider subclass
:param bool replace_reference: replace reference (entails additional network access)

:param str assembly_name: name of assembly ("GRCh38.p5")
:param str alt_aln_method: genome-transcript alignment method ("splign", "blat", "genewise")
:param bool normalize: normalize variants
:param str prevalidation_level: None or Intrinsic or Extrinsic validation before mapping
:param str in_par_assume: during x_to_g, assume this chromosome name if alignment is ambiguous

:raises HGVSError subclasses: for a variety of mapping and data lookup failures