mapply_retrieve_seq {MicrobiotaProcess} | R Documentation |
Retriveing sequences from NCBI with the accession ids.
mapply_retrieve_seq( idlist, files, databases = "protein", type = "fasta", times = 3, checkids = TRUE )
idlist |
vector, the accession version. |
files |
character, the file name specified by a double-quoted string. |
databases |
character, the name of databases to use, default is 'protein',
if nucleotide sequences to retrieve set nuccore,see |
type |
character, the format in which to get data,such as fasta, xml ...,
see |
times |
integer, the time of sleeping, default is 3, meaning 3 seconds. |
checkids |
logical, whether check the sequence of ids has been retrieved. default is FALSE. |
the files of sequences downloaded by ids
Shuangbin Xu
idslist <- list(c("ADM52729.1", "AAF82637.1"), c("CAA24729.1", "CAA83510.1")) mapply_retrieve_seq(idlist=idslist, files="test.fasta", databases="protein", type="fasta", times=3,checkids=TRUE)