Commands
library(ShortRead)
seq <- readFastq("a.fq")
primer <- "GGA"
trimmed <- trimLRPatterns(Lpattern=Primer,subject=sread(seq),Lfixed="subject")
References
http://bioconductor.org/packages/release/bioc/html/ShortRead.html
library(ShortRead)
seq <- readFastq("a.fq")
primer <- "GGA"
trimmed <- trimLRPatterns(Lpattern=Primer,subject=sread(seq),Lfixed="subject")
http://bioconductor.org/packages/release/bioc/html/ShortRead.html
Cheatsheets is a collection of bioinformatics cheat sheets we've written. Email coding4medicine with suggestions and changes. Theme credit - rstacruz.