Coloring nucleotide sequences according to their GC content
0
0
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.

sequence • 981 views
ADD COMMENT
0
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

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.

ADD REPLY

Login before adding your answer.

Traffic: 3025 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6