showMethods("readFasta")
showMethods("writeFasta")
f1 <- system.file("extdata", "someORF.fa", package="Biostrings")
rfa <- readFasta(f1)
sread(rfa)
id(rfa)
sp <- SolexaPath(system.file('extdata', package='ShortRead'))
rfq <- readFastq(analysisPath(sp), pattern="s_1_sequence.txt")
file <- tempfile()
writeFasta(rfq, file)
readLines(file, 8)
writeFasta(sread(rfq), file) # no 'id's
Run the code above in your browser using DataLab