find_common_de_genes_overlapping_dm_regions
Find differentially expressed genes overlapping differentially methylated regions, categorized by up/down and hyper/hypo direction, with promoter methylation filtering for silencing analysis.
Instructions
USE THIS TOOL (not the query tool) for any
"expression-methylation coupling", "classical epigenetic
silencing", "DE genes that are also DM", "downregulated genes
with promoter hypermethylation", or any cross-type
intersection between differential expression and differential
methylation. Falling back to query for this category reproduces
the four-quadrant intersection logic this tool already does
correctly (parallel DE+DM fetches across DIFFERENT assays,
pooled-methylation aggregation when multiple methylation assays
are passed as a list, MethylationRegion location filtering on the
DM side, up_hyper/up_hypo/down_hyper/down_hypo direction
categorization) and loses the four-quadrant markdown summary and
the inline combined CSV.
Find differentially expressed genes that overlap with differentially methylated regions.
This cross-analysis tool:
Gets DE genes from the expression assay (filtered by log2fc and adj_p thresholds)
Gets genes associated with DM regions from the methylation assay(s) (filtered by methylation_diff, q_value, and any MethylationRegion location filters: in_promoter, in_exon, in_intron, dist_to_feature_max). If
methylation_assay_idis a list, the methylation evidence is POOLED across the listed assays before the intersection — a gene is treated as hypermethylated if it passes the threshold in ANY of the pooled assays.Finds the intersection (genes that are BOTH differentially expressed AND differentially methylated)
Reports the overlap categorized by direction (up+hyper, up+hypo, down+hyper, down+hypo)
For the classical epigenetic-silencing question — promoter hypermethylation reducing expression — pass in_promoter=True. When a study has replicate methylation assays (e.g. OSD-48 has two methylKit assays for the same Space Flight vs. Ground Control comparison), pass them as a list to capture the combined methylation evidence on the methylation side of the intersection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in_exon | No | MethylationRegion location filter (True / False / None). See in_promoter. | |
| in_intron | No | MethylationRegion location filter (True / False / None). See in_promoter. | |
| session_id | No | Session id returned by `create_session()`. This server serves many users from one process; the session id is what keeps your output directory and generated plots private to you. Pass the SAME value on every tool call. If the server replies that the session is unknown or expired, call `create_session()` again and use the new id. | |
| in_promoter | No | MethylationRegion location filter applied to the DM side of the overlap. When True, only DM regions overlapping a promoter contribute to the methylated-gene set. Use this for classical epigenetic-silencing questions: 'which downregulated genes have hypermethylation in their promoter?' → pass in_promoter=True. | |
| adj_p_threshold | No | Adjusted p-value threshold for DE genes (default: 0.05) | |
| log2fc_threshold | No | Log2 fold change threshold for DE genes (default: 1.0) | |
| q_value_threshold | No | q-value threshold for DM regions (default: 0.05) | |
| dist_to_feature_max | No | MethylationRegion distance filter. When set, only DM regions with dist_to_feature <= this value (bp) contribute to the methylated-gene set. None (default) imposes no distance filter. | |
| expression_assay_id | Yes | Assay identifier for differential expression data | |
| methylation_assay_id | Yes | Assay identifier for differential methylation data, or a list of identifiers to pool. Pass a single string to use one methylation assay (most common). Pass a list (e.g. ['OSD-48-968c...', 'OSD-48-4dc1...']) to pool methylation evidence across replicate methylation assays of the same comparison — a gene is treated as 'hypermethylated' if ANY of the pooled assays passes the threshold for it. This matches the natural reading of 'find DE genes that have hypermethylated promoter evidence in this study's methylation assays', where the methylation side is a union across assays before being intersected with the DE side. | |
| methylation_diff_threshold | No | Methylation diff threshold for DM regions (default: 0.0) |