Introduction

The energy-coupling factor (ECF) transporters are multi-subunit protein complexes that mediate uptake of transition-metal ions and vitamins across the membrane in many bacteria and archaea1,2,3,4,5,6,7. They consist of a substrate-specific integral membrane protein (S component, EcfS), a moderately conserved but ubiquitous transmembrane protein (T component, EcfT), and homo- or heterooligomeric ABC ATPases (A components, EcfA). ECF transporters have been classified into two types. For type-1 transporters, all the components are encoded in the same operon, whereas for type-2 transporters, the EcfAA'T module is encoded in an operon, but the genes for S units are scattered around the genome. The S components interact with the EcfAA'T module to form a holotransporter complex. Previous structural studies have been focused on isolated S components, such as the riboflavin-5, thiamine-8, and biotin-specific1 S units (RibU, ThiT, BioY), and on two type-2 holotransporters containing a folate-specific S component (FolT)3 and an S component with predicted specificity for pyridoxine (PdxU, named HmpT in the original work4), respectively. All of these EcfS proteins have a similar structural fold with six transmembrane helices. The isolated S components were crystallized with their substrates that bind to a cavity facing the outside of the membrane. This observation correlates well with previous analyses of binding affinity that identified extremely low dissociation constants in the (sub)nanomolar range.

ECF metal transporters belong to type-1 transporters. The mechanism by which ECF metal transporters selectively recognize metal ions remains largely unknown. As a unique feature of ECF metal transporters, function of the S component (NikM and CbiM for nickel and cobalt transporters, respectively) relies on additional small transmembrane proteins represented by the “N” proteins in most cases or “K plus L” proteins for the rest. ECF-type nickel and cobalt transporters are the most common uptake systems for these metals in prokaryotes6,9,10,11. The vital importance of NikMNQO and CbiMNQO transporters (Q and O represent the T and A components, respectively) in the biology of microorganisms stems from the indispensable roles of these two transition-metal ions in cells.

Nickel is a cofactor of a variety of metalloenzymes involved in energy and nitrogen metabolism, carbon dioxide fixation and detoxification processes9,12,13,14. Cobalt is a key constituent of vitamin B1215. Vitamin B12 is the largest and the most structurally complicated water-soluble vitamin, and contains the biochemically rare element cobalt. In contrast to many archaea and bacteria that have the enzymes required for vitamin B12 synthesis, fungi, higher plants and animals are unable to synthesize vitamin B12. Therefore, microorganisms are the only sources of vitamin B12 in nature16. Vitamin B12 is involved in many critical biological processes in cells, such as DNA synthesis, fatty acid degradation and energy conservation17,18. Vitamin B12 deficiency can potentially cause severe and irreversible damage, especially to the brain and nervous system, and can also cause symptoms of mania and psychosis19. Although the biochemical mechanism for vitamin B12 synthesis has been vastly studied20,21, the molecular mechanism by which the cells take up cobalt from the medium remains unclear. Several types of primary and secondary active nickel and cobalt ion transporters have been reported12, however in no case has the mechanism of selective metal binding and transport been elucidated.

In the present study, we solved the crystal structure of TtNikM2, the S component of an ECF-type nickel transporter from Thermoanaerobacter tengcongensis. The overall structure of TtNikM2 resembles the fold of the previously characterized S components of type-2 ECF transporters. It differs from them, however, by possessing an additional, N-terminal transmembrane segment that positions the N-terminus to the extracellular side of the membrane. The highly conserved N-terminal loop is crucial for the selection of metal ions. It inserts into a region corresponding to the substrate-binding sites of the vitamin-specific S components and contributes significantly to metal ion binding by donating three nitrogen atoms. In total, four nitrogen atoms (the free amino group of Met1, the backbone nitrogen and the imidazole nitrogen of His2, and the imidazole nitrogen of His67) form an approximately square-planar geometry for the specific recognition of Ni2+. Structural and quantum chemical analyses indicate that this architecture is also suitable for binding Co2+, which is consistent with functional genomics analyses showing that the key residues for ion recognition are highly conserved among NikM/CbiM proteins from different species. Replacement of residues associated with metal ion coordination reduces the Ni2+-uptake activity. Our structural studies, along with functional and theoretical analyses, reveal an evolutionarily conserved mechanism underlying the ion selectivity of this important class of transporters.

Results and Discussion

TtNikM2 is a nickel-specific S component

Through functional genomics analyses, we identified two putative nickel-specific S components in T. tengcongensis: TTE0249 (TtNikM) and TTE1695 (TtNikM2) (Supplementary information, Figures S1-S3 and Table S1). Indeed, the X-ray fluorescence spectrum and the anomalous scattering signal screening results demonstrate that the metal ion present in the TtNikM2 crystals is a nickel rather than a cobalt or iron ion (Figure 1A, Supplementary information, Figure S4 and Table S2). Using the nickel ion anomalous signal, we solved the structure of the TtNikM2 protein with a C-terminal truncation (amino acids 1 to 209) at 1.83 Å resolution (Supplementary information, Figures S4-S6). The full-length TtNikM2 (amino acids 1 to 230) structure was solved by molecular replacement method at 3.2 Å resolution (Figure 1B and Supplementary information, Table S3). The rmsd between the two structures is 0.25 Å with 209 aligned Cα atoms. In the crystal, each asymmetric unit contains a single peptide and one nickel ion. The linker between the α2 and α3 helices comprises two anti-parallel β-strands (Figure 1B). The C-terminal end of TtNikM2 forms a short α8 helix (amino acids 216-end). The surface of this α8 helix towards the cytoplasm is mainly hydrophobic, which suggests that this helix might interact with other components in the cytoplasm (Supplementary information, Figure S7). The overall structure of TtNikM2 is hydrophobic with a positively charged belt facing the cytoplasmic side of the membrane, which is in agreement with the positive-inside rule22,23 (Figure 1C).

Figure 1
figure 1

Overall structure of TtNikM2. (A) The X-ray fluorescence spectrum as fitted shows multiple elements, e.g., Cl, K, Ca, Fe, Ni and Zn ions. The nickel ion's Kα and Kβ emission lines are shown as solid-dot purple lines. (B) Overall structure of TtNikM2. The TtNikM2 is shown in cartoon model, colored by a rainbow fashion. The Ni2+ ion is shown as a sphere. The secondary structural elements, N- and C-termini are indicated. (C) TtNikM2 is represented as an electrostatic surface model and two views related by 180° rotation along the vertical axis are shown. The blue, white, and red shadings represent positively charged, neutral, and negatively charged surface regions, respectively.

TtNikM2 has a unique N-terminus

The overall structure of TtNikM2 comprises seven transmembrane segments with a short helix at the C-terminus (Figures 1B and 2), and the additional transmembrane segment at the N-terminus distinguishes it from the substrate-binding components of other ECF-type transporters1,2,3,4,5,8. The transmembrane segments 2-7 resemble the folds of RibU, ThiT and BioY, with rmsds of 3.27 Å, 2.59 Å, and 2.88 Å for 150, 133, and 140 aligned Cα atoms between TtNikM2 and the S units, respectively (Figure 2, left panel). The N-terminal loop (amino acids 1-9) in front of the α1 helix (amino acids 10-34) inserts into the center of TtNikM2 and occludes a region corresponding to the substrate-binding sites of the vitamin-specific S components, ruling out the possibility that TtNikM2 recognizes any vitamins (Figure 2, right panel).

Figure 2
figure 2

TtNikM2 has an additional transmembrane helix and an extra N-terminal loop compared to vitamin-specific S components. For TtNikM2, the extra N-terminal helix and loop are shown in blue and the rest of the protein is colored in cyan. RibU, ThiT, BioY are colored in wheat, slate, and lime, respectively. The right panel shows substrate-binding sites with 90° rotation to the left panel. The rioflavin, thiamine and biotin are colored in yellow, magenta and orange in sticks, respectively. The Ni2+ is shown as a lightpink sphere.

The unique N-terminus of NikM is required for substrate binding

Previous studies have suggested that the amino group and the length of the N-terminal stretch of NikM/CbiM proteins are essential determinants in metal recognition and transport24. The structure of TtNikM2 reveals that the highly conserved first 9-residue loop inserts into the center of TtNikM2 and forms a series of hydrogen bonds with the surrounding residues (Figure 3B and Supplementary information, Figure S2). Interestingly, the free N-terminal amino group of Met1 directly coordinates the nickel ion, and its side chain is stabilized by a deep, hydrophobic pocket that is mainly formed by Met113, Ala150, Ala151 and His190 residues (Figure 3B). The main chain amide nitrogen and the imidazole nitrogen of His2 also contribute to nickel binding. These three nitrogen atoms together with the side chain imidazole nitrogen of His67 form the nickel-binding site. This observation is consistent with previous studies showing that adding an additional Met at the N-terminus or inserting an Ala between Met1 and His2 resulted in the loss of transport activity24. Furthermore, the first 9 residues, and Gln94, Gly101, Gly102 and Asn109 that interact with the N-terminal loop, are highly conserved in NikM/CbiM proteins from different bacteria species (Figure 3B, 3C and Supplementary information, Figure S2), suggesting a similar metal-recognizing mechanism among these proteins.

Figure 3
figure 3

The N-terminus of TtNikM2 is responsible for Ni2+ binding. (A) The N-terminal loop of TtNikM2 inserts into a deep pocket. The α1-helix and the N-terminal loop are shown in ribbon representation and the rest of the protein is shown in an electrostatic potential surface. The blue, white, and red shadings represent positively charged, neutral, and negatively charged surface regions, respectively. The Ni2+ ion is shown as a sphere. (B) A close view of the N-terminal substrate-binding pocket. The residues from N-terminal loop and from the rest of the protein are shown in yellow and magenta sticks, respectively. The water molecule is shown as a red sphere. The Ni2+-nitrogen coordinate bonds and hydrogen bonds are shown as green and red dashed lines, respectively. (C) The sequence alignment of the highly conserved N-terminus (amino acids 1-9) of CbiMs and NikMs from different species.

Four nitrogen atoms form an approximately square-planar substrate-binding site

The nickel ion is chelated by the nitrogen atom of the free N-terminal amino group of Met1, the main chain amide nitrogen and the Nδ1 atom of His2, and the Nɛ2 atom of His67 from the α2-α3 linker (Figure 4A). Unlike in other divalent metal transporters11,25,26 and in nickel-binding proteins12,14, the four nitrogen atoms form an approximately square-planar geometry with slightly different distances from the nickel to the nitrogen atoms (Figure 4A and Supplementary information, Figure S8A). This arrangement is reminiscent of the approximately square-planar geometry of the amino-terminal Cu2+- and Ni2+-binding (ATCUN) motif, which has been found in certain species of albumins (e.g., HSA, BSA, and RSA), human sperm protamine P2a, neuromedins C and K, and histatins27,28,29,30,31,32,33,34,35. Unlike the metal ion binding mode in TtNikM2, the ATCUN motif consists of the N-terminal amine, the backbone amide nitrogens of the second and third residues, and an imidazole nitrogen of His4 (Supplementary information, Figure S8). Consistent with our structural observation, the nickel K-edge X-ray absorption near-edge structure (XANES) results also indicate a square-planar geometry around the nickel ion of TtNikM2 in solution. The shoulder feature at 8339.5 eV present in TtNikM2 and in Ni(dmg)2 is attributed to the 1s-to-4pz transition36, indicative of a characteristic of the almost square-planar coordination geometry around the nickel (Figure 4B).

Figure 4
figure 4

The approximately square-planar geometry of Ni2+-binding site. (A) The detailed binding mode of the Ni2+. The residues involved in Ni2+ coordination and stabilization of the binding pocket are shown as sticks. The Ni2+-nitrogen coordinate bonds and hydrogen bonds are shown as green and red dashed lines, respectively. (B) Comparison of the Ni K-edge XANES spectra of the NiO, Ni(dmg)2 in solid and TtNikM2 in solution. The observed distinct shoulder feature at 8339.5 eV present in the TtNikM2 and Ni(dmg)2 is attributed to the 1s-to-4pz electronic transition in a square-planar metal complex. The structures of the Ni2+-binding sites of NiO, Ni(dmg)2 and TtNikM2 are shown in sticks. (C) The electron distribution of the Ni2+-binding pocket. The residues are shown in stick model, with hydrogen atoms displayed. The distributions of electrons are indicated by δ and δ+. (D) Ni2+-uptake activity of E. coli cells containing the RcNik(MN)QO transporter from R. capsulatus with wild-type or mutant RcNikM. Each assay was performed in triplicate. Mean values ± standard deviations are shown. Numbers in parentheses correspond to residue positions in RcNikM, where the numbering differs between RcNikM and TtNikM.

The nickel-chelating residues are stabilized by a series of hydrogen bonds (Figure 4A). The hydrogen atoms from the N-terminal free amine form hydrogen bonds with the carbonyl group of Thr65 and a water molecule (Figure 4C). This water molecule forms additional hydrogen bonds with the carbonyl group of His67 and the Nɛ2 atom of His190. The Nδ1 atom of His190 forms a hydrogen bond with the carbonyl group of Met186. The Nɛ2 atom of His2 forms a hydrogen bond with the side chain of Gln94. The Nδ1 atom of His67 forms a hydrogen bond with the carbonyl group of Ala68, and the side chain of Glu198 forms another hydrogen bond with the backbone amide of Ile69 (Figure 4C). Interestingly, the Ni2+ has two positive charges, but from the structural analyses we predict that only one hydrogen from the main-chain amide of His2 could be deprotonated. We propose that this elaborate hydrogen bond network not only stabilizes the planar nickel ion-binding geometry, but also contributes to the charge neutralization. More interestingly, these residues involved in the formation of the hydrogen bond network are highly conserved among the NikM/CbiM proteins from different species (Supplementary information, Figure S2), suggesting that the mechanism of nickel or cobalt recognition is most likely conserved.

To confirm the biological relevance of the structural observations, we attempted to examine Ni2+ uptake in recombinant Eischerichia coli cells producing TtNikM2N2. It was previously shown that M plus N proteins (in the absence of Q and O components) are the minimal unit of ECF-type metal transporters required to mediate basal levels of substrate uptake6,24. However, we failed to detect any metal ion uptake above background. It is possible that TtNikM2 and TtNikN2 from the thermophilic T. tengcongensis do not assemble into a functional transporter or it is likely that other components are required for the establishment of a functional transporter in the mesophilic E. coli host. Moreover, M and N proteins were previously shown to only loosely interact with each other24. Therefore, we used the homologous nickel transporter, RcNik(MN)QO, from the purple bacterium Rhodobacter capsulatus to test the biological relevance of the structural observations (Figure 4D). In this system, the NikM and NikN proteins are fused naturally to form a single Nik(MN) peptide. Given the sequence similarity between the nickel transporters from T. tengcongensis and R. capsulatus (Supplementary information, Figure S9), we replaced the structurally important residues in the NikM part of RcNik(MN)QO and tested the effects on nickel-uptake activity. Replacement of His67 (RcNik(MHis67AlaN)QO), which is involved in nickel binding, abolished transport activity. Likewise, replacements of residues stabilizing the planar geometry greatly (His194Ala, His194Glu, Glu202Gln, Glu202Asn, Glu202A) or at least significantly (Thr65Ala) impaired the Ni2+-uptake activity, whereas replacements that preserve hydrogen bonds (Gln94Glu, His194Gln, Glu202Asp) exhibited only a moderate effect (Figure 4D). The latter finding is consistent with our prediction that the hydrogen bond network contributes to the charge neutralization (Figure 4D). The essential roles of Met1 and His2 for the Ni2+-uptake activity have been reported6,24.

The substrate-binding site dictates the ion specificity

Structural analysis suggests that only the hydrogen atom from the backbone amide of His2 can be deprotonated upon coordination of Ni2+ in the cavity formed by four N-atoms (Figure 5A). Ni2+ has two positive charges while the deprotonated cavity possesses one negative charge. It is thus imperative to understand how the protein neutralizes the extra positive charge and how this metal-binding geometry dictates ion selectivity. To elucidate the nature of the selectivity of the TtNikM2 protein for divalent nickel ion, we have performed systematic quantum chemical investigations of the chemical bonding, charge distribution and binding strength of the protein with a series of biologically relevant divalent metal cations (M = Ca2+, Mg2+, Fe2+, Co2+, Ni2+, Cu2+ and Zn2+) (Figure 5B and 5C). We selected a fragment L (Figure 5A) of the local structure of the protein and the dangling bonds are saturated with hydrogen atoms to fulfill the correct valence states of each atom. As the protein is deprotonated upon coordination of the metal ions, the binding ligand is negatively charged. The Gibbs free energies for M2+ + L → ML+ were calculated as ΔG = G(ML+) – G(M2+) – G(L), where the entropy effects are included along with the quantum mechanical-binding energies. The negative energy indicates the binding is thermodynamically exothermic. The metal-binding constants Kp were calculated from ΔG = −RT lnKp. The energies of the M2+ and ML+ ions are determined with all possible multiplets and spin-multiplicities. The lowest-energy electron configurations are used as the references for the Gibbs free energies. The atomic electron configurations of M2+ used are consistent with those proposed by Johnson et al.37.

Figure 5
figure 5

The approximately square-planar geometry of the metal-binding site dictates substrate specificity of TtNikM2. (A) Structure of the TtNikM2 nickel coordinate cavity. The nitrogen atoms are defined as N1, N2, N3, and N4. (B) Binding energy of M2+ + L→ ML+(M represents different divalent metal ions) as calculated with BHaH functional. (C) Splitting of the 3d orbital in NiL+ and 3D contours (isovalue = 0.03) of Kohn-Sham molecular orbitals. The calculated Kohn-Sham energy levels and the contour diagrams of the frontier molecular orbitals of NiL+ are shown, where Ni2+ has a d8 electron configuration. (D) Structural alignment of the TtNikM2-nickel and TtNikM2-cobalt structures. The structures with nickel and cobalt are shown in magenta and slate, respectively. The residues binding the metal ions are shown in sticks.

The density functional theory (DFT) calculation37,38,39 results indicate that when the divalent metal cations bind to the substrate-binding cavity, Ca2+ and Mg2+ have the least binding energy due to the pure ionic interaction (Figure 5B, and Supplementary information, Table S4), while the transition-metal ions have larger binding energies due to both ionic and covalent interactions between the N-atoms and the metal 3d-orbitals (see the contours of the NiL+ orbitals in Figure 5C). In the structures, ligand field theory (LFT) predicts that the d-orbital manifold of the metal ions will split into five groups, with one strong anti-bonding orbital (dx2−y2) lying above the other four d-orbitals (Figure 5C). This ligand field splitting pattern indicates that a d8 configuration should have larger binding energy than the others. Indeed, the DFT calculations support this qualitative conclusion, with Co2+ (d7) and Ni2+ (d8) having Gibbs free energies of −22.47 eV and −23.09 eV (electron volt), respectively (Figure 5B and Supplementary information, Table S4). The Cu2+ (d9) ion tends to have even larger free energy, but this ion might prefer a different local structure due to the Jahn-Teller effect.

The calculated atomic polar tensor (APT)-derived charges40 indicate that the four N-atoms have different charges (Supplementary information, Table S5). Their charges are not only consistent with the distance difference between the Ni-Nm (m = 1, 2, 3, 4) coordination bonds (Figure 5A and Supplementary information, Figure S8A), but also consistent with the notion that the surrounding hydrogen-bond network contributes to the charge neutralization (Figure 4C). These data suggest that the metal ion type and the metal-ligand bonding strength might constitute the most important elements to determine the metal ion selectivity. To confirm the theoretical results, we purified and co-crystallized TtNikM21−209 with CoCl2 and solved the structure at 2.5 Å resolution (Supplementary information, Figure S10 and Table S3). The structure has a 0.22 Å rmsd with the structure that contains nickel ion and has almost no conformational changes (Figure 5D), which suggests that TtNikM2 could bind both nickel and/or cobalt ions. These results confirm the hypothesis that CbiM and NikM proteins utilize similar mechanisms to recognize their substrates. They are also consistent with the previous biological observation that the CbiMNQO complexes of both Salmonella enterica serovar Typhimurium and R. capsulatus not only import cobalt ions but also transport nickel ions6.

Conclusions

ECF transporters have evolved into two types with high selectivity for either vitamins or transition-metal ions. Our studies unravel that the specific Co2+ and/or Ni2+ recognition by NikM is achieved by the presence of an additional N-terminal transmembrane helix that enables the very N-terminal end of the protein with its three metal ligands to deeply insert into the substrate-binding site, thereby preventing entrance of larger molecules and establishing ion selectivity. This represents another fascinating feature of the structurally and mechanistically unusual ECF transporters. The mechanistic studies of how these protein complexes exert their micronutrient-transport functions could be valuable for the development of new antibiotics since ECF transporters are essential for pathogenic bacteria.

Materials and Methods

Genome-wide analysis of phylogenetic relationships of Nickel and Cobalt transporters

The cbiM and nikM genes were obtained from KEGG (the Kyoto Encyclopedia of Genes and Genomes) ORTHOLOGY Database (KEGG ORTHOLOGY Entry K02007) (Supplementary information, Table S1). The collected sequences were aligned using the MUSCLE (multiple sequence comparison by log-expectation) program41 and further adjusted manually using BIOEDIT. The optimal substitution model of amino acid substitution (RtREV+G+F) was selected using the modelGenerator version 0.84 program42. The phylogenetic tree in Supplementary information, Figure S1 was constructed using the maximum likelihood method with PhyML software43. One hundred bootstrap replicates were performed to obtain the confidence support.

The X-ray fluorescence spectrum assay

The microscopic X-ray fluorescence (μ-XRF) measurements are performed at Beijing Synchrotron Radiation Facility (BSRF) 4W1B endstation, which runs 2.5 GeV with current from 150 mA to 250 mA. The X-ray beam impinged on TtNikM2 crystal is monochromatized at 15 keV and is focused down to 50 μm in diameter by the poly-capillary lens. The detection limit of the experimental setup is μg/g. The TtNikM2 crystal is pasted on XRF tape (TF-500) at room temperature and then attached to a frame-shape sample holder. The Si (Li) solid state detector is used to detect X-ray fluorescence emission lines with live time of 100 s per point. Several XRF spectra were collected at the sample and the blank tape, respectively. The data reduction and process were performed using PyMCA package with linear polynomial background accounting for scattering44. Because the X-ray might penetrate the sample and strike the tape, the XRF spectrum of pure TtNikM2 crystal is achieved by subtracting the XRF spectrum of blank tape.

Protein preparation

PCR-amplified full-length nikM2 from T. tengcongensis was subcloned into pET21b vector with a TEV protease site before the His-tag. Overexpression of TtnikM2 was induced in E. coli BL21 (DE3) by 0.5 mM isopropyl-β-D-thiogalactoside (IPTG) when the cell density reached OD600 = 1.0. After growth in Terrific Broth for 3 h at 37 °C, the cells were harvested, homogenized in buffer containing 20 mM Tris-HCl (pH 8.0), 500 mM NaCl, 20 mM imidazole, 1 mM PMSF and disrupted by sonication. Cell debris were removed by low-speed centrifugation for 15 min. The supernatant was collected and applied to ultracentrifugation at 150 000× g for 1 h. The membrane fraction was harvested and suspended in 20 mM Tris-HCl (pH 8.0), 500 mM NaCl, 20 mM imidazole, 1 mM PMSF. After the addition of Triton X-100 at a final concentration of 1% (v/v), the sample was incubated for 10 h with slow stirring at 4 °C. After another ultracentrifugation step at 150 000× g for 1 h, the supernatant was collected and loaded onto Ni2+-nitrilotriacetate affinity resin (Ni-NTA) and rinsed with buffer containing 20 mM Tris-HCl (pH 8.0), 500 mM NaCl, 40 mM imidazole and 0.02 % (w/v) DDM. The protein was eluted from the affinity resin with buffer containing 20 mM Tris-HCl, pH 8.0, 500 mM NaCl, 300 mM imidazole and 0.02 % (w/v) DDM. The protein was concentrated to 5 mg/ml before further purification by gel filtration (Superdex-200 column, GE Healthcare) in buffer containing 20 mM Tris-HCl (pH 8.0), 500 mM NaCl, 2 mM DTT, 0.02% (w/v) DDM. The peak fractions were collected and concentrated to 3.2 mg/ml. TtNikM21−209 (amino acids from 1 to 209) was cloned, overexpressed and purified in the same way. The TtNikM21−209 with the divalent cobalt ion was purified by same method but using the Co-NTA column instead of the Ni-NTA.

Crystallization, data collection and structural determination

Extensive crystallization trials were performed for the purified TtNikM2 proteins. Crystals were grown at 18 °C by the hanging-drop vapour diffusion method. After optimization, the full-length TtNikM2 crystals were grown by mixing 1 μl of protein (3.2 mg/ml) with 1 μl of reservoir solution (38% w/v PEG300, 0.05 M glycine, pH9.5, 0.1 M NaCl, 0.2 μl 35% w/v 1,6-hexanediol, 0.2μl 6.6% w/v cyclohexylethanoyl-N-hydroxyethylglucamide). TtNikM2 crystals appeared and grew to full size in about one week. The TtNikM21−209 crystals were grown in the same way except that the concentration of PEG300 in the reservoir solution is 35.5% w/v. The TtNikM21−209 crystals with cobalt ion were grown in the same way except that the buffer changed to MES with the pH 6.4. All the crystals were frozen in liquid nitrogen directly to collect the data.

All the crystal data were collected at the Shanghai Synchrotron Radiation Facility (SSRF) BL17U, integrated and scaled using the HKL2000 package45. Further processing was carried out using programs from the CCP4 suite46. Data collection statistics are summarized in Supplementary information, Table S2 and Table S3. The nickel sites were located using SHELXD47 from Bijvoet differences in the Ni-SAD data. Heavy atom positions were defined and the phases were calculated with PHASER's SAD (single anomalous diffraction) experimental phasing module48. The real-space constraints were applied to the electron density map in DM. The final model rebuilding was performed using COOT49 and the protein structure was refined with PHENIX50 using NCS and stereochemistry information as restraints. The structure of full-length TtNikM2 was solved by molecular replacement method with the TtNikM21−209 structure as the search model. All structural figures were generated in PyMOL51.

XANES data collection

The concentration of the TtNikM2 was about 0.5 mM. Samples were flash frozen in liquid nitrogen. During the XANES measurement, the sample was maintained at a temperature of 80 K. All measurements of the Ni K-edge XANES were carried out on beam line BL14W1 at the Shanghai Synchrotron Radiation Facility (SSRF, China) in the fluorescence yield mode using a double-crystal Si(111) monochromator and a 32-element array of Ge detectors. A N2-filled ionization chamber was used to measure the incident flux. The storage ring was working at 3.5 GeV and experiments were performed with an electron current 220 mA. Simultaneous energy calibration was performed by measuring the absorption of Ni foil.

The XANES spectrum is highly sensitive to the coordination geometry around the absorbing atom. A shoulder peak appeared a few eV below the main absorption edge in the XANES spectrum which is attributed to the 1s-to-4pz electronic transition is a signature of a square-planar complex36. The presence or absence of the 1s-to-4pz transition has been used to predict the coordination geometry in several model compounds52,53.

Construction of RcNik(MN)QO transporter variants and transport assay

Plasmid pRcNik(MN)QO encoding the natural Nik(MN) fusion, NikQ and a C-terminally FLAG-tagged NikO6 was the basis for all constructions. Individual mutations were introduced by two rounds of PCR. In the first round, amplicons were generated with a mutagenic forward or reverse primer and a corresponding primer directed against the 3′-end of nikMN or the upstream region in the vector, respectively. Those amplicons were used as primers in a second round of PCR together with the appropriate non-mutagenic primer of the first round. The second-round products were treated with appropriate restriction endonucleases and were used to replace the wild-type fragments. All synthetic DNAs were verified by nucleotide sequencing. Mutant plasmids were introduced into E. coli XL1-Blue and nickel-uptake activity was determined as described6. Briefly, cells were grown in lysogeny broth (LB) over night, diluted 1:100 in LB supplemented with ampicillin (100 μg/ml), IPTG (1 mM) and 63NiCl2 (500 nM), and incubated under shaking at 37 °C for seven hours. Cells were harvested, washed twice with Tris-hydrochloride (50 mM, pH 7.5) and concentrated. Metal accumulation was quantitated by liquid scintillation counting and is expressed as pmol/mg protein.

Quantum chemical analysis

The theoretical calculations were performed with Gaussian 09 (G09) program54. We used the LANL2DZ effective core potentials and corresponding valence basis sets for the metals55 and 6-311+G* all-electron basis sets for C, N, O, and H56. Because of the complexity of 3d-transition metals, we investigated the binding energies using a variety of approximate exchange-correlation (XC) functionals as benchmark. The XC functionals used include the generalized gradient approximation (GGA) of Perdew-Burke-Ernzerhof (PBE)57, hybrid GGA of PBE0, B3LYP, and BHaH (Becke's half-and-half hybrid functional), highly nonlocal hybrid meta-GGA functional M06-2X and full Hartre-Fock functional M06-HF58. The basic trends of the calculated energies and charges are similar from these XC functional. Based on the charge and spin-density distribution, the performance of the BHaH functional is satisfactory and we only present results calculated from this functional. The results are also compared with those calculated using Amsterdam Density Fucntional (ADF) program59.

The vibrational frequencies were calculated by using harmonic approximation. The zero-point energy (ZPE) is included in the calculated binding energies. The atomic polar tensor (APT) derived charges were calculated to provide the information on charge distribution upon different ligands binding40. The energies calculated are listed in Supplementary information, Table S4 and the atomic net charges are listed in Supplementary information, Table S5.

PDB deposition

The coordinates and diffraction data of TtNikM21−209 (with Co2+), TtNikM21−209 (with Ni2+) and the full-length TtNikM2 with Ni2+ have been deposited into the Protein Data Bank with accession code 4M5C, 4M5B and 4M58, respectively.