Nothing
getSequenceFromNCBI <- function(id, file=NULL){
out <- c()
for(idRun in 1:length(id)){
tmp <- getURL(paste("https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=",id[idRun],"&rettype=fasta&retmode=text", sep=""))
tmp <- sub("\n","\r",tmp)
tmp <- gsub("\n","",tmp)
tmp <- sub("\r","\n",tmp)
out[idRun] <- tmp
if(idRun%%10==0) message("Processed ",idRun," queries.")
if(idRun==length(id)) message("All queries processed!")
}
if(!is.null(file)){
fileConn<-file(file)
writeLines(out, fileConn)
close(fileConn)
} else {
out
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.