OSCR

Epigenetic lockdown of type I interferon sensing and signalling in human pluripotent cells.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Python · 98 lines · 3.8 KB · no license

  1. import sys
  2. import subprocess
  3. import pandas as pd
  4. import numpy as np
  5. from scipy import stats
  6. import tempfile
  7. import os
  8. import time
  9. def run_bedtools_intersect(bed1, bed2):
  10. intersect_cmd = f"bedtools intersect -a {bed1} -b {bed2} -wa"
  11. result = subprocess.run(intersect_cmd, shell=True, capture_output=True, text=True)
  12. return result.stdout
  13. def count_intersections(bedtools_output):
  14. return len(bedtools_output.strip().split('\n'))
  15. def prepare_gene_bed(gene_bed):
  16. with tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.bed') as temp_file:
  17. with open(gene_bed, 'r') as f:
  18. for line in f:
  19. fields = line.strip().split('\t')
  20. if len(fields) >= 4:
  21. temp_file.write('\t'.join(fields[:4]) + '\n')
  22. return temp_file.name
  23. def perform_permutations(bed1, gene_bed, num_permutations, num_bed2_lines):
  24. perm_results = []
  25. simplified_gene_bed = prepare_gene_bed(gene_bed)
  26. start_time = time.time()
  27. for i in range(num_permutations):
  28. with tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.bed') as temp_shuffled:
  29. subprocess.run(f"shuf -n {num_bed2_lines} {simplified_gene_bed} > {temp_shuffled.name}", shell=True)
  30. random_overlap = run_bedtools_intersect(bed1, temp_shuffled.name)
  31. os.unlink(temp_shuffled.name)
  32. count = count_intersections(random_overlap)
  33. perm_results.append(count)
  34. if (i+1) % 10 == 0:
  35. elapsed_time = time.time() - start_time
  36. avg_time_per_iter = elapsed_time / (i+1)
  37. estimated_total_time = avg_time_per_iter * num_permutations
  38. estimated_remaining_time = estimated_total_time - elapsed_time
  39. print(f"Completed {i+1} permutations. Current count: {count}")
  40. print(f"Elapsed time: {elapsed_time:.2f} seconds")
  41. print(f"Estimated total time: {estimated_total_time:.2f} seconds")
  42. print(f"Estimated time remaining: {estimated_remaining_time:.2f} seconds")
  43. print("--------------------")
  44. os.unlink(simplified_gene_bed)
  45. return perm_results
  46. def calculate_enrichment(actual_count, perm_results, num_permutations):
  47. mean_perm = np.mean(perm_results)
  48. std_perm = np.std(perm_results)
  49. p_value = (np.sum(np.array(perm_results) >= actual_count) + 1) / (num_permutations + 1)
  50. enrichment = actual_count / mean_perm if mean_perm > 0 else np.inf
  51. return pd.DataFrame([{
  52. "Actual_Count": actual_count,
  53. "Mean_Perm_Count": mean_perm,
  54. "SD_Perm_Count": std_perm,
  55. "Enrichment": enrichment,
  56. "P_Value": p_value
  57. }])
  58. def main(bed1, bed2, gene_bed, num_permutations):
  59. print(f"Starting TE intersection enrichment analysis with {num_permutations} permutations")
  60. print(f"Input files: TE bed: {bed1}, Gene bed: {bed2}, All genes: {gene_bed}")
  61. actual_overlap = run_bedtools_intersect(bed1, bed2)
  62. actual_count = count_intersections(actual_overlap)
  63. print(f"Actual intersection count: {actual_count}")
  64. num_bed2_lines = sum(1 for line in open(bed2))
  65. print(f"Performing {num_permutations} permutations...")
  66. perm_results = perform_permutations(bed1, gene_bed, num_permutations, num_bed2_lines)
  67. pd.DataFrame({"Intersection_Counts": perm_results}).to_csv("permutation_results.tsv", sep="\t", index=False)
  68. print(f"Permutation results saved to permutation_results.tsv")
  69. stats_df = calculate_enrichment(actual_count, perm_results, num_permutations)
  70. stats_df.to_csv("enrichment_results.tsv", sep="\t", index=False)
  71. print("Final results:")
  72. print(stats_df)
  73. if __name__ == "__main__":
  74. if len(sys.argv) != 5:
  75. print("Usage: python scriptname.py bed1 bed2 genebed iters")
  76. sys.exit(1)
  77. main(sys.argv[1], sys.argv[2], sys.argv[3], int(sys.argv[4]))

count_all_intersects_then_shuffle.py at commit dd224a3, no license · at the source

Overview

Authors: James H Holt1, Rocio Enriquez-Gasca1,2, Rachel P Wilson1, Elena G Bochukova1, Pierre V Maillard1, Helen M Rowe1
  1. Centre for Immunobiology and Infection, Blizard Institute, Queen Mary University of London, London, UK
  2. Present Address: The Francis Crick Institute, London, UK
Institutions: Queen Mary University of London (United Kingdom); Blizard Institute (United Kingdom); The Francis Crick Institute (United Kingdom)
Journal: Nature communications, volume 17, issue 1, article 7660
Dates: received 29 September 2025; accepted 27 May 2026; published online 16 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41467-026-74147-0 · PMID 42303602 · PMCID PMC13434735 · OpenAlex W4415600681
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: human (organism), cellular / molecular (subfield)
Methods: Statistics
Keywords: RIG-I-like receptors, Induced pluripotent stem cells, Gene silencing, DNA transposable elements
MeSH: Epigenesis, Genetic*, Induced Pluripotent Stem Cells*, Interferon Type I*, Signal Transduction*, Cell Differentiation, Humans, Long Interspersed Nucleotide Elements, Neural Stem Cells (* major topic)
Topic: interferon and immune responses (Immunology, Immunology and Microbiology), according to OpenAlex
Funding: European Research Council (678350); Rosetrees Trust (CF-2023-I-2\107)
Citations: cited by 1 paper (Europe PMC); 77 references in the paper

Abstract

The Human Silencing Hub (HUSH) complex safeguards genome integrity in human somatic cells, repressing transposable elements and regulating type I interferon (IFN-I) induction. Here, we use depletion of MPP8 in human induced pluripotent stem cells (iPSCs) as a tool to investigate epigenetic control of the IFN-I system in early development. We confirmed that human iPSCs display an attenuated IFN-I pathway, whereas iPSC-derived neural progenitor cells (NPCs) respond robustly to IFN-I pathway agonists. We found that, in iPSCs, depletion of MPP8 was sufficient to induce expression of young LINE-1 elements and genes linked to the IFN-I system including double-stranded RNA sensors and interferon-stimulated genes (ISGs). ISG upregulation occurred without IFN-I signalling, suggesting that, in contrast to differentiated cells, this ISG regulation is uncoupled from nucleic acid sensing specifically in early development. Chromatin profiling confirmed MPP8 enrichment at HUSH-regulated ISGs and revealed a bimodal binding profile of MPP8 to both ISGs and non-ISGs, the latter largely driven by young LINE-1 elements. We propose that shutdown of the IFN-I system in pluripotent stem cells is essential to prevent lethality from unwarranted self-nucleic acid sensing. This shutdown is achieved through a triple-layer of epigenetic lockdown targeting ligands, sensors, and effectors across the IFN-I pathway.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above.

RoweLab/TE-Enrichment

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: dd224a36d0c3c15b3faf50fc6e11908ad1506b49, 21 April 2026
Languages: Python (4)
Size: 5 files, 4 scripts
Software Heritage: not archived
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: BEDTools (4 files), NumPy (4 files), pandas (4 files), SciPy (4 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
4 files

Code availability

Custom scripts are available at https://github.com/RoweLab/TE-Enrichment

Reproduced under the paper's license (CC BY), from the paper cited above.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 4 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

Datasets cited

Data availability

RNA-seq and CUT & Tag data from this study are available in the Gene Expression Omnibus database. GSE318471 (https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE318471) https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE318471 (total RNA sequencing) and GSE318510 (https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE318510) https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE318510 (CUT & Tag). Lists of studied genes and peaks are provided with this paper in the accompanying source data. Source data are provided in this paper.

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 6 authors, 4 keywords, 8 MeSH terms, 2 funders, 76 references.

Cite

This paper

Holt, J. H., Enriquez-Gasca, R., Wilson, R. P., Bochukova, E. G., Maillard, P. V., & Rowe, H. M. (2026). Epigenetic lockdown of type I interferon sensing and signalling in human pluripotent cells. Nature communications, 17(1), 7660. https://doi.org/10.1038/s41467-026-74147-0

BibTeX

@article{holt2026epigenetic,
author = {Holt, James H and Enriquez-Gasca, Rocio and Wilson, Rachel P and Bochukova, Elena G and Maillard, Pierre V and Rowe, Helen M},
title = {{Epigenetic lockdown of type I interferon sensing and signalling in human pluripotent cells}},
journal = {Nature communications},
year = {2026},
month = jun,
volume = {17},
number = {1},
pages = {7660},
publisher = {Nature Portfolio},
issn = {2041-1723},
doi = {10.1038/s41467-026-74147-0},
url = {https://doi.org/10.1038/s41467-026-74147-0},
pmid = {42303602},
pmcid = {PMC13434735}
}

RIS

TY - JOUR
AU - Holt, James H
AU - Enriquez-Gasca, Rocio
AU - Wilson, Rachel P
AU - Bochukova, Elena G
AU - Maillard, Pierre V
AU - Rowe, Helen M
TI - Epigenetic lockdown of type I interferon sensing and signalling in human pluripotent cells
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/06/16
VL - 17
IS - 1
SP - 7660
SN - 2041-1723
PB - Nature Portfolio
DO - 10.1038/s41467-026-74147-0
UR - https://doi.org/10.1038/s41467-026-74147-0
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-74147-0",
"type": "article-journal",
"title": "Epigenetic lockdown of type I interferon sensing and signalling in human pluripotent cells",
"container-title": "Nature communications",
"author": [
{
"family": "Holt",
"given": "James H"
},
{
"family": "Enriquez-Gasca",
"given": "Rocio"
},
{
"family": "Wilson",
"given": "Rachel P"
},
{
"family": "Bochukova",
"given": "Elena G"
},
{
"family": "Maillard",
"given": "Pierre V"
},
{
"family": "Rowe",
"given": "Helen M"
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "7660",
"DOI": "10.1038/s41467-026-74147-0",
"PMID": "42303602",
"PMCID": "PMC13434735",
"ISSN": "2041-1723",
"publisher": "Nature Portfolio",
"URL": "https://doi.org/10.1038/s41467-026-74147-0",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
16
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1038/s41467-024-50765-4 [code]
DNA methylation governs the sensitivity of repeats to restriction by the HUSH-MORC2 corepressor.
Journal: Nature communications
In common: 13 references
[2] doi:10.1126/sciadv.aed2952 [code]
Activation of transposable elements is linked to a region- and cell type-specific interferon response in Parkinson's disease.
Journal: Science advances
In common: BEDTools, pandas, SciPy, 1 other tool, cellular / molecular, 10 references
[3] doi:10.7554/elife.100687 [code]
Steady-state neuron-predominant LINE-1 encoded ORF1p protein and LINE-1 RNA increase with aging in the mouse and human brain.
Journal: eLife
In common: pandas, NumPy, cellular / molecular, 8 references
[4] doi:10.1093/nar/gkag100 [code]
Loss of SETDB1-mediated H3K9me3 in human neural progenitor cells leads to transcriptional activation of L1 retrotransposons.
Journal: Nucleic acids research
In common: 10 references
[5] doi:10.1016/j.xgen.2025.100979 [code]
LINE-1 retrotransposons mediate cis-acting transcriptional control in human pluripotent stem cells and regulate early brain development.
Journal: Cell genomics
In common: pandas, 8 references
[6] doi:10.1038/s41594-024-01320-8 [code]
Mini-heterochromatin domains constrain the cis-regulatory impact of SVA transposons in human brain development and disease.
Journal: Nature structural & molecular biology
In common: cellular / molecular, 8 references
[7] doi:10.1126/sciadv.aeg5791 [code]
Retroviral insertions contributed to the divergence of human and chimpanzee brains.
Journal: Science advances
In common: BEDTools, pandas, SciPy, cellular / molecular, 5 references
[8] doi:10.1093/nar/gkae793 [code]
IRescue: uncertainty-aware quantification of transposable elements expression at single cell level.
Journal: Nucleic acids research
In common: SciPy, NumPy, 6 references
[9] doi:10.1186/s13059-026-04177-w [code]
Genomic sequence evolution underlying human neocortical interareal diversification.
Journal: Genome biology
In common: BEDTools, pandas, SciPy, 1 other tool, cellular / molecular, 4 references
[10] doi:10.1126/sciadv.abo7247
The HUSH complex controls brain architecture and protocadherin fidelity.
Journal: Science advances
In common: cellular / molecular, 6 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s41467-026-74147-0.svg)](https://openscicode.org/badge/doi/10.1038/s41467-026-74147-0)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-74147-0.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41467-026-74147-0
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-74147-0"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-74147-0.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.