Description Usage Arguments Value Examples
peptides which do not have protein assignment drop out
1 | reverseSeq(fasta, revLab = "REV_")
|
fasta |
- an r list with SeqFastaAA |
revLab |
- how to label reverse sequences, default = REV_ |
string with reversed sequence
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | library(seqinr)
#library(prozor)
file = system.file("extdata/fgcz_contaminants2021_20210929.fasta.gz", package="prozor")
fasta = readPeptideFasta(file = file)
getAnnot(fasta[[1]])
x <- reverseSeq(fasta)
revseq <- reverseSeq(fasta ,revLab = "REV_")
stopifnot(length(revseq) == length(fasta))
stopifnot(grep("^REV_","REV_zz|ZZ_FGCZCont0000|")==1)
tmp <- list(as.SeqFastaAA(("DYKDDDDK"),name="Flag|FLAG|p2079",Annot=""))
reverseSeq(tmp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.