$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
FAERS data sources
The real-world data for this study were obtained from the FAERS database (https://fis.fda.gov/extensions/FPD-QDE-FAERS/FPD-QDE-FAERS.html). This is a publicly accessible and anonymized database, so ethical approval was not required for this study. Information about the five drugs included is shown in Table 1. The search was performed by first limiting the adverse events to hip fracture, and the search time span was from Q1 2014 to Q4 2023. To ensure reliable and stable data, the study standardized the terminology of reported adverse events via the MedDRA Dictionary version 26.142. FAERS quarterly ASCII files from Q1 2014 to Q4 2023 were downloaded and imported for analysis. The extracted FAERS tables included DEMO, DRUG, REAC, THER, RPSR, and OUTC. These tables were merged across all quarters before screening. Reports were linked using CASEID and PRIMARYID to ensure consistency across demographic, drug, reaction, therapy, reporter, and outcome information. The target drugs included etanercept, adalimumab, infliximab, certolizumab pegol and golimumab. Drug names in the DRUG table were standardized by converting text to uppercase, removing extra spaces and checking spelling variants when necessary. Target drugs were identified using standardized generic names in the DRUG table, and drug-role restriction was performed using ROLE_COD = “PS”, indicating the primary suspect drug43. The specific study screening technique roadmap is shown in Figure 2. After data cleaning and screening, a unique and analyzable dataset of eligible hip fracture reports was obtained for subsequent analyses.
Duplicate FAERS reports were removed before signal detection. Duplicates were identified according to CASEID and PRIMARYID. When multiple reports shared the same CASEID, the most recent report was retained according to FDA_DT. If multiple reports had the same CASEID and FDA_DT, the report with the highest PRIMARYID was retained. After deduplication, each CASEID contributed only one record to the final analytic dataset. Reports were included if they met all of the following criteria: reporting date between Q1 2014 and Q4 2023; the adverse event was coded as “Hip fracture”; at least one of the five TNF inhibitors was recorded in the DRUG table; and the drug role was coded as primary suspect. Reports were excluded if they were duplicate records, lacked valid CASEID or PRIMARYID information, had no corresponding DRUG or REAC entry, did not include the target adverse event, or listed the target TNF inhibitor only as a concomitant or secondary suspect drug.
GWAS data sources for Mendelian randomization
The exposure data for TNF-α in the Mendelian randomization for this study were obtained from the IEU OpenGWAS database (https://gwas.mrcieu.ac.uk/), with GWAS ID prot-c-3722_49_2 from the study of Suhre K et al. The study population was of European ancestry, and the number of SNPs was 501,42844.
The exposure data for sTNFR1 in the mendelian randomization for this study were obtained from the IEU OpenGWAS database (https://gwas.mrcieu.ac.uk/), with GWAS ID prot-c-2654_19_1 from the study of Suhre K et al. The study population was of European ancestry, and the number of SNPs was 501,42844.
The exposure data for sTNFR2 in the Mendelian randomization for this study were obtained from the IEU OpenGWAS database (https://gwas.mrcieu.ac.uk/), with GWAS ID prot-c-3152_57_1 from the study of Suhre K et al. The study population was of European ancestry, and the number of SNPs was 501,42844.
The outcome data for hip fracture, GWAS ID GCST90161240, deposited in the GWAS Catalog (https://www.ebi.ac.uk/gwas/studies/GCST90161240), are data from a meta-analysis of a large-scale GWAS that included 11,516 hip fracture cases and 723,838 controls45. The disease classification aligns with the International Classification of Diseases (ICD; ICD-10 codes S72.0–S72.2 and ICD-9 code 820).
Ethical approval and informed consent had been obtained in the original GWAS studies. Because the present study used publicly available, anonymized FAERS data and publicly available GWAS summary statistics, no additional ethical approval was required.
Software environment and workflow implementation
All analyses were performed using R version 4.3.2. FAERS data import, cleaning, merging, and tabulation were performed using R-based data management workflows. Data tables were imported using functions such as data.table::fread() or readr::read_delim(), merged using CASEID and PRIMARYID, and processed using dplyr functions. Descriptive statistics and 2 × 2 contingency tables were generated using custom R scripts.
Mendelian randomization analyses were conducted using TwoSampleMR version 0.5.6. Exposure instruments were extracted using a significance threshold of P < 1 × 10⁻5 or formatted from GWAS summary statistics using TwoSampleMR-compatible input structures. Instrument clumping was performed using clump_data() with clump_r2 = 0.001 and clump_kb = 10,000. Outcome data were extracted or formatted using extract_outcome_data() or read_outcome_data(), depending on the source format. Exposure and outcome datasets were harmonized using harmonise_data(). Causal estimates were generated using mr() with the following mendelian randomization methods: MR-Egger, weighted median, inverse variance weighted, simple mode, and weighted mode. Heterogeneity was assessed using mr_heterogeneity(), and horizontal pleiotropy was assessed using mr_pleiotropy_test(). All datasets were imported, cleaned, harmonized, and analyzed within this software environment to ensure a consistent and reproducible analytical workflow.
Pharmacovigilance analysis
Descriptive analyses were used to summarize hip fracture-related adverse events associated with the five drugs. Signal detection analyses were then performed using four disproportionality algorithms, including the reporting odds ratio (ROR), proportional reporting ratio (PRR), multi-item gamma Poisson shrinker (MGPS) and Bayesian confidence propagation neural network (BCPNN). The criteria for the four major algorithms are shown in Table 246.
Mendelian randomization analysis
Summary statistics for TNF-α, sTNFR1, and sTNFR2 were extracted as exposure datasets, and hip fracture summary statistics were extracted as the outcome dataset. Analyses were restricted to European ancestry datasets when available to reduce population stratification bias.
To minimize bias caused by linkage disequilibrium and weak instruments, the following criteria were applied: genome-wide significance threshold P < 1 × 10⁻5, linkage disequilibrium threshold r2 < 0.001, clumping window of 10,000 kb, and F-statistic > 20. The F-statistic was calculated for each retained instrumental variable as beta2/se2 to evaluate instrument strength. SNPs with F-statistic ≤ 20 were excluded from downstream analyses.
After SNP selection, exposure and outcome datasets were harmonized to align effect alleles. During harmonization, effect alleles and other alleles were aligned between the exposure and outcome datasets. SNPs with incompatible alleles were removed, and palindromic SNPs with ambiguous allele frequencies were excluded when strand orientation could not be determined. After harmonization, the retained SNPs were checked to confirm that beta coefficients corresponded to the same effect allele in both datasets. The number of SNPs retained after clumping and harmonization was recorded for each exposure as an intermediate reproducibility checkpoint.
Five Mendelian randomization methods were applied, including MR-Egger, weighted median, inverse variance weighted, simple mode, and weighted mode. Potential heterogeneity of instrumental variables was assessed using Cochran’s Q test, and P < 0.05 was considered indicative of significant heterogeneity. Potential horizontal pleiotropy was evaluated using the MR-Egger intercept, and P < 0.05 indicated pleiotropy, suggesting reduced reliability of the causal estimate47. These analyses generated causal effect estimates together with heterogeneity and pleiotropy statistics for each exposure.
Intermediate checkpoints for reproducibility
Intermediate checkpoints were recorded after each major processing step to ensure workflow reproducibility. For the FAERS workflow, checkpoints included the number of DEMO records imported, the number of unique records after deduplication, the number of reports containing hip fracture as the target adverse event, the number of reports involving the five TNF inhibitors, and the final number of eligible reports in which TNF inhibitors were recorded as primary suspect drugs. For the Mendelian randomization workflow, checkpoints included the number of SNPs extracted for each exposure, the number of SNPs retained after linkage disequilibrium clumping, the number of SNPs available in the outcome dataset, the number of SNPs retained after harmonization, and the final number of instrumental variables used in each Mendelian randomization analysis.
Statistical reporting
Continuous results were reported with corresponding effect estimates, 95% confidence intervals (95% CI), and P values. Unless otherwise specified, statistical significance was defined as a two-sided P < 0.05. For pharmacovigilance analysis, descriptive counts and disproportionality estimates were reported for each individual TNF inhibitor and for the pooled TNF inhibitor group. For Mendelian randomization analysis, causal estimates, standard errors, 95% confidence intervals, P values, heterogeneity statistics, pleiotropy test results, and the number of retained SNPs were reported for each exposure.