Entering edit mode
5.2 years ago
mschmid
▴
180
Is anybody aware of a tool that does analyse the GC content of a nucleotide sequence and plot the sequence to a pdf or similar with the nucleotide sequence coloured accordingly?
Ideally the tool would determine the GC content applying a sliding window approach.
So the input would be a fasta or just a nucleotide sequence as a string. The output would be (ideally) a pdf containing the coloured nc. sequence.
Can you elaborate how you envisage the sequence being coloured? Do you want all C and Gs coloured, or do you want them coloured where the GC skew is greater than some threshold etc.? It is not clear to me.
The idea is, to have for example three colours: 1) Red for let's say GC below 30 and and GC above 70 2) Yellow for let's say GC below 40 and above 60 3) And rest green
So the single bases (no matter if A,T,G,C) have the colour of the GC content in the current sliding window. The window could for example be 51 bases or 31 or similar. The base which gets coloured is the one in the middle of the sliding window.