Skip to main content

Plotting tool for population scale nucleotide modifications.

Project description

METHYLMAP

EXAMPLE

GNAS methylmap

Methylmap is a tool for visualization of modified nucleotide frequencies for large cohort sizes, and allows for quick and easy consulting of nucleotide methylation frequencies of individuals in the 1000Genomes ONT project.

The tools is available through bioconda and pypi, and can be installed using the following commands:

conda install -c bioconda methylmap
pip install methylmap

or through the methylmap web application at https://methylmap.bioinf.be.

If this application is useful for your research, please cite: https://www.biorxiv.org/content/10.1101/2022.11.28.518239v1 (methylmap)

https://www.medrxiv.org/content/10.1101/2024.03.05.24303792v1 (the underlying 1000Genomes ONT dataset)

METHYLMAP WEB APPLICATION

INPUT POSSIBILITIES

The methylmap web application supports the visualization of own modification frequencies data by uploading a tab separated .tsv file. The file should contain the following columns: "chrom", "position", "sample_1", "sample_2", ... "sample_n". Example:

chrom	position	sample_1	sample_2	sample_3	sample_4
chr1	100000.0	0.000	0.167	0.000	0.077
chr1	100000.5	0.000	0.000	0.100	0.000
chr1	100001.0	0.000	0.000	0.000	0.222
chr1	100002.0	0.000	0.000	0.000	0.000
chr1	100003.0	0.000	0.000	0.000	0.000

Such a table can be generated using the multiparsetable.py script, that supports the following input possibilities:

  • BAM/CRAM files with MM and ML tags.

  • files from nanopolish (as processed by calculate_methylation_frequency.py). The methylation calls can additionally be phased using the available scripts in the "scripts" folder.

METHYLMAP COMMAND LINE TOOL

INPUT POSSIBILITIES

  • BAM/CRAM files with MM and ML tags. Use --files input option.
  • files from nanopolish (as processed by calculate_methylation_frequency.py). The methylation calls can additionally be phased using the available scripts in the "scripts" folder. Use --files input option.
  • an own tab separtated table with nucleotide modification frequencies over all positions (methfreqtable), required header names are "chrom" (column with chromosome information) and "position" (columns with position information). Use --table input option. Example:
chrom	position	sample_1	sample_2	sample_3	sample_4
chr1	100000.0	0.000	0.167	0.000	0.077
chr1	100000.5	0.000	0.000	0.100	0.000
chr1	100001.0	0.000	0.000	0.000	0.222
chr1	100002.0	0.000	0.000	0.000	0.000
chr1	100003.0	0.000	0.000	0.000	0.000
  • a tab separated file with an overview table containing all nanopolish or BAM/CRAM files and their sample name and experimental group (header requires "path", "name" and "group"). Use --table input option. Example:
path    name    group
/home/path_to_file/bamfile_sample_1.bam   samplename_1    case
/home/path_to_file/bamfile_sample_2.bam   samplename_2    control
/home/path_to_file/bamfile_sample_3.bam   samplename_3    control
/home/path_to_file/bamfile_sample_4.bam   samplename_4    case

USAGE

usage: methylmap [-h] [-f FILES [FILES ...] | -t TABLE] [-w WINDOW]
                 [-n [NAMES ...]] --gff GFF [--output OUTPUT]
                 [--groups [GROUPS ...]] [-s] [--fasta FASTA]
                 [--mod {m,h}] [--hapl] [--dendro]
                 [--threads THREADS] --db DB [--quiet] [--debug]
                 [--host HOST] [--port PORT] [-v]

MORE INFORMATION

More information: https://www.biorxiv.org/content/10.1101/2022.11.28.518239v1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

methylmap-0.5.2.tar.gz (24.4 kB view details)

Uploaded Source

File details

Details for the file methylmap-0.5.2.tar.gz.

File metadata

  • Download URL: methylmap-0.5.2.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for methylmap-0.5.2.tar.gz
Algorithm Hash digest
SHA256 da4b8afc7389f4e79cf4fad10daed972a14c7feb4f91bfcb56512770ac0b52c4
MD5 88e3eeb40a6195c022855524a8878a63
BLAKE2b-256 a0a0ee57a13547e9ce03cd498038d2b9990f5aa3a9f9c79414ad573228474357

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page