Obtain identity of sequences aligned by msa in r
0
0
Entering edit mode
2.9 years ago
Debjyoti • 0

I have a sequence data consisting of reads which I have stored as character strings in a list. The reads are basically amplicon sequences. My data will have a mix of different amplicons each with different primer pairs. I want to find out the sequences that correspond to a particular primer pair. When I search just with primer sequence using grep command

list<-"My sequence"
grep("primer_seq", list)

I only get the sequences that matches exactly and not the ones that differ by a few bases. Since I expect few mismatches because of pcr, is there a way I can obtain reads even if they differ by a certain amount of bases that I will specify. Can it be done through msa package using clustalw or any other method in r?

r msa clustalw • 501 views
ADD COMMENT
0
Entering edit mode

I think cutadapt or seqkit is the right tool for this. Please post primer sequences, few reads and expected output for better solution.

ADD REPLY

Login before adding your answer.

Traffic: 3096 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