jts / nanopolish

Signal-level algorithms for MinION data
MIT License
566 stars 159 forks source link

Nanopolish Methylation Frequency group_sequence #654

Closed vahidAK closed 5 years ago

vahidAK commented 5 years ago

Hi @jts ,
In the methylation frequency results, the last column is group_sequence which may only include one single CpG or multiple CpGs. As I understand the "compare_methylation.py" script only merges the motifs with only one CpG in the last column with the bisulfite results, is it correct?
Also, in the group_sequences with several CpGs, do all the CpGs are methylated? if no how can we understand which CpGs are methylated? Many thanks,
Vahid.

jts commented 5 years ago

As I understand the "compare_methylation.py" script only merges the motifs with only one CpG in the last column with the bisulfite results, is it correct?

Correct, the compare_methylation.py script only compares groups that have a single CpG site.

Also, in the group_sequences with several CpGs, do all the CpGs are methylated? if no how can we understand which CpGs are methylated?

Right now we only call the group as completely methylated or completely unmethylated. We plan to change this is in the future.

Jared