Skip to the content.

Can GREMA build a GRN from the hMSC time-series RNA-seq and ATAC-seq? A feasibility trial

Data: hMSC day 1, 4, 7, 10, 15 (internal): RNA-seq (nf-core, STAR + RSEM, one sample per day) and ATAC-seq (peaks, HINT-ATAC footprints with JASPAR motifs, per day). Archive of inputs and results: evaluation/analysis/results/hmsc_feasibility_results.tgz (see evaluation/analysis/results/README.md). Scripts: evaluation/analysis/scripts/hmsc_*.py. HFODE, -f 1, -g 500, real times (-time 1,4,7,10,15 -tunit 3), GREMA_SLOT_DIV=5, 4 threads.

Answer: not with these data. The data have 1 series of 5 time points (4 samples); no method that was tried recovers the regulations that the gold standard lists, except a plain correlation that mostly measures co-expression. This is a limit of the data size and of the gold standard (11 true pairs, 7 of them of one TF), not a measured failure of GREMA in general; section 5 lists what would change it.

1. The data and the check (check_data.py)

2. Gold standard and prior (rules fixed before the GREMA runs; hmsc_prep.py)

3. Is the footprint prior informative? (hmsc_prior_enrichment.py, no GREMA)

204 TRRUST TFs with a motif and expression x 10,853 expressed genes = 2.2 million pairs, 2,690 of them in TRRUST: 32% of the TRRUST pairs have a footprint near the gene against 15% of all pairs (odds ratio 2.7); per-TF AUROC of the footprint 0.55 (106 TFs with >= 5 targets), 0.500 when the genes are shuffled within each TF (20 shuffles, range 0.491-0.508). A real but weak signal; not corrected for the accessibility and the expression level of the promoter, which also raise the number of footprints and the number of literature reports. In the 15 TFs x 150 genes design the footprint is no use: 1 of the 11 true pairs has one (AUROC 0.49).

4. Results on the multi design (2,460 pairs, 11 true; random AUROC 0.50, sd about 0.09; eval_runs.py, hmsc_baselines.py, hmsc_time_control.py, hmsc_diagnose.py)

Method runs AUROC note
random   0.50 +- 0.09  
footprint prior alone (0/1)   0.49  
|Pearson| of the two 5-point profiles   0.83 8 of the 11 true pairs rank 5-196 of 2,460 (6 of them E2F1 targets)
|Spearman|   0.72  
|Pearson| of the TF level and the change of the gene   0.38 the time order does not help
dynGENIE3 (RF, score) 5 seeds 0.36 same with the atac knowledge (it only selects regulators, not pairs); sd over seeds 0.017
GREMA, all pairs candidates 3 0.48 (binary), 0.48 (conf), 0.55 (vote); sd 0.02-0.03 1.3 true pairs called of 11, 382 false; all 4 signs of the called true pairs were -; the pair called by most runs, DDIT3 -> TRIB3, is an activation in TRRUST: wrong
GREMA, atac prior 5 0.47, 0.47, 0.51 0 of 11 called: the prior removes 10 of the 11 true pairs; 127 pairs called (one regulator for every gene that has a candidate)
GREMA, atac prior, time-shuffled data 3 0.47, 0.47, 0.47 same as with the real data

The ranks of the 11 true pairs by the GREMA vote are 153-2,294 of 2,460 (median about 1,000): random. Eight of the 11 true pairs are in the best 200 by the correlation; by the GREMA vote the same eight are at ranks 153-1,842.

Does GREMA use the time order? Yes: the vote scores of the 275 atac candidates correlate 0.97 between runs on the real data, 0.41 between a run on the real and a run on the time-shuffled data, 0.44 between two shufflings. The GREMA vote does not follow the correlation either (Spearman with |Pearson| -0.04, 2,460 pairs, all runs; reproducibility between the all runs 0.69). The number of pairs called (127 = the genes with a candidate, atac) is set by the slots, not by the data. So GREMA scores depend on the dynamics, but for these data they do not point to the pairs of the gold standard.

5. What this says, and what to change

What the trial shows. (a) With 1 series of 5 points check_data.py was right: nothing that uses the dynamics recovers the gold pairs; the only signal is co-expression of cell-cycle genes (E2F1 and its targets), which a correlation finds and the dynamics-based scores do not. (b) The footprint prior has a real but weak association with TRRUST (odds ratio 2.7). (c) As a hard filter (0 without a footprint) it removes most of the true pairs; it cannot be used in this way. (d) No hMSC-specific gold standard exists; TRRUST has 11 pairs here, 7 of one TF, so differences of AUROC smaller than about 0.2 cannot be read.

Changes that are likely to matter, in the order of the expected effect (none of them is tested here except where said):

  1. More time points and replicates (data). From the simulations of this repository, one series is weaker than four (AUROC 0.82 against 0.91, simulations with 20 points) and the data check asks for at least 8 points and 30 samples. The effect of 5 against 8-12 points on HFODE data was not simulated; it is the cheapest test to run before the experiment is planned (a simulation with sim_gen.py).
  2. The ATAC prior as a soft prior, not a filter (needs a change of GREMA): the random slot subsets of the genetic algorithm are drawn with a higher probability for the candidates with a footprint, and all the other candidates stay possible. The knowledge file would need a third state for “supported” next to ?. The gain is bounded by section 3 (odds ratio 2.7, AUROC 0.55 per TF), so it improves the search space, not the ranking, by itself.
  3. A regulator activity from ATAC: the footprint score (protection, number of footprints in the promoter of the targets) per day as the measured variable of the TF in place of its mRNA. The earlier simulations (PROTEIN_REGULATOR_REPORT.md) show that the measured variable should be the activity of the regulator. Here the differential analysis (RUNX2 activity not significant) is too weak and the activity is only given against day 1.
  4. Modules instead of genes: the changing genes follow 2-3 profiles; a GRN between 5-10 module profiles (clusters of the expressed genes) with HFODE has 5 points for few variables; the edges inside a module are then chosen by the ATAC prior. Needs a clustering step before GREMA and an edge expansion after; no change of the solver.
  5. Parameters shared inside a module (a change of the solver: one degradation and one threshold for the genes of a module) so that the 4 samples constrain fewer parameters.
  6. An hMSC gold standard: regulations from TF perturbation or ChIP of TFs in MSC or osteoblast (public data: for example ChIP-Atlas; the CRISPRi of hFOB in ifar/CRISPRi/Conery2025_hFOB is a perturbation of enhancers, not of TFs, and was not examined). With the gold standard of TRRUST only, any design needs more than 11 pairs (more TFs, not more genes of the same TF).

Limits and deviations