Question: Please write function in python Write a function that takes a nucleotide sequence as input and outputs a vector (list) of counts for the number
Please write function in python
Write a function that takes a nucleotide sequence as input and outputs a vector (list) of counts for the number of occurrences of [A,G,C,T,CG]. Specificially, 'CG' is the number of occurrences of the dinucleotide 5'-CpG-3'. The function should work using sequences with either an uppercase or lowercase input sequence
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
