##
## Show that comp() does not return the reverve complementary strand:
##
c2s(comp(s2c("aaaattttggggcccc")))
##
## Show how to get the reverse complementary strand:
##
c2s(rev(comp(s2c("aaaattttggggcccc"))))
##
## Show what's happen with non allowed values:
##
c2s(rev(comp(s2c("aaaaXttttYggggZcccc"))))
Run the code above in your browser using DataLab