This is a test version of Biostars. For the public version, visit https://www.biostars.org.
tools for calculating nucleotide composition of a gene

Hi, All,

I wonder if there is any tool to do nucleotide composition analysis to generate figures such as this (link here)? It would be great if the sliding window size could be customized.

Thanks,

Xiao

ngs

1 answer

You should be able to compute the actual nucleotide composition with Biostrings and compute the rolling mean with zoo::rollmean. To plot these values you can use karyoploteR. This example at the karyoploteR tutorial does not do a rolling mean but computed the mean over fixed tiling, but it can help you get started.

Example of a nucleotide frequency plot generated by karyoploteR

Log in to answer this question.