https://github.com/al2na/meth_atlas

https://github.com/al2na/meth_atlas

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: nature.com
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: al2na
  • Language: Python
  • Default Branch: master
  • Size: 12.8 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Fork of nloyfer/meth_atlas
Created about 7 years ago · Last pushed about 7 years ago

https://github.com/al2na/meth_atlas/blob/master/

# Methylation Atlas Deconvolution

This is a standalone program for [deconvolution of array methylome](https://www.nature.com/articles/s41467-018-07466-6)[1].
It uses an input **reference atlas** file to deconvolve a given **sample**, or multiple samples.
Outputs a csv file, and plots a stacked bars figure.

### atlas
A reference atlas file. 
- csv file
- Contains a header (columns names).
- The first column must be Illumina IDs.

The reference atlas used on the paper is supplied in this repository - *reference_atlas.csv*.

### samples
A file containing one or more samples, with similar requirements as the atlas file (csv, header, index column).
The CpG (Illumina ID) column may contain different CpG sites than the ones in the atlas files, as long as they share some sites.

An example dummy file is supplied, *examples.csv*.

---

### Usage

```
usage: deconvolve.py [-h] [--atlas_path ATLAS_PATH] [--slim] [--plot]
                     [--out_dir OUT_DIR]
                     samples_path

positional arguments:
  samples_path          Path to samples csv file. It must have a header line.
                        The first column must be Illumina IDs (e.g cg00000029)

optional arguments:
  -h, --help            show this help message and exit
  --atlas_path ATLAS_PATH, -a ATLAS_PATH
                        Path to Atlas csv file. The first column must be
                        Illumina IDs (e.g cg00000029)
  --slim                Write the results table *without indexes and header
                        line*
  --plot                Display the stacked bars figure
  --out_dir OUT_DIR, -o OUT_DIR
                        Output directory
```

---
### Example
```
deconvolve.py -a reference_atlas.csv examples.csv
```
will deconvolve all samples given as columns in *examples.csv*, dump the resulting coefficients to a csv file named *examples_deconv_output.csv*, plot them, and dump the figure to *examples_deconv_plot.png*.
![Image of bar plot](https://github.com/nloyfer/meth_atlas/blob/master/examples_deconv_plot.png)


### Pre-processing
We recommend pre-processing the IDAT files using the script and reference sample listed [here](https://github.com/nloyfer/meth_atlas/tree/master/pre_process#pre-processing).

------------------
[1]: Moss, J.; Magenheim, J.; Neiman, D.; Zemmour, H.; Loyfer, N.; Korach, A.; Samet, Y.; Maoz, M.; Druid, H.; Arner, P.; et al. Comprehensive human cell-type methylation atlas reveals origins of circulating cell-free DNA in health and disease. Nat. Commun. 2018, 9, 5068.

Owner

  • Name: Altuna Akalin
  • Login: al2na
  • Kind: user
  • Location: Berlin
  • Company: Berlin Institute for Medical Systems Biology

doing stuff

GitHub Events

Total
Last Year