Closed lab-rat-kid closed 4 years ago
Hi @lab-rat-kid Something might have changed in nanopolish Could you copy the first lines of the input file you are using ? Thanks
Thanks so seeing this so quickly! This is what nanopolish gives:
chromosome start end read_name log_lik_ratio log_lik_methylated log_lik_unmethylated num_calling_strands num_cpgs sequence
chr1 914685 914685 f25d056b-e46d-4f49-b0e1-6808e3ecc999 -0.37 -130.99 -130.62 1 1 CAGACCGTCAG
chr1 914711 914711 f25d056b-e46d-4f49-b0e1-6808e3ecc999 -0.34 -205.69 -205.35 1 1 TCCTACGGGTT
chr1 914723 914723 f25d056b-e46d-4f49-b0e1-6808e3ecc999 -8.56 -115.41 -106.85 1 1 CCTGCCGAGGT
chr1 914738 914738 f25d056b-e46d-4f49-b0e1-6808e3ecc999 3.48 -95.83 -99.31 1 1 AACCCCGGCAC
chr1 914781 914781 f25d056b-e46d-4f49-b0e1-6808e3ecc999 1.71 -140.95 -142.65 1 1 CCCCTCGGAGA
chr1 230961 230976 24486120-e4eb-4068-b35f-9a87bbbe042c 0.57 -336.70 -337.28 1 3 AAATGCGTCTCGGGAGCAGCCGTGTT
I've tried changing num_cpgs to num_motifs as I saw your script indicated this might be this problem. It didn't help.
Thanks!
When I add a column called strand
between chromosome
and start
, fill it with +
, and change num_cpgs
to num_motifs
, then it works.
Great to know that this older version is not supported. I actually checked in pycoMeth doc and is is written that version Nanopolish 0.10+ is required see installation doc Thanks for digging to the bottom.
Thanks, I hadn't noticed I was using an old version of nanopolish! :)
CpG_Aggregate is not recognising the tsv file output from nanopolish. This is what I get:
The files were generated using nanopolish version 0.9.0 Any help would be greatly appretiated!