tombo icon indicating copy to clipboard operation
tombo copied to clipboard

For the stats file, how to count the quantity of each type next

Open chenji333 opened this issue 3 years ago • 1 comments

hello,I just used tombo to calculate 5mC (CHH, CHG) and 6mA, and generated hua_Me.5mC.tombo.stats and hua_Me.6mA.tombo.stats, but I want to count the number of each type and its position on the chromosome and methylation Level , etc. I am not sure how I should proceed next? Is it possible to generate a tsv file or txt file containing this information?

chenji333 avatar May 18 '21 08:05 chenji333

Your best bet is probably the tombo text_output commands.

If that doesn't have what you need, you can probably get it using the Tombo Python API. Instantiate a LevelStats object using the filepath to your .tombo.stats file. I don't know what to do after that; you'll probably have to read some Tombo source.

SycamoreLeaf avatar May 21 '21 15:05 SycamoreLeaf