Trim sequence using R
0
0
Entering edit mode
@kelvinfrog75-7494
Last seen 9.1 years ago
United States

I have a DNA sequence files and many sequences start like this  "CCCATGCAGACATAGTG" or  "CTCCATGCAGACATAGTG" and I have a tag sequence which is "ATGCA". I want to remove all the "ATGCA" as well as "CC" or "CTC" before that. So the final product will be  "GACATAGTG". Does anyone know any R function can do that? I tried trimLRPatterns in biostrings but it does not work since it only trim from the end but not within the sequence. Please let me know if you have any solution to that. Thanks.

bioconductor • 1.7k views
ADD COMMENT

Login before adding your answer.

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