Hi
Im a very inexperienced bioinformatician
I have a large DNA file with about 10000 lines of sequence and need to count the occurrence of TA for each line
for example in the file
I would like to get an output like:
I have tried various grep and awk commands but can only get total number of TA in the whole file
many thanks
Im a very inexperienced bioinformatician
I have a large DNA file with about 10000 lines of sequence and need to count the occurrence of TA for each line
for example in the file
Code:
TACGCGCGATA
TATATATA
GGCGCGTATA
Code:
2
4
2
many thanks