Introduction

Habitat mapping and modelling corridors across species distribution are cardinal for prioritization of conservation strategies1,2. Landscape connectivity demonstrates feasibility for wildlife to move through fragmented habitats and therefore maintaining corridors in fragmented landscapes are vital to ensure natural gene flow and the long-term survival of the species1,3. Further, heterogeneity and rapid changes imposed in the landscape often accelerate restriction in the species movement between suitable patches4,5. This restricted movement may lead to genetic consequences including disruption of gene flow, inflation of inbreeding and loss of rare alleles supporting local adaptation and genetic fitness6,7. This phenomenon may induce multifaceted challenges in small populations inhabiting in trans-boundary landscapes (TBL). Prioritizing species conservation across TBL is challenging due to differences in the national interest, policies, local communities, funds allocation and political will8.

The Kangchenjunga Landscape (KL) is one of the six TBL in the Hindu Kush Himalayan region, sharing boundary among Nepal, India and Bhutan9. The red panda (Ailurus fulgens), a magnificent iconic species of this landscape, is endemic to temperate conifer and cool broadleaf forest with dense bamboo undergrowth of preferring altitude range 2,300 to 4,000 m of Central and Eastern Himalayan biotic province10,11,12. Red Panda was taxonomically classified to occur in two subspecies based on the morphology and distribution—Ailurus fulgens fulgens distributed in Nepal, India, Bhutan, Myanmar, and China (Tibet and western Yunnan province) and Ailurus fulgens styani, occurred from the Sichuan and Yunnan provinces of China and Nujiang river was believed to be a biogeographic barrier for the separation of two subspecies13,14. However, a recent study by Hu et al.15 demonstrated the presence of two phylogenetic species of red panda, i.e. the Himalayan red panda (Ailurus fulgens) and Chinese red panda (Ailurus styani), with high depth sequencing data and revealed that the Yalu Zangbu river might be the potential boundary for species divergence. Further, Himalayan red panda reported to be distributed in India, Nepal, Bhutan, northern Myanmar, and Tibet and western Yunnan Province of China, while the Chinese red panda distributed in the Yunnan and Sichuan provinces of China15. The anthropogenic factors including habitat loss, poaching for pelt, jhoom cultivation and conversion of forest to non-forest land use have caused rapid decline of red panda12,14,16. Nearly 50% of red panda habitat has been lost in the last three generations, bringing it as ‘Endangered’ in the Red list category12. In India, the red panda is protected under Schedule-I of the Wildlife (Protection) Act, 1972 and most of its populations reside in small and isolated protected areas (< 500 sq. km), thereby increasing high risk of local extirpation of red pandas due to genetic inbreeding and loss of heterozygosity15,17,18,19. Earlier studies available on red panda from KL—India have addressed population status, distribution, and abundance11,20,21, habitat preferences and diet composition22,23. However, with the emergence of landscape genetics, it is now feasible to explicitly quantify the effects of landscape features on the spatial patterns of genetic variation, population structure, gene flow, and adaptation24,25,26. Thus, population genetics integrated with landscape ecology and remote sensing data can be used to aid delineating shift, if any, in the identified corridors that maintain connectivity between habitat patches and facilitate biotic processes such as dispersal and gene flow27,28,29,30. In this view, the detailed population genetic assessment of red panda with respect to landscape connectivity and anthropogenic activities is imperative to prioritize the management strategies for ensuring long term population viability of red panda in Himalayas. The present study is aimed to address the fine-scale spatial patterns of genetic differentiation and gene flow among the habitat clusters supporting red panda population in KL—India.

Results

Forty-eight candidate maxent models were generated (Table S3) and model with lowest Delta AICc informative AUC (0.911 ± 0.098) was selected, which predicted species distribution better than the random model (Table S1). The generated binary map discriminated between suitable and unsuitable habitat of red panda based on 10-percentile training presence thresholds (Fig. 1b). The jackknife test revealed that bioclimatic variable siwb_bio19, precipitation of coldest quarter contributed 45.6% and maximum temperature of the warmest month contributed 29.4% to predict habitat suitability. The land use land cover (LULC) contributed 12.9% followed by canopy height 11.8% and isothermality found to be less important and contributed only 0.3% (Table 1). The Jackknife test for regularized training gain in the present model showed that the variable with the highest gain, when used in isolation, was precipitation of coldest quarter, which therefore appeared to have the most useful information by itself. The environmental variable that decreased the gain the most when it was omitted, was Max Temperature of Warmest Month, which therefore appeared to have the most information that was not present in the other variables (Fig. S1).

Figure 1
figure 1

Study area map, red panda species distribution and landscape connectivity model. (a) Map of Kangchenjunga landscape (KL), India with overlaid sampling locations [SNP—Singalila National Park and NVNP—Neora Valley National Park in north West Bengal; BRS—Barsey Rhododendron Wildlife Sanctuary and KNP—Kanchenjunga National Park in West Sikkim (WS); PWLS—Pangolakha Wildlife Sanctuary and KAS—Kyongnosola Alpine sanctuary in the East Sikkim (ES)], (b) predicted habitat suitability model of red panda in KL—India, (c) model based on genetic divergence of red panda in KL—India. (d) Landscape connectivity model based on ensemble approach by combining both the genetic divergence and environmental conductance in KL—India.

Table 1 Details of bio-climatic variables used in the present study to predicted habitat suitability.

Habitat suitability and landscape connectivity

The study covered 10 protected areas (PAs) that included Singalila National Park (SNP), Senchal Wildlife Sanctuary (SWLS), and Neora valley National Park (NVNP) located in Northern West Bengal and Barsey Rhododendron Sanctuary (BRS), Maenam Wildlife Sanctuary (MWLS), FambongLho Wildlife Sanctuary (FLWLS), Pangolakha Wildlife Sanctuary (PWLS), Kangchenjunga National Park (KNP), Shingba Rhododendron Sanctuary (SRS), and Kyongnosla Alpine Sanctuary (KAS) located in Sikkim State of India. Our results predicted a total of 1,309.54 km2 (12.78%), comprised of 1,097.26 km2 in Sikkim and 212.28 km2 in North West Bengal as suitable habitat for red panda with largest suitable habitats in KNP (493.37 km2) (Table 2). The habitat suitability demonstrated that from West to East, SNP was connected with BRS and BRS was connected with KNP which is the only National Park in Sikkim. The MWLS in south Sikkim was connected with KNP on its northern border. On eastern part of the landscape NVNP and PWLS were connected, however, large amount of habitat suitability was observed outside PA on the eastern part of Sikkim.

Table 2 District and protected area wise habitat suitability.

The ensemble approach by combining both the genetic divergence and environmental conductance depicted the landscape connectivity and its functionality to support movement corridors of red panda in KL—India. The predicted genetic divergence among the identified clusters was in coherence to the habitat suitability model (Fig. 1b,c). The landscape genetics model by an ensemble conductance surface, lumping both the genetic divergence and environmental suitability demonstrated high-density currents radiated from SNP and NVNP in the North West Bengal (Fig. 1d). Further, to decipher the direction of gene flow among the clusters, we estimated the contemporary migration rate using BayesAss (Fig. S4). The landscape connectivity model and the contemporary migration rate, jointly inferred the permeability of floating currents, indicating structural connectivity in KL—India (Fig. 1d), well supported by the asymmetric gene flow from West to East (Fig. S4). The landscape connectivity model did not show horizontal connection from West to East in KL—India. Instead, the current flow forming a crescent arc to connect KL—India from the West to East with high-density currents radiating from SNP and NVNP of North West Bengal. The current formed bottleneck position of corridor in the KNP of north Sikkim. On the eastern part of the KL, the cumulative current flow was narrow running in longitudinal extent between PAs (Fig. 1d).

Individual identification and assessment of genetic variability

Allelic Drop out (ADO) ranged from 0 to 0.294 while we did not observe any significant amount of False allele (FA) (Table 3). Four loci i.e. CRP357, CRP385, CRP409 and CRP367 exhibited relatively high frequencies of null alleles that may consequently affected the Hardy Weinberg Equilibrium (HWE) and Inbreeding coefficient (FIS) (Table 3). Among 234 faecel samples collected from KL, we obtained positive PCR amplification in 98 faeces (38%) with nine microsatellite loci. Of which, 37 samples (approx. 40%) yielded mixed profiles on capillary electrophoresis, plausibly due to the red panda behaviour, being arboreal and group defecation in piles at same places. We finally obtained 57 unambiguous genotypes and with a select panel of seven loci with a cumulative PIDsib 2.91 × 10−3, we identified 24 unique genotypes—two individuals originated from SNP, 11 from WS, six from ES and five from NVNP (Table 3). We uploaded multilocus genotype data of 24 unique individuals on DRYAD and available on https://doi.org/10.5061/dryad.2280gb5nz. For population genetic analysis, we used nine microsatellite data that exhibited ≥ 90% amplification success. The exhibited mean observed number of alleles (Na)—6 ± 0.58, observed heterozygosity (HO)—0.493 ± 0.06 and expected heterozygosity (HE) 0.664 ± 0.027 (Table 3). Three loci, CRP357, CRP385 and CRP367 deviated significantly from HWE and only one pair of loci out of 36 pair-wise comparisons were in significant Linkage disequilibrium (LD) (P < 0.0012) after Bonferroni correction. HWE deviation of these markers might be due to the multiple reasons, like inflated frequencies of null alleles, Wahlund effect, and inbreeding due to consanguineous and assortative mating31. The mean FIS was 0.276, indicating a significant inbreeding and loss of heterozygosity (Table 3).

Table 3 Genetic diversity indices and genotyping error in red panda population at nine microsatellite loci.

Population genetic structure

The STRUCTURE analysis detected three clusters based on the mean ln P (k) and Delta K (Fig. 2, Fig. S3). We showed probabilities of population assignment at varying K (Fig. S3). At K-2, a majority of individuals from WS (West Sikkim) showed a distinct cluster but no geographical assignment was observed among the individuals originated from SNP, ES (East Sikkim), and NVNP. At K-3 individuals from SNP showed a distinct isolated cluster while individuals from ES and NVNP assigned to one another cluster. However, a further increase in the K did not reveal any structuring in population. The results indicated that NVNP and ES clusters were relatively connected meta-populations as found shared ancestry in one-another populations while the other two clusters SNP and WS shared ancestry with additional genetic influxes of an unknown population which plausibly be the North Sikkim (NS) and or the historic/uncaptured gene flow from Nepal, which could not be addressed due to unavailability of samples (Fig. 2a). In congruity, GENELAND also testified to the similar clustering patterns, NVNP and ES grouped into a single cluster and SNP and WS in a distinct clusters (Fig. 2b). The sPCA revealed a west–east differentiation from SNP to NVNP in the allele frequencies, indicating samples of NVNP and ES in one cluster. SNP in the other and WS was assigned as an intermediate population with more affinity to SNP (Fig. 2c, Fig. S2). The DAPC also identified three major clusters, providing strong signals to support red panda populations to exist in metapopulations framework (Fig. 2d). The non-Bayesian methods of population assignment in coherence to Bayesian clustering methods supported strong population genetic structure with asymmetric gene flow among the habitat patches in KL—India.

Figure 2
figure 2

Population genetic structure of red panda population in KL—India. (a) Population assignment using STRUCTURE at K3; (b) map of estimated cluster membership showing spatial distribution of the three inferred genetic clusters through GENELAND; (c) spatial PCA showing clusters in spatially distributed populations; (d) Eigen values of PCA estimation showing three clusters in DAPC, each identified by individual colours and inertia eclipses.

Gene flow and detection of migrants

In AMOVA, we found relatively lower genetic variance within population which indicated gene flow within population was higher than the between groups. Red panda populations in KL—India exhibited 58% variance within population than 12% between populations and 30% among group with high Fst (0.321). Though Fst value was not statistically significant but observed signal was an indication of the red panda population to exist in metapopulation framework. Pairwise FST based gene flow revealed SNP and NVNP populations were highly differentiated (FST 0.352) and NVNP and ES did not qualify to be separate populations (FST − 0.052) (Fig S4).

The contemporary migration assessed by the BAYESASS resulted to favour asymmetric movement of red panda from West to East in KL—India (Fig. S4). We detected significant asymmetric migration of individuals from SNP to WS (5.55%) and WS to ES (5.48%) but did not obtain a rational backward gene flow. In contrary, we detected significant bidirectional migration between ES to NVNP (5.91%) and NVNP to ES (6.05%).

Discussion

Habitat suitability and corridor connectivity

The red panda population in KL has experienced massive habitat loss and fragmentation in the past11,12,16,32 which must have deteriorated connecting corridors in this landscape. For habitat suitability, predictors such as precipitation, temperature and vegetation with high weightage appeared reasonably correct as vegetation cover, and climatic factors are directly linked to the species diet, survival and reproductive necessities. A few earlier studies addressed the species distribution modelling (SDM) of Red panda in Himalaya16,20,33,34,35. These studies considered different variables like elevation, slope, aspect and distance to water etc. for predicting red panda habitat. These variables may facilitate in old growth forest dominated by Betula utilis, Rhododendron spp. and Abies spp. with dense bamboo cover in the understory and high densities of fallen logs and tree stumps at ground level. Further, the growth of bamboo understory in the temperate forests is highly influenced by the rainfall and temperature36 and red pandas as being the canopy-dwelling species prefer temperate forests in the central and eastern Himalayas with dense bamboo undergrowth. Therefore, rainfall, temperature and vegetation cover played a significant role in predicting red panda habitat.

Earlier, Choudhury11 estimated 1,700 km2 potential habitat of red panda in Sikkim and 200 km2 in North West Bengal by undertaking exploratory field surveys based on one time efforts. Ziegler37 estimated 684 km2 suitable forest for red panda in Sikkim with limited efforts confining to PWLS only. However, Ghose and Dutta38 estimated 1,200 km2 suitable forest for red panda in Sikkim and 250 km2 in North West Bengal. These authors collected primary data by undertaking field surveys through transect and trail monitoring39 from Sikkim and North West Bengal and also recorded indirect evidences such as droppings, browsing marks, nest sites, pugmarks, skins or pelts, etc. Ghose and Dutta38 also collected secondary data through questionnaires and public interviews in the villages around the potential red panda habitats. Our field surveys and efforts were relatively comparable to Ghose and Dutta38 and we obtained an estimated suitable habitat 1,097.26 km2 in Sikkim and 212.28 km2 in North West Bengal, which represented a relative decline the habitat suitability in last ten years when compare to Ghose and Dutta38. In northern region, red panda habitat was relatively fragmented and circuitscape also supported lack of horizontal connectivity in KL—India. However, the identified corridor favoured red panda movement from West to East in KL India, forming a crescent arc (Fig. S4). The model demonstrated that the identified corridor in the east, south Sikkim and eastern part of north Sikkim was relatively narrow and passing through the non-PAs (Fig. 1d). We propose corridor passing through the non-PAs to be monitored for the emerged developmental activities and enriched by bamboo plantation to avoid further loss of red panda habitat in KL—India.

Genetic diversity and inbreeding

Red panda population of KL—India being a trans-boundary population, must be carrying ancestral genetic attributes shared with Nepal and Bhutan populations. The genetic assessment suggested a relatively low genetic diversity in red panda population of KL—India (HE = 0.66), when compared to other red panda populations i.e. HE = 0.71940 and HE = 0.77241. The observed low genetic diversity of the Himalayan red panda might be due to historical bottlenecks15. The observed loss of suitable habitat by the emerged anthropogenic activities in last few decades might have disrupted the contiguous gene flow and confined red panda in isolated patches, also a contributing factor for inbreeding and loss of heterozygosity in KL—India.

Population genetic structure and gene flow

Explicit Bayesian and non-Bayesian clustering methods to a great extent, showed similar patterns clustering red panda into at least three populations/meta-populations in KL—India. Indisputably, the NVNP and ES was found to represent one single population, However, SNP was another distinct cluster where WS was assigned as an intermediate population with more affinity to SNP. SNP and NVNP that lacks horizontal connection, were two distinct clusters (FST = 0.352). These populations earlier reported to exist in relatively high density (1 individual per 1.67 sq. km in SNP20; 32 animals in SNP and 34 in NVNP42). Individuals from these populations showed asymmetric gene flow and contributed migration to Sikkim population from either-side. The WS population was rationally distinct from SNP (FST 0.142), however ES and NVNP, to a large extent represent a single population based on the multiple evidences, e.g. a negative FST − 0.052 and a high migration rate from one another population (ES to NVNP—5.91% and NVNP to ES—6.05%; Fig. S4). In concurrence to this, AMOVA also supported a high variance (within group) in red panda populations. The observed scenario of contemporary gene flow patterns in KL—India suggested that corridors connecting these populations were functional in the recent past. The pragmatic asymmetric migration detected in the last two generations exhibited asymmetric migration of individuals in KL—India from West to East, SNP to WS and WS to ES. The ES and NVNP had bidirectional migration, also an indicator to support them for being a single population. The observed asymmetric gene flow among populations was due to the landscape heterogeneity and habitat suitability. The circuitscape results evident to prove that SNP and NVNP were two relatively dense populations in KL—India, where individuals might be moving from more stable, relatively high-density population to neighbouring low-density populations43. The high migration rate from SNP and NVNP maintained the demographic connectivity in the landscape. Both, the significant genetic differentiation in some areas and the presence of a weak population structure in other regions in KL—India may be explained by the corridor connectivity model (Fig. 1d), which coincides to the results of BAYESASS and supports current flow from West to East forming a crescent arc in the KL—India.

Functional connectivity and conservation priorities

The present study unveils the facts that landscape features have shaped the current distribution patterns of red panda in KL—India. The results demonstrated that NVNP and PWLS were connecting North West Bengal–Sikkim border. But there has been a large gap between PWL to KAS which extended up to the SRS. Further, the suitable habitat was patchy and connecting corridors were narrow between those habitat patches. Habitat on the eastern part of the study landscape was more vulnerable to destruction due to the anthropogenic activities. The FLWLS had only a small suitable area with poor connectivity to the other populations. Ziegler37 conducted a survey in FLWLS but failed to confirm the presence of red panda. There have been recent historic records of red panda from SWLS in West Bengal44 but intensive surveys need to be conducted to assess the current status of red panda in SWLS, which is also poorly connected to SNP.

Though, there are several PAs on the eastern part of KL—India, there is a need to extend PA network in East Sikkim, South Sikkim and eastern part of North Sikkim. Moreover, the territorial forest divisions must take adequate measures, as much of suitable habitat of red panda exists outside the PA. The present study has laid down the foundation to extend the PAs boundaries and by effectively implementing the eco-sensitive zone planning adopted by the Ministry of Environment and Forest, 2011 of Government of India45. We propose buffer zone may be declared around the PAs and community conservation area to protect important wildlife corridors. Since, the red panda across the range has experienced habitat loss, fragmentation and population decline due to change in the land use pattern and anthropogenic activities in past few decades. Any significant change in the climatic isotherm might result in vacating the site and or shifting the species to other sites based on varying extent of species resilience and inherent adaptive plasticity46,47. Thus, red panda being ecological specialist, serves a good model to test the composite impact of landscapes, historical climate change and contemporary human activities on the possible shift in the ranges.

Further, studying wildlife using genome-wide markers (e.g. GWAS—15,48; SNPs—15,49) is fascinating to evaluate fine scale population genetic structure and investigating loci under natural selection facilitating populations to adapt in the changing climatic conditions50. However, to check the immediate effects of landscape features on the genetic variability and population contiguity, the assessment of wild populations using microsatellites is still most cost effective and widely applied way to genetic monitor of free ranging populations30,51. Further, consolidating landscape connectivity through mapping corridors, validating movement through genetics and expanding natural PAs is fundamental to make red panda conservation a long-term success across the distribution range. We also seek for the possible collaboration in Nepal, Bhutan and China to aid in preparing a comprehensive monitoring plan for red panda conservation in TBL and to evaluate the ongoing conservation efforts across the political boundaries.

Materials and methods

Study area

KL—India, situated in the Central Himalayan biotic province with spanning between 26° 21′ 40.49ʺ–28° 7′ 51.25ʺ N and 87° 30′ 30.67ʺ–90° 24′ 31.18ʺ E. The landscape is highly rugged with mountainous terrain including the world’s 3rd highest mountain peak, the Mount Kangchenjunga (8586 m asl). The habitat types ranging from tropical, subtropical, warm temperate, cool temperate, subalpine, and alpine forest types52,53. The study landscape is bestowed with 10 PAs i.e. Singalila National Park (SNP), Senchal Wildlife Sanctuary (SWLS), and Neora valley National Park (NVNP) located in North West Bengal and Barsey Rhododendron Sanctuary (BRS), Maenam Wildlife Sanctuary (MWLS), FambongLho Wildlife Sanctuary (FLWLS), Pangolakha Wildlife Sanctuary (PWLS), Kanchenjunga National Park (KNP), Shingba Rhododendron Sanctuary (SRS), and Kyongnosla Alpine Sanctuary (KAS) located in Sikkim State of India. Together these PAs, although most of them are fairly small in size, contribute approximately 3,112.21 km2 area (Fig. 1a).

Study design and occurrence data

Firstly, we stratified the study area based on the forest types, topography to cover all the logistically possible habitat patches in KL—India. Secondly, we adopted a landscape approach, instead of prioritizing PAs for sampling and we aimed to cover maximum reported habitats of red panda in KL—India. Thirdly, for recording the species presence, we adopted a three-pronged approach i.e. transects/trail surveys, questionnaire surveys, and also the remote camera traps following Pradhan et al.20, Buckland et al.39 and Joshi et al.54. Further, it was not logistically feasible to cover the entire area systematically due to the rugged terrain, unpredictable weather and poor resources availability. Hence, representative sampling was carried out in KL—India that represented 109 spatially distinct locations, 12 locations from camera traps, seven direct sightings 12 presence locations from reliable interviews and 78 distinct sites where we collected 234 faecal samples of red panda. For model building, we used 56 spatially independent locations after correlation testing among the location following Kramer-Schadt55. Informed consent was obtained from all participants who responded to the questionnaire interviews and all methods including human participation in the study was in accordance to the relevant guidelines and regulations of Zoological Survey of India (ZSI), Kolkata. All experimental protocols and methods were approved by the Research and Academic committee (RAC) of ZSI, Kolkata that has a ethics committee/institutional review board. All field surveys and sampling were conducted with taking necessary permits issued by the Forest Department of West Bengal and Sikkim.

Ecological modelling

Selection of environmental variables

Species are sensitive to habitats as well as the climatic isotherms56 while, any significant change in climatic isotherm to a species having special requirements might result in local extirpation or shifting the species to other ranges46,47. Therefore, it is imperative to use variables for SDM which define the likely habitat of a species based on the field observation. Considering these facts, we selected 26 variables out of which 19 variables represented climatic isotherm, four-topography and three variables represented land covers. These variables were also related to the habitat selection of red panda16,35,57. The selected variables represented the present environmental conditions and habitat covariates to facilitate red panda distribution patterns in KL—India. The biotic predictors (19) were obtained from the WorldClim data base at 30 arc second scale58; https://www.worldclim.org/ (Table S2) and Bioclime v 1.4 dataset was used for the model building. The vegetation classification was carried out following the methodology developed by Forest Survey of India (ISFR 2017). ArcGIS 10.6 (ESRI 2018) was used to develop topographic variables from digital elevation model. For obtaining the forest canopy classes, the satellite data (Landsat 8) was downloaded from US Geological Survey (https://earthexplorer.usgs.gov/). The forest canopy was classified into four categories viz., very dense, moderately dense, open forest and scrubland59. Moreover, considering the fact that the species is a canopy dweller11 the Canopy height data was obtained from Oak Ridge National Laboratory (https://webmap.ornl.gov/ogc) for understanding the influence on the species habitat suitability. Since, different variables like climate, landscape, topography and anthropogenic influences used in present study were compiled from various resources present in different resolution scales. Hence, to bring uniformity in the selected data, we re-sampled all raster on the same resolution scale (1 km resolution).

Habitat modelling and landscape connectivity

We employed maximum entropy algorithm for species distribution modelling (MaxEnt 3.4.1), using presence data only60,61,62. Bias file was prepared in ENMeval; R package63 following the methodology suggested by Dudik et al.64. We omitted highly correlated variables with a threshold of 0.865,66. Although we selected initially 26 variables but final model was predicted using 19 variables which passed on the multicollinearity test67 and other related variables with a threshold of 0.8 were excluded to get rid of the over fit model (Table S6)66,68. For modelling, we have used 70% of the total locations as training and remaining 30% for testing the significance60,66,69. The Akaike’s information criteria (AICc) values were used to determine the best fit model with the lowest values in ENMeval. The resultant habitat was classified into suitable, with probabilities 0.584–1 and unsuitable below 0.584 based on the 10-percentile training presence thresholds following Radosavljevic and Anderson70 (Table S4). The Jackknife was used to analyse the contribution of each variable provided to the MaxEnt model. We tested the model with the receiver operated characteristics area under curve (AUC) where, AUC value > 0.75 indicated high discrimination performance71. We also estimated the true skill statistic (TSS—0.742) that compensates for the shortcomings of kappa while keeping all of its advantages following Allouche et al.72 We generated a raster surface of genetic divergence using Genetic landscape GIS Toolbox Ver. 10.173 by generating the inverse distance weighted interpolation within the study area boundary74. To evaluate the operational-structural connectivity by predicted movement corridors of red panda in KL—India, we used an ensemble approach by combining both the genetic divergence and environmental conductance (SDM output) in the final circuit model following Mateo-Sánchez et al.75 and Roffler et al.76 in Circuitscape 4.077.

Population genetic analyses

DNA extraction, PCR amplification and microsatellite genotyping

We collected 234 red panda feces, i.e. 87 feces from North West Bengal and 147 from Sikkim in KL—India (Fig. 1a). All samples were stored in 70% ethanol and DNA was extracted using QIAamp Fast DNA Stool Mini Kit (QIAGEN Germany) following manufacturer's instructions. Nine polymorphic STRs, i.e. Aifu01, Aifu05 from Liang78 and CRP357, CRP385, CRP381, CRP367, CRP409, CRP240 and CRP260 from Yang79 were amplified into two multiplex PCRs. Forward primer of all nine microsatellite loci was fluorescently labelled at 5′ with one of the four dyes, FAM, VIC, NED and PET (Table S5). The PCRs were carried-out in 10 µl reaction volume following QIAGEN Multiplex PCR Kit (Qiagen, Germany). The thermal cycle profile was: initial denaturation at 95 °C for 15 min, followed by 40 cycles of PCR and a final step of 72 °C for 30 min. The annealing temperature (Ta) for multiplex 1 (CRP381, CRP367, CRP409, CRP240 and CRP260) was 55 °C and multiplex 2 (Aifu01, Aifu05, CRP357, CRP385) was 57 °C (Table S5). The PCR products were resolved on an ABI 3730 Genetic analyzer (Applied Biosystems, Foster City, CA, USA) and allele scoring was done using Gene Mapper 4.1 (Applied Biosystems, Foster City, CA, USA).

Genotyping error and individual identification

We genotyped each sample four times to minimize genotyping errors and a heterozygote was ascertained only if there were different alleles in at least three independent attempts. In addition, we also followed an independent allele scoring method where two different researchers perform allele scoring individually and only the consensus genotypes were used for further analysis. The genotyping errors arising due to null allele and the presence of stutters, scoring errors were assessed using MICRO CHECKER 2.2.280. Maximum likelihood allele dropout (ADO) and false allele (FA) error rates were quantified using PEDANT version 1.0 involving 10,000 search steps for enumeration of per allele error rates81. To avoid ambiguity in ascertaining unique genotypes, we limited the number of loci used based on their high success rate (> 90%), presence of no or minimum genotyping errors and exhibiting an informative PID value (probability of obtaining identical genotypes between two samples by chance). The locus wise and cumulative probability of identity for unrelated individuals (PID) and siblings (PID sibs) were calculated following identity analysis module in GenAlEx version 682.

Genetic diversity and inbreeding

The genetic diversity estimates were accounted by calculating the number of allele (Na), observed (Ho) and expected (He) heterozygosity using GENALEX 682. For the Hardy–Weinberg equilibrium (HWE) test, we followed the probability test approach using the program GENEPOP version 4.2.183. Wright’s inbreeding coefficient (FIS) was estimated following Weir & Cockerham84 using GENEPOP83. Linkage disequilibrium (LD) was tested using GENEPOP83 to determine the extent of distortion from independent segregation of loci following 10,000 dememorizations, 500 batches and 10,000 iterations per batch after Bonferroni correction85.

Population genetic structure

We attempted three different clustering methods to capture the most possible population genetic structure of red panda in KL—India i.e. Fst based Analysis of Molecular Variance (AMOVA), explicit Bayesian and non-Bayesian clustering algorithms. We used Arlequin 3.5.2.186 to estimate the proportions of the total genetic variation, arose from, within and between populations using AMOVA. Among different Bayesian clustering methods, individuals were assigned exclusively on the basis of their multi-locus genotypes (e.g. STRUCTURE), and also using the both, multi-locus genotypes and geo-referenced information (e.g. GENELAND). Non-Bayesian multivariate ordination analyses, i.e. discriminant analysis of principle components (DAPC) and spatial principle component analysis (sPCA) were also used, to compare population assignment with the Bayesian clustering outputs87 since they were not based on any model assumptions.

In Bayesian analysis, STRUCTURE 2.3.4 software88 was used to determine the number of genetic clusters (K) following 20 iterations (20,000 burn-in; 200,000 Markov chain Monte Carlo replicates in each run) with NOPRIOR with admixed and correlated allele frequencies. We considered there were K populations (1 to 10), with repeating each analysis for 10 times at each K value. The most probable cluster was calculated via estimating the distribution of Delta K89 using STRUCTURE HARVESTER v.0.6890. GENELAND v 4.0.391 was run through an extension of R v.3.0.1 with the correlated allele frequency and spatial uncertainty model. We allowed K to vary between 1 and 10 following 20 independent runs, each with 100,000 iterations, and a thinning of 1,000. The inferred spatial clusters were georeferenced in ArcGIS 10.6. Two non-Bayesian clustering methods i.e., DAPC and sPCA, were run to assign the possible clusters in Adegenet v1.3.4 package of R92.

Gene flow and migration rate

We assessed Fst based gene flow in last 150–200 years93 among the different sub-populations of red panda in KL—India using Arlequin v 3.5.286. The contemporary and asymmetric migration rate in last two generations were estimated using BayesAss 1.343. We used 9 × 106 iterations, with a burn-in of 106 iterations, 1,000 number of permutations and a sampling frequency of 2000 to ensure that the model's starting parameters were sufficiently randomized. We also estimated the first-generation migrants between all pairs of subpopulations of red panda in KL—India using GENECLASS 2.094, an approach described by Paetkau95 for likelihood computation (Lhome/Lmax), with 1,000 simulations at an assignment threshold (alpha) of 0.01 and 0.05.