{'fraction_non_alphanumeric': 0.041553639962223964, 'fraction_numerical': 0.026603974521269114, 'mean_word_length': 5.2878079595704355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 1, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 3, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Composition and niche-speciﬁc characteristics of microbial consortia colonizing Marsberg copper mine in the Rhenish Massif

. The Kilianstollen Marsberg (Rhenish Massif, Germany) has been extensively mined for copper ores, dat-ing from early medieval period until 1945. The exposed organic-rich alum shale rocks inﬂuenced by the diverse mine drainages at an ambient temperature of 10 ◦ C could naturally enrich biogeochemically distinct heavy metal resistant microbiota. This amplicon-sequence-based study evaluates the microbially colonized subterranean rocks of the abandoned copper mine Kilianstollen to characterize the colonization patterns and biogeochemical pathways of individual microbial groups. Under the selective pressure of the heavy metal contaminated environment at illuminated sites, Chloroﬂexi (Ktedonobacteria) and Cyanobacteria (Oxyphotobac-teria) build up whitish–greenish bioﬁlms.


Introduction
The historic copper mining area Marsberg is situated on the northeastern edge of the Rhenish Schiefergebirge (Rhenish Massif) which is composed of Variscan folded rocks of Devonian and Carboniferous age (Urban et al., 1995). The Marsberg Upper Devonian sequence mainly consists of metamorphic clay shales, sandstones, siltstones, and carbonate rocks, whilst the Lower Carboniferous rocks contain a copper-rich black shale series (Siegmund et al., 2002). Investigations of the Marsberg copper ore deposits revealed insights in their geology, ore formation, and recent remineralizations (Stribrny, 1987). The copper-rich sediments formed about 380 million years ago in the Devonian on the southern edge of the Laurussia continent (America and Europe). The Marsberg copper deposit originated from tectonic movements which caused disintegration of the Lower Carboniferous alum shales and lydites and exposed the Upper Devonian rocks, resulting in fissures, faults, and breccia rich in metals (e.g. 7 %-16 % Cu), sulfides (0.5 %-3.8 %), carbonate carbon (0.35 %-2.43 %), and organic carbon (0.3 %-2.5 %) (Urban et al., 1995). In rock samples, mean contents of copper (81-1277 ppm) are found to be higher than those of other metals   (Urban et al., 1995). The Upper Devonian to Lower Carboniferous rocks are completely exposed in Marsberg Kilianstollen copper mine, offering conditions for formation of diverse secondary minerals and mine drainages. The most important sulfide ore min-erals present in fault and fault-related breccia zones are described as chalcopyrite, neodigenite, chalcocite, bornite, and covellite (Stribrny, 1987). These minerals in the sediments all shape the prevailing biogeochemical conditions in the Marsberg mine waters. The biological and atmospheric oxidation of sulfides from pyrite (FeS 2 ) or chalcopyrite (CuFeS 2 ) could mobilize transition metals (Amin et al., 2018). The reduced transition metals (Cu, Fe, Mn) from fault-bound breccias and black alum shales are oxidized, resulting in copper-rich acidic mine waters with high concentrations of copper and iron, but also other dissolved ions (Fig. 1, green colour). In addition, karstic ground water enters the Kilianstollen (flowing in NE direction) that is enriched in calcium hydrogen carbonate from the Upper Permian Zechstein limestone, while sulfate is derived from gypsum and anhydrite of the same formation group (Fig. 1, blue colour). The calcium and sulfate levels in these mine waters can be higher than in fresh water, reaching up to 2/3 of the values for sea water. These naturally flowing water streams of the Kilianstollen mine ranging from fresh water to heavy metal-enriched acidic leachate offer unique subsurface cold heavy metal-enriched habitats to study the colonized microbial communities under influence of various mine waters.
An ambient temperature of 10 • C, a relative humidity of 98 %, and an appropriate abundance of organics (2 %-10 %) in the alum shale, these organic-rich copper shales also provide microscale spaces for microbial colonization and aromatic compounds catabolism, perhaps because of their high content of kerogen, providing partially complex organic biodegradable compounds such as long-chain and polycyclic aromatic hydrocarbons, esters, organic acids, thiophenes, and metalloporphyrins (Dziewit et al., 2015). The availability of the soluble sulfate and transition metals ions from the nearby sulfuric waters sources (Silver and Walderhaug, 1992) are important in shaping an epilithic but also heavy metal and/or acid-tolerant bacterial community. Nevertheless, the emissions of the operational Marsberg mine railway diesel engine also provide another resource of organic compounds, and the regular visits of tourists, artificial ventilation, and illumination are some man-made impacts on the native microbial consortium.
In our previous study, enrichment cultures from slushy, iron-and manganese-rich secondary minerals from Kilianstollen, Marsberg were set up to observe the bioleaching from the copper slags. These were eventually enriched in iron and sulfur-oxidizing Acidithiobacillus ferrivorans, or Leptospirillum, indicating the presence of metal oxidizing communities (Amin et al., 2018). In this study, prokaryotic communities associated with the rocks around the Marsberg Kilianstollen mine waters were evaluated based on 16S rRNA gene amplicon sequencing to observe whether the mine waters enriched in transition metals may be toxic to microbial inhabitants or, conversely, support unique forms of metal respiration and enrich resistant microbial consortia under oligotrophic conditions. To elucidate further key processes involved in their resistance against high transition metal concentration and metabolism of the aromatic compounds, the metagenomically assembled genomes (MAGs) from a biofilm (MB1) abundant in Chloroflexi (Ktedonobacteria) nearby the copper-rich acidic mine waters were assembled and analysed for the genetic targets related to toxic Hg and As compounds reduction, Cu + oxidation, heavy metal ions extrusion, dehalogenation, and hydrocarbon compounds catabolism. Understanding the selective pressure exerted by heavy metals on microbes and corresponding microbial resistance mechanisms could unveil their biogeochemical consequences and applications.
2 Materials and methods

Sampling site
The rock samples colonized with soft biomass or biofilm around mine drainages of the Kilianstollen, Marsberg, Germany (51.453502 • N, 8.861703 • E) were collected under sterile precautions (Figs. 1, S1). Hammer and chisel were disinfected with 70 % ethanol prior to use and gloves were worn during sampling in order to reduce risks of contamination. The samples were taken from two locations in the alum shale region where mining activity was particularly high. For statistical analysis, the sampling sites shown in Fig. 2 [(MBS1-MBS4); (MB1-MB6, MBS18); (MBS10, 11, 13)] were divided into spring water, leachate, and unconsolidated rocks groups, respectively, based on the nearby drainage water bodies. A detailed description of the biological features and origin of the collected samples has been published previously . Biofilm and water samples grouped as spring water samples (MBS1-MBS4) were taken along a small karst ground water stream that springs up in a cased basin and then naturally flows inside the Kilianstollen main gallery. Stream waters are typically enriched in calcium and hydrogen carbonate ions, and further downstream also in sulfate ions where water streams from crosscutting adits enter the main stream (Fig. 1). The biological samples under the influence of copper-rich acidic leachate waters, grouped as leachate samples (Figs. 1, 2), were taken from the mine outflow stream close to the entrance (MBS18) and from the immediate vicinity of a copper precipitation flume "Zement-Kupferplatte" (MB1-6 biofilms). The copper precipitation flume is an iron plate which is continuously flooded by a copper-rich acidic leachate seepage and the copper is being deposited electrochemically. The other samples from a wooden plank (MBS10) next to mine unconsolidated rocks (MBS11, 13) ( Fig. 2) were grouped as unconsolidated samples. Samples collected for microscopic analysis were refrigerated until preparation. For extraction of genomic DNA, freshly collected samples were stored at −20 • C till further use. The samples (0.4 g each in triplicates) for genomic DNA Figure 1. Simplified geological section of the Kilianstollen (Marsberg) and formation of different ground waters. Folded Devonian-Carboniferous lydites, shales, and nodular limestones of the Variscan Basement are unconformably overlain by Upper Permian carbonates and evaporites of the Zechstein Group. The reduced transition metals (Cu, Fe, Mn) from fault-bound breccias and black shales are oxidized, resulting in copper-rich acidic mine waters (Emmerich, 1987), draining towards the adit entrance in SW direction. Some of the mine waters (flowing in NE direction) are enriched in calcium, hydrogen carbonate, and sulfate ions, depending on the rocks (limestone and gypsum) in contact. The geological section is based on (Îskar and William, 1936;Stribrny, 1987;Stribrny and Urban, 2000;Farrenschon et al., 2008) and an unpublished mining map. The red pins mark the location of the sampling sites along the mine drainage system for both water and biological samples collections. The biological samples were further classified into three groups based on their origin and nearby waters. extraction were obtained by scratching the biofilms of the rock piece and wooden plank with a sterile scalpel.

Hydro-chemical analysis
Mine drainage water around sampling sites was analysed on site using a WTW Multi 3430 device equipped with a WTW Tetracon 925 conductivity probe, a WTW FDO 925 probe for dissolved O 2 , and a WTW Sentix 940 electrode for temperature and pH (Xylem, Rye Brook, NY, USA). Calibration was performed with pH buffers 7.010 and 10.010 (HI6007, HI6010, Hanna Instruments, RI, USA). Redox potential was measured using a WTW 340i device equipped with a Schott PT61 redox electrode. To determine the anions and cations, water samples were collected without headspace in polyethylene bottles and for total alkalinity in Schott DU-RAN glass bottles (Schott, Mainz, Germany). Samples considered for cation analysis were filtered in separate 50 mL aliquots through 0.7 µm pore membrane filters and acidified with 100 µL HNO 3 (65 %, Suprapure; Merck, Darmstadt, Germany). Total alkalinity (TA) was determined by acid-base titration within 24 h after sampling using a handheld titration device and 1.6 N H 2 SO 4 cartridges as titrant (Hach Lange GmbH, Düsseldorf, Germany). All other analysis were processed within 7 d after sampling.

DNA extraction, 16S rRNA gene amplification, and amplicon sequencing
The microbial genomic DNA (gDNA) from 0.4 g scratched samples were extracted by using the DNeasy PowerSoil kit (Qiagen, Venlo, the Netherlands) as per manufacturer's instructions. In brief, the total gDNA released from cell lysis was treated for inhibitors removal and protein precipitation, then captured on and subsequently eluted from a silica membrane of a spin column. Blanks were also processed in addition to each sample to estimate DNA contamination. Following elution, the extracted gDNA was visually observed with 0.8 % agarose gel electrophoresis using TAE buffer, pH (8.3) (Sambrook and Russell, 2001), and quantified using a Nanodrop ND-1000 spectrophotometer (PeqLab, Erlangen, Germany). No gDNA contamination was measured in the blanks following the DNA extraction. For Illumina MiSeq sequencing, V3-V4 hypervariable regions of 16S rRNA genes were amplified via polymerase chain reaction (PCR) and tagged to 5 overhang adapter sequences (underlined) with the aid of MiSeq 16S amplicon PCR forward primer 341F 5 -TCGTCGGCAGCGTCAGATGTGTATAAGAGACAGCCT ACGGGNGGCWGCAG-3 and reverse primer 805R 5 -GTCTCGTGGGCTCGGAGATGTGTATAAGAGACAGGA CTACHVGGGTATCTAATCC-3 ) (Klindworth et al., 2012). PCR reaction mixture (Amin et al., 2018) was modified to Figure 2. Kilianstollen biological samples. Samples were taken from sites in the vicinity of a copper precipitation flume (a, b) that is drained actively with the leachate water, from a wooden plank (d) located just right to the copper flume, directly from the outflow stream (c) near the opening, and from rocky mine walls (e, f) exposed to the karstwater and pit water stream at the rear end crosscut of the Kilianstollen. obtain a final volume of 50 µL in double-distilled nucleasefree water by mixing 5 × Phusion GC Buffer (10 µL), 10 µM forward and reverse primer (1.0 µL each), 10 mM dNTPs (1.0 µL), 5 % DMSO (v/v, 2.5 µL), 50 mM MgCl 2 (0.15 µL), 0.5 µL of 2 U µL −1 Phusion HF DNA polymerase (Thermo-Fisher Scientific, Waltham, MA, USA) and 25 ng template DNA (2.0 µL). The PCR profile comprised preheating at 94 • C for 3 min followed by 25 cycles of heating at 94 • C for 45 s, annealing at 60 • C for 45 s and extension at 72 • C for 30 s. The reaction ended with a final elongation step at 72 • C for 5 min. After PCR amplification, the amplicons were visually assessed with gel electrophoresis using 1.3 % (w/v) agarose in 1× TAE buffer (Thermo-Fisher Scientific), pH 8.3 (Sambrook and Russell, 2001), and photometrically quantified in a Nanodrop ND-1000 spectrophotometer (PeqLab). The subsequent purification was performed with the GeneRead Size Selection Kit (Qiagen) to remove primers and PCR reagents. After indexing of these PCR amplicons using the Nextera XT DNA library prep kit (Illumina, San Diego, CA, USA), paired-end sequencing was performed with an Illumina MiSeq sequencer in collaboration with the Göttingen Genomics Laboratory.

Amplicon sequencing data processing
The Illumina amplicon sequencing data were processed online by employing the automated pipeline for analysis MetaAmp (http://ebg.ucalgary.ca/metaamp/, last access: 4 April 2020) (Dong et al., 2017). Using USEARCH software package, the demultiplexed Fastq format sequence files were assembled as paired-end reads (Edgar, 2010). The misaligned and mismatched reads and paired-end reads shorter than 350 bp length were discarded. Next, the primers were trimmed based on the Mothur software package (Schloss et al., 2009), and the reads without primers or with mismatched primer regions were removed. To minimize sequencing errors, the low-quality reads were scrapped using USEARCH. Dereplication, removal of singletons and chimeras, and clustering of pooled high-quality reads into operational taxonomic units (OTUs) on the basis of 97 % identity was done by UPARSE software (Edgar, 2013). The taxonomic status of the OTUs was assigned via Mothur by using the SILVA v138 as a reference (Glöckner, 2019). The taxonomic profile obtained from MetaAmp was further fed to the Microbiome online R-based server to plot respective graphs (Arndt et al., 2012). Based on the Bray-Curtis index, in principal coordinates analysis (PCoA), the data representing similarities of complex microbial communities were plotted into 2D and 3D graphs. Amplicon sequencing data have been published to the Sequence Read Archive (SRA) as SRR12876542-SRR12876555 under the project accession number PRJNA670497, as announced previously .
16S rRNA gene sequences related to already published Ktedonobacteria and Actinobacteria strains were included for phylogenetic analysis. In a first step, sequences belonging to Ktedonobacteria or Actinobacteria-related OTUs were aligned with the already published sequences through MUS-CLE, implemented in MEGA-X software, by using default settings (Stecher et al., 2020). Next, following the Kimura 2parameter model, phylogenetic analyses and molecular evolutionary distances were calculated. The phylogenetic trees were constructed using the maximum likelihood algorithm and 1000 bootstrap samplings to test tree topology.

Microscopy
The morphological features of the sampled biofilms (MB1-6) from the leachate group were observed using a Motic SMZ-171 stereo microscope (Motic GmbH, Germany) equipped with a Canon A650 camera. For transmission electron microscopy (TEM), the biofilm MB2 specimens were washed with phosphate buffered saline (50 mM, pH 7.0-7.5), followed by fixation in 2 % (v/v) glutaraldehyde solution and incubation at 0 • C for 90 min. Subsequently, samples were dehydrated in a series of 15 %, 30 %, 50 %, 70 %, 95 %, and 100 % (v/v) aqueous ethanol solutions each for at least 30 min. After embedding samples with 66.6 % LR White resin (London Resin CO Ltd., UK) in ethanol at 25 • C for 2 h and overnight incubation in 100 % resin at 4 • C, the samples were polymerized for 12 h at 55 • C. The 80-100 nm ultrathin sections were cut with diamond knives (DDK, Wilmington, DE, USA) in Reichert Ultracut E ultramicrotome (Leica Biosystems, Wetzlar, Germany). The sections stabilized by formvar-coated 300 mesh copper grids (Plano GmbH, Wetzlar, Germany) were stained with Uranyl Acetate Replacement Stain (Electron Microscopy Sciences, Hatfield, PA, USA) for 20 min. Images were captured with a Gatan Orius 4 K camera attached to a Jeol 1011 electron microscope (Jeol GmbH, Munich, Germany) and processed with the 314 Gatan Digital Micrograph software (Gatan Inc., Pleasanton, USA) and Adobe CS2 Photoshop (Adobe Systems Inc., San José, Cal., USA).

Metabolic profiling based on metagenome-assembled genomes (MAGs)
Extracted DNA from one of the leachate biofilm samples, MB1, abundant in Ktedonobacteria (see Fig. 4) as a representative of leachate group, was submitted to the Göttingen Genomics Laboratory for shotgun metagenomic sequencing. The rationale behind selecting MB1 biofilm was to investigate the survival mechanisms that contributed to the high abundance of Ktedonobacteria around the toxic copper-rich leachate stream. The gDNA extraction followed by quality and quantity assessment was performed as described above. Illumina paired-end sequencing libraries were prepared using the Nextera DNA sample preparation kit and subsequently sequenced on a MiSeq system with the reagent kit v3 with 600 cycles (Illumina). For pre-processing of sequencing data, quality control, per-read quality pruning, read filtering, adapter trimming, and base correction, fastp v.0.19.4  was used. The assembly of short read metagenomic data into metagenomic scaffolds was carried out by the metagenome assembler metaSPAdes v.3.14.0 (Nurk et al., 2017) with K-mers 21, 33, 55. Subsequently, bins were determined using MaxBin v.2.2.7 (Wu et al., 2015). CheckM v.1.1.2 was used to evaluate the MAGs quality by providing robust estimates of genome completeness and contamination (Parks et al., 2015). Each high-quality MAG was then annotated using PROKKA v1.14.5 (Seemann, 2014). Genome wide orthologous clusters across multiple species were determined with a web server, OrthoVenn v2 (Xu et al., 2019), which assigned the protein sequence data to a high-level summary of functional categories such as biological process, molecular function, and cellular component with GOSlim annotation and UniProt search. Finally, the Prokka output was analysed by using the PathoLogic (Karp et al., 2011) component of the Pathway Tools software v.23.5 (Karp et al., 2015) and the MetaCyc database v.23.5 (Caspi et al., 2019). The MAGs were classified taxonomically using GTDB-Tk v.1.0.2 and the Genome Taxonomy Database (GTDB) (release 89) (Chaumeil et al., 2020;Parks et al., 2019). The raw sequencing and assembly data have been already published in the SRA (SRR12886061) and Genbank (JADEYI000000000 and JADMIG000000000-JADMN000000000) under the project accession number PR-JNA670497 . The pathways maps of these MAGs showing their metabolic potentials and annotations can also be assessed at the Göttingen Research Online Database https://doi.org/10.25625/W9PWCX.

Physiochemical parameters of Kilianstollen mine waters
The physiochemical parameters (pH, electrical conductivity, redox potential) and ion concentrations were determined for the spring water samples (spring basin; source of karst water), and after the intermixing of an influent flow also rich in calcium and/or hydrogen carbonate (side adit 1), where a solid sinter crust was formed in the stream bed. Two other records of parameters were taken in a side stream rich in calcium and sulfate ions (side adit 2, "gypsum karstic water"), and after mixing with the karstic water of the mainstream. Further, two samples were taken from a copper flume leachate and a copper sulfate leachate outflow, draining towards the adit mouth (Fig. 1). The concentration of ions from transition metals Fe, Cu, Zn, and Mn, and Ca, Na, Cl, and SO 2− 4 were higher in these samples than in karst water samples (Fig. 3). The highest concentration of ions from Ni, Co, Fe, Cu, Zn, and Mn (0.62, 0.46, 35, 85, 2, and 4 mg L −1 ), was observed in the acidic copper flume leachate (pH 4.8) along with high concentrations of SO 2− 4 , Ca, Na, Cl, and NO − 3 (1950,403,415,499, and 188 mg L −1 ) (Fig. 3a). Due to the metal precipitation, the concentrations of these transition metals towards the adit leachate outflow stream dropped to 0.2, 0.1, 2.9, 0.005, 0.8, and 1.3 mg L −1 , respectively, and pH raised to 7.26. The heavy metal content in the spring water stream was considerably lower, i.e. in the range of 0.23 to 5.9 µg L −1 . The efflux of the transition metal ions from the adit crosscut 2 drainage raised the heavy metal concentration of the stream water to the range of 3.8 to 262 µg L −1 , particu-larly for Zn, Mn,Cu,and Ni (262,76,44, and 18 µg L −1 ). To understand the copper toxicity and homeostasis with respect to microbial consortia, biofilms growing at the rocky mine walls were investigated nearby these water bodies.

Alpha and beta diversity
The Shannon diversity indicated that unique OTUs (richness) were abundant in the MBS1-4 spring water stream samples, followed by the MBS10, 11, and 13 unconsolidated rocks, and MB1-6 and MBS18 leachate group samples (p = 0.025 ANOVA) (Fig. 4). The alpha diversity index Chao1 index showed the same pattern when the sampling groups were statistically compared (p<0.0003 ANOVA, Table S1). Alpha diversity is high in the MBS1-4 samples, possibly due to moisture and neutral conditions from the adjacent spring water stream. With respect to the leachate samples group, low diversity indexes were observed as only a few adapted microbes could colonize, indicating a selective pressure due to extreme environmental conditions (Fig. 5a).
The principal coordinates analysis (PCoA) showed that the microbial communities of spring water, leachate, and unconsolidated rocks samples were distinct to each other (Fig. 4c, d). According to the Unifrac weighted algorithm (Lozupone et al., 2011) and analysis of molecular variance (AMOVA) nonparametric method (Table S2) (Mengoni and Bazzicalupo, 2002), the spring water and leachate samples were phylogenetically distinct to each other (p = 0.034); conversely, the unconsolidated rocks microbiome was similar to both spring water and leachate groups (p>0.097). The unconsolidated rocks group may be the intermediate between the other groups in terms of diversity, and the diverse environmental conditions led to selection of different microorganisms. The hypothesis that the low pH and the high heavy metal concentration of mine water contributed to the Ktedonobacteria and Actinobacteria natural selection was further analysed with the canonical correspondence analysis (Fig. S2). The representative of leachate groups (MB1, MBS18) cluster closely with the low pH, high heavy metal concentration, and Ktedonobacteria abundance as compared to the spring water samples which showed that after mixing with the adit leachate, the major abundant taxa Proteobacteria (MBS1-2) shifted towards Actinobacteria (MBS3).

Distribution of bacterial taxa in Marsberg Kilian copper mine samples
The distribution of the predominant taxa at the collection sites varied drastically with the quality and type of nearby water sources (Fig. 5a). The most obvious sign of microbial growth, visible to the naked eye, were sub-aerial, whitish biofilms (MBS1-4) growing on the rocks, nearby the spring water stream. They were dominated by Proteobacteria (38 %) and Actinobacteria (21 %). The relative abundance of Proteobacteria declined, whereas the relative abundance of Actinobacteria increased gradually as the sampling site moves from spring water (MBS1) to karstic water containing heavy metal discharge influx (MBS3). In the leachate samples group, Chloroflexi (30 %), Cyanobacteria (23 %), and Actinobacteria (19 %) were abundant in the greenishwhitish biofilms (MB1-6) collected either in close vicinity of the copper flume leachate or directly from the heavy metal leachates streams (outflow water stream sample MBS18).
Since these sites were more intensively illuminated with light bulbs than other sampling sites, this could have facilitated the growth of Cyanobacteria. The biofilms collected next to the copper flume from wooden plank (MBS10) and moist unconsolidated rocks (MBS11, 13) were enriched mainly in Actinobacteria (41 %) and Acidobacteria (20 %). When the three sample groups were compared in terms of abundant taxa, Chloroflexi and Cyanobacteria were significantly abundant in the leachate, while Firmicutes were relatively abundant in the spring water stream group samples and Actinobacteria and Acidobacteria seemed to be ubiquitous (p<0.05 DE-Seq2, Table S3). At the class taxonomic rank, 5657 OTUs were identified across all samples comprising Actinobacteria (25 %), Ktedonobacteria (13 %), Oxyphotobacteria (12 %), Acidobacteria (9 %) Gammaproteobacteria (8 %), Deltaproteobacteria (5 %), Bacteroidia (5 %), and Alphaproteobacteria (3 %). MBS1-4 whitish biofilms growing nearby a spring water stream are dominated by Deltaproteobacteria and Gammaproteobacteria (48 %, MBS1), Bacilli (29 %, MBS2), and Actinobacteria (51 %, MBS3 and 25 %, MBS4) (Fig. 5a). Ktedonobacteria, being the most abundant class (26 %) in the leachate samples group (MB1-6 and MBS18), constituted 85 % of Chloroflexi. Oxyphotobacteria (a class within the phylum Cyanobacteria) and Actinobacteria also contributed 23 % and 16 % to the leachate group, respectively. Since the corresponding biofilms colonize rock surfaces in direct contact to the transition metal (Fe, Cu, Zn, and Mn) rich acidic mine drainage water ( Figs. 1 and 2), it is hypothesized that the low pH and the high heavy metal concentration of mine water contributed to the Ktedonobacteria, Oxyphotobacteria, and Actinobacteria natural enrichment. Statistical analysis revealed that the classes Ktedonobacteria and Oxyphotobacteria were significantly abundant in the leachate group, while the Bacilli and Deltaproteobacteria in the spring water stream group and Actinobacteria and Acidobacteria classes in the unconsolidated rocks group were significantly abundant, as compared to other groups (p<0.05 DESeq2).

Appearance of sampled biofilms and phylogenetic analysis
Eukaryotic microalgae and aerial mycelia could be observed in light microscopy images when the collected leachate samples group was visualized under the light microscope (Fig. 6). Interestingly, a nematode related to Poikilolaimus oxycercus was also found which colonizes the deep subsur- face sites (Borgonie et al., 2019), and one unicellular alga (Coccomyxa subellipsoidea) was highly abundant, identified via 18S rRNA amplicon sequencing ; unpublished previous data). TEM micrographs also showed eukaryotic (algal) along with prokaryotic cells in the biofilm, indicating cohabitation. Mineral deposition around the microbial cell walls was not observed (Fig. 6), suggesting the inhabiting microbiota has employed some other pathways to cope with the heavy metal toxicity under low pH instead of metal precipitation. TEM micrographs of the MB3 biofilm from the leachate group also revealed the presence of sporulating hyphae which could be identified as either mycelialike branched Ktedonobacteria, or Actinobacteria. Sporulation pattern (one spore per cell) and much higher relative abundance as compared to the Actinobacteria suggest the formation of the biofilm by Ktedonobacteria. Marsberg Kilianstollen offers a large reservoir of uncultured strains, comprising numerous Chloroflexi representatives (Figs. S3, S4). The genus level-based analysis led to the identification of at least 10 distinct uncultured gen-era affiliated with the Ktedonobacteria class, and 80 % of them could be classified to the Ktedonobacteraceae family. Within Actinobacteria, 20 known genera were identified, whereby the Pseudonocardiaceae family represented 88 % actual abundance of these genera members. The most abundant genus, designated C0119, has been frequently assigned to Ktedonobacteria based on reference database comparisons (Dube et al., 2019;Paul Chowdhury et al., 2019). Nevertheless, the C0119 OTU have been shown to not cluster with Ktedonobacteria based upon phylogenetic analysis of Chloroflexi sequences (Glöckner, 2019;Jones et al., 2017) (Fig. S5). The unclassified C0119 strains might need to be classified into a new class of the cold climate adapted extremophiles belonging to the phylum Chloroflexi. In contrast, most of the Actinobacteria OTUs were classified as representatives of known genera such as Mycobacterium, Nocardioides, Micrococcus, Crossiella, Amycolatopsis, Nocardia, and Pseudonocardia which could be potentially interesting with respect to novel bioactive compounds, biodegrada- tion, and biodeterioration pathways (Tiwari and Gupta, 2012;Kämpfer, 2010).

Metagenome-assembled genomes (MAGs)
Ktedonobacteria is a recently discovered hitherto poorly characterized class of Chloroflexi. The high abundance of Ktedonobacteria especially in a heavy metal contaminated environment (around copper leachate stream) implies specific survival mechanisms. To further elucidate these mechanisms, a biofilm sample MB1 as a representative of leachate group was selected for shotgun metagenomic sequencing based on the abundance of overall representative taxa of interest, such as Chloroflexi (Ktedonobacteria). Eight relatively complete MAGs (completeness, ≥ 89 %) were obtained, and subsequently proteins and metabolic pathways predicted. The genome sizes of the eight MAGs (designated Mberg 002, 006, 008, 009, 010, 011, 015, and 019), show-ing a contamination rate ≤ 10 %, ranged from 2.6 to 4.9 Mb. Furthermore, the number of identified genes ranged from 2516 to 4772. Based on phylogenetic analysis, the MAGs were assigned to Actinobacteria, Binatia, Deinococci, Chloroflexota, Dehalococcoidia, Chloroflexia, and Ktedonobacteria (Fig. S6).

Orthologous gene clusters
The preliminary comparison and analysis of GOSlim terms for core orthologous gene clusters for each MAG revealed unique survival pathways involved in extremophily (Fig. 7). The identified protein genes were grouped in 5540 distinct, 5395 orthologous, and unique 145 single-copy gene clusters. The shared orthologous gene ontology GO terms correspond to common cellular functions such as respiration and cell wall synthesis. These orthologous clusters contribute to various survival pathways such as aromatic and sulfur compounds metabolic processes, detoxification pathways for arsenic compounds and heavy metals ions transport, dehalogenation, and sporulation. The detected broad- spectrum heavy metal binding domains and associated proteins identified in the Prokka annotations are also important to survive high concentrations of heavy metals in the environment. The metal binding proteins are mostly enzymes which require transition metals Zn, Cu, Co, and Ni as cofac-tors to perform different biological processes. The cupredoxins superfamily proteins and domains were frequently found in shared clusters, and these contain type 1 Cu binding sites which are involved in oxidation reactions conferring resistance against Cu by various proteins (azurin, multicopper ox- idases [MCO], laccases, and nitrosocyanin) (Argüllo et al., 2013;Vita et al., 2016;Donaire et al., 2002;Redinbo et al., 1994;Zaballa et al., 2012). Mberg010, assigned to Binatia, showed orthologous protein clusters related to aromatic compound degradation pathways. Mberg019, affiliated with Ktedonobacteria, has genes encoding unique plasma membrane proteins, identified in unshared clusters. All MAGs seem to mediate transition metal homeostasis, as metal binding proteins and transporters were frequently identified. The process of spore formation seems to be prevalent in all MAGs as GO terms for sporulation were observed in shared and unshared orthologous clusters. To study the MAGs with respect to heavy metal homeostasis, efflux systems, and detoxification and aromatic degradation pathways in more detail, pathway maps (https://doi.org/10.25625/W9PWCX) were generated based on Prokka outputs and subsequently inspected.

Heavy metal homeostasis and efflux systems
Transporters such as copper-exporting P-type and oxidation enzymes involved in transition metals homeostasis were identified in all selected MAGs (Fig. 8). The genes involved in copper homeostasis include copper-sensing transcriptional repressors CsoR and RicR, copper-exporting P-type ATPases CptA, ActP, and CopA, and oxidation enzymes, multicopper oxidases (MCOs), in all MAGs. Basically, upon Cu + ion binding, the dissociation of CueR, CsoR, and RicR transcriptional repressors (Fu et al., 2014;Smaldone and Helmann, 2007) activates the copper regulon genes related to transporters CopA-like P-type ATPases, metallothioneins, or copper binding chaperons CopC, CopZ, and periplasmic multicopper oxidase MmcO and CueO (Osman et al., 2010;Shi et al., 2014). Under anaerobic conditions, the multicopper oxidase enzymes become inactive, and therefore another threecomponent channel or pore Cus complex controls Cu + efflux through CusA, an inner membrane energy-driving channel which is attached to the outer membrane pore CusC through the periplasmic CusB protein (Outten et al., 2001). The cutA locus, presumably involved in copper tolerance and homeostasis, was also characterized to affect tolerance levels to zinc, nickel, cobalt, and cadmium ions (Fong et al., 1995). The metalloregulatory transcriptional response to diand multivalent heavy metal ions Cd 2+ , Pb 2+ , Bi 3+ , Zn 2+ , and Cu 2+ is maintained by SmtB/ArsR family repressors CmtR and CadC (Busenlehner et al., 2003). MntH is a divalent metal cation transporter which displays broad substrate specificity and can regulate the intracellular accumulation of several divalent cations, including Mn 2+ , Cd 2+ , Co 2+ , Zn 2+ , and, to a lesser extent, Ni 2+ and Cu 2+ (Makui et al., 2000). CzcD, a heavy metal cation efflux transporter, mediates heavy metal resistance with respect to Cd 2+ , Co 2+ , and Figure 7. Venn diagram displaying the distribution of shared orthologous clusters among the eight assembled genomes. The orthologous clusters of similar proteins have been allocated the GO terms based on same function or process. Only the GO terms related to metals, aromatic compound, sporulation, and pH regulations are mentioned to identify the microbial survival under extreme stress conditions. The closely matched proteins are identified as Swiss-Prot accession numbers, and names of some important hits are mentioned.
Zn 2+ in the absence of the high resistance CzcCBA system (Nies, 2003;Anton et al., 1999;Papp-Wallace and Maguire, 2006). Manganese homeostasis is maintained by a manganese efflux pump, MntP (Waters et al., 2011). A putative bacterial multicopper oxidase MoxA has been reported to compact the cellular Mn 2+ toxicity through surface oxidation to the insoluble Mn 3+ and Mn 5+ oxides (Ridge et al., 2007;Zhang et al., 2015). HoxN, a high-affinity nickel transporter, facilitates the nickel translocation process as nickel permease (Wolfram et al., 1995). The influx of Mg 2+ , Ni 2+ and Co 2+ is coordinated via an ubiquitous divalent metal ion transporter CorA (Kersey et al., 2012), and efflux of these divalent metal ions is directed through CorC, a magnesium and cobalt efflux protein (Gibson et al., 1991). The homeostasis of the transition metals cobalt, nickel, and iron, and Ni 2+ and Co 2+ detoxification is also regulated by a nickel-cobalt exporter, designated RcnA, through efflux (Koch et al., 2007).
The oxyanions molybdate and tungstate are taken up through the membrane by the high-affinity ModABC molybdate system along with sulfate ions (Self et al., 2001;Xia et al., 2018;Maupin-Furlow et al., 1995). Sulfate and thiosulfate are taken up by sulfate permeases, carriers belonging to the SulT family, encoded by the cysPTWA operon, and SulP family members (inorganic anion uptake carriers) (Kertesz, 2001).

Discussion
Generally, the acid mine drainage (AMD) habitats, which exceed most natural heavy metal concentrations, are dominated by prokaryotes with chemolithoautotrophic lifestyles, which produce sulfuric acid and are responsible for the mobilization of heavy metals from rocks through the oxidation of metal sulfide (Schippers and Sand, 1999). The present study aims to give a complete microbiome overview of Kilianstollen habitats influenced by mine drainage, where we could expect microbial metal reduction, deposition, and detoxification. To colonize the Marsberg mine subsurface habitat, the microbes must have developed resistance against heavy metals such as molybdenum, manganese, cobalt, zinc, and copper. Above optimal concentrations, copper confers its toxicity to microbes through its redox activity which catalyses a Fenton-like reaction, resulting in the generation of reactive oxygen species that may cause protein damage and lipid peroxidation (Macomber and Imlay, 2009) and destabilizing the iron-sulfur clusters via Fe(II) displacement in key enzymes prosthetic groups (Azzouzi et al., 2013;Chillappagari et al., 2010;Dupont et al., 2011). Thus, copper may inhibit the growth of common fast-growing Proteobacteria or Firmicutes such as Escherichia coli, Pseudomonas aeruginosa, Vibrio spp., Bacillus cereus, and Bacillus subtilis, even at micromolar concentrations (Gordon et al., 1994). This 16S rRNA gene V3-V4 amplicon sequencing based study of the Marsberg copper mine also observed the colonization of heavy metal tolerant microbes and inhibition of Proteobacteria and Firmicutes growth under the influence of copper toxicity. The colonization sites near the copper-rich leachate outflow stream such as a copper flume (MB1-6 biofilms) enrich copper resistant groups belonging to abundant phyla Chloroflexi (Ktedonobacteria, KD4-96), Actinobacteria, and Cyanobacteria (Oxyphotobacteria) as compared to the freshwater stream sites; these are mainly colonized by fastidious non-resistant Proteobacteria. KD4-96 has been frequently detected in soils contaminated with metals (aluminium, iron; Wegner and Liesack, 2017) and mining-affected waters (Kujala et al., 2018). Heavy metal resistance has been widely studied for Actinobacteria members especially in AMD environments (Schmidt et al., 2005). Ktedonobacteria become abundant in the thermophilic (Yabe et al., 2011(Yabe et al., , 2017bArif et al., 2021c), mesophilic (Cavaletti et al., 2006;Yabe et al., 2017a), and psychrophilic (Ghezzi et al., 2021;Barton et al., 2014) environments under heavy metal, temperature, nutrient, and/or hydrocarbon stress. A metatranscriptomic study of an abandoned Pb-Zn mine (Coto Txomin, Spain) also determined that the heavy metal concentrations (up to 3220 and 97 g kg −1 of Pb, Cd, and Zn, respectively) and low pH (4-6) drastically influenced the soil microbial diversity, suppressed the relative abundance of Actinobacteria, Acidobacteria, and Alphaproteobacteria, and enhanced slow-growing metal and acid-tolerant taxa af- Figure 8. Heavy metals transport channels and enzymes. The metalloregulatory transporters, enzymes, chaperones, and transcription factors form the specific protein-metal coordination complexes involved in the heavy metal transport, intracellular trafficking, storage, and detoxification are derived from the MAGs pathway maps (supplementary pdf files) and Prokka annotations . Copper homeostasis is maintained through the efflux pumps CopA, CtpA, ActP, and CopB under aerobic conditions which remediate the high cellular Cu + contents. The CopZ acts as allosteric switch to detect the excess copper ions, and activate the transcription of the CopABCD operon and multicopper oxidase MmcO through Cu-based inactivation of CsoR and CueR repressors. The periplasmic Cu + is oxidized to the less soluble Cu 2+ by MmcO and CopC that both bind Cu +/2+ as storage and metallochaperone proteins, while PCu(A)C chaperones facilitate the biogenesis of the copper centre in the cytochrome oxidase. filiated with Chloroflexi (Ktedonobacteria) (Epelde et al., 2015).
The same enrichment trend for Chloroflexi (Ktedonobacteria and KD4-96) was observed when a microcosm setup supplemented with acid mine drainage contaminated soil and cysteine hydrochloride was incubated for six months at 30 • C, which decreased the abundance of the major taxa Acidobacteria, Acidimicrobiia, Actinobacteria, and Thermoleophilia (Gupta et al., 2018). A high abundance of Ktedonobacteria at the downstream arsenic deposits of the acid sulfate hot spring Tengchong, China, suggests that these aerobic heterotrophic mesophiles and thermophiles may have been involved in arsenic reduction/toleration along with iron and sulfur oxidation cycles (Jiang et al., 2016). The Marsberg cold-adapted Ktedonobacteria also colonize the downstream acid mine leachate, indicating the ability to reduce or tolerate heavy metal ions. The co-occurrence of Cyanobacteria (Oxyphotobacteria) and Chloroflexi (Ktedonobacteria) could facilitate the growth of heterotrophs by providing carbon nutrients, and in return the heterotrophs may remediate the heavy metal contaminated sites, resulting in better microbial survival and colonization of the microbial consortium.
The selective enrichment of Ktedonobacteria at Marsberg copper mine indicates the ability of these psychrophiles to inhabit cold environments and could be linked to heavy metal tolerance along with iron. The extreme conditions survival is attributed to the high metabolic plasticity of Ktedonobacteria, a diverse class ranging from thermophilic to mesophilic isolates, and the type stain Ktedonobacter racemifer has an unusually large genome of 13 Mbp, containing 9539 genes, 601 of which are transposases (Chang et al., 2011). The identified KO07665 based on KEGG analysis belonging to the Ktedonobacteriaceae codes for the copper resistance phosphate regulon response regulator CusR (Thomas Iv et al., 2020). The pathway map and annotation of the Marsberg Ktedonobacteria MAG019 also indicates a detection mechanism with respect to Cu + by copper-sensing transcriptional repressor (RicR), oxidation to Cu 2+ via multicopper oxidase (MCO), and finally export outside the cells through copper-exporting P-type ATPases (CopA, CtpA) and nonspecific heavy metal cadmium, cobalt, and zinc / H + -K + antiporter (CzcD). When compared with the type strains of mesophilic K. racemifer and thermophilic T. hazakenisis, the cold-adapted MAG019 showed only 3.9 % unique ortholo- gous shared clusters for heat shock, bacterial chemotaxis, protocatechuate branch of beta-ketoadipate pathway to degrade aromatic compounds, heavy metal resistance through Ton and Tol transport system, copper homeostasis, peptidoglycan biosynthesis, and DNA repair (Arif, 2021a).
High concentrations of heavy metal ions in the environment promote selection for heavy metal-resistant microbes, with either chromosomal or plasmid-level genes, maintaining heavy metal ion homeostasis inside cells (Rademacher and Masepohl, 2012). The organisms may reduce the sensitivity by employing the permeability barriers, by enhancement of active transport of metal ions from the cytoplasm (efflux) through a specific membrane transport system, by enzymatic detoxification, by reduction of metal ions by redox reactions, or by complexation of heavy metals resulting in extracellular and intracellular sequestration (Silver and Phung, 2005;Hobman et al., 2007). For all organisms in heavy metal environments, one or more of these adaptations are prerequisites for survival. This study investigated the pathways crucial for microbial survival nearby acid mine drainage, and all MAGs explicated had specialized adaptations to cope with heavy metal toxicity. Especially, copper homeostasis is maintained by copper-exporting P-type ATPases efflux pumps ActP, CptA, and CopA (Argüllo et al., 2013;Kim et al., 2008;Festa and Thiele, 2011), Cu + -specific metalloregulatory proteins (CsoR, RicR, Fu et al., 2014 andCopR, Villafane et al., 2011), oxidation of Cu + to less toxic Cu 2+ by the cupredoxins proteins superfamily (Rowland and Nieder-weis, 2013), and expression of metallochaperones and metallothioneins with Cu binding constants in the picomolarfemtomolar range (Rae et al., 1999;González-Guerrero and Argüello, 2008). The sensory cytosolic CopZ-like chaperones stimulate the transcription of several copper-stress related genes via trafficking the Cu + to the DNA-bound CsoR and CueR and the inner membrane-localized channels, especially copper-exporting P-type ATP-ases such as ActP, CptA, and CopA for efflux to the extracytosolic periplasmic environment (Argüllo et al., 2013;Kim et al., 2008;Festa and Thiele, 2011;Novoa-Aponte et al., 2019). Mounting evidence also confirms the coexistence of the anaerobic Cus system with the aerobic CopA regulon in 44 % of Gammaproteobacteria group members (Hernández-Montes et al., 2012). The periplasmic CopC proteins maintain the bacterial copper homeostasis via binding both Cu + and Cu 2+ along with CopD inner membrane protein (Cha and Cooksey, 1993). PCuAc-like chaperone PccA required for the biogenesis of the copper centre assembly in the cbb3-type cytochrome c oxidases (CcO) have been demonstrated in various bacteria (Thompson et al., 2012;Andrei et al., 2020).
Since most of the heavy metal efflux pumps are ATPases, a constant supply of energy (as ATP) is met through converting various aromatic compounds to TCA cycle intermediates (Fuchs et al., 2011;Ghosal et al., 2016), in addition to several inorganic nutrients catabolism. To detoxify ROS, toxins, and antibiotic compounds, mycobacteria and some other Actinomycetales utilize mycothiol-mediated detoxification (New-ton et al., 2000(New-ton et al., , 2008. Other important enzymes related to ROS detoxification are superoxide dismutase SOD and peroxidases which degrade the superoxide anion radicals (Broxton and Culotta, 2016). The arsRDABC operon codes for an ATP-dependent anion pump that confers resistance to arsenite, arsenate, antimonite, and tellurite (Rosen, 2002). Arsenite methyltransferase ArsM catalyses the formation of several volatile methylated intermediates from As 3+ , which eventually results in loss of arsenic from the cells through passive diffusion (Huang et al., 2018;Zeng et al., 2018). The mercuric reductase MerB reduces divalent Hg 2+ to less bioavailable metallic mercury Hg vapour which is also volatilized under aerobic conditions and leaves the cells through passive diffusion (Silver and Hobman, 2007). These detoxification pathways also explain the lack of mineral or metals deposition as visible in TEM images as either oxidation of metallic ions to less soluble ionic form, or their reduction to volatile products makes them leave the bacteria through extrusion or diffusion under low pH. Hence, to inhabit the Marsberg acid mine leachate sites, the cold-adapted microbiome has the plasticity to express a wide range of heavy metal-specific enzymes which could either oxidize or reduce different metallic ions to neutralize their toxic effects, regulate their intracellular concentrations, and integrate the heavy metals as cellular components, cofactors for enzymatic functions, and protection against oxidative stress. Culturing of specific strains, especially Ktedonobacteria, may further clarify mechanisms of heavy metal resistance (exporter systems, metal chelators, bioorganic compounds enhancing metal precipitation). This might also give implications to mine waste treatment, bioremediation, and biomining.

Conclusions
The freshly collected samples from Marsberg copper mine (NE Rhenish Massif, Germany) were taken as a hitherto unexplored inventory of extremophilic organisms with largely unknown properties with respect to long-term survival, heavy metal tolerance, and degradation of complex organic compounds. The typical colonization patterns, mainly composed of Firmicutes, and Proteobacteria changed considerably towards uncultured Chloroflexi, including Ktedonobacteria representatives, when the sampling sites around the spring water stream shifted to the acid mine leachate outflow. The acid mine drainage with influx of heavy metals altered the composition, drastically reduced the richness and evenness of microbial communities, and exerted selective pressure towards resistance to metal contamination. Consequently, the microbiome has evolved various survival pathways related to aromatic and sulfur compounds metabolism, toxic arsenic compounds reduction, copper ions oxidation and heavy metal ions reduction and extrusion, dehalogenation, and sporulation.
Author contributions. MH, NH and SA defined the methodology. SA, MH, ES, AR, GA and NH collected the water and rock samples. MH, SA and ES did the preliminary microscopic and amplicon sequencing analysis. SA and HN did the MAGs assembly and subsequent analysis. SA, ES, AR, GA and HN wrote down the original draft. The editing and further improvements were done by MH, SA, HN, AR and GA.