Description Usage Arguments Value Examples
View source: R/seq_genbank_ids_user.R
Obtain a full sequences, CDS sequence and protein files from a list of NCBI accession number
1 2 3 4 5 6 7 8 9 |
seq_genbank_ids_user |
A list of NCBI accession numbers |
is_nucleotide_user |
Logical. True indicates if the accession numbers are nucleotides data. False indicates if data are protein data |
get_cds_user |
Logical. Indicates if CDS information is obtain from NCBI |
organize_name_user |
A list of characters or names to include in the sequence header. |
force_name_to_genes_user |
Character to rename the gene name in a sequence. default is NULL. |
file_out_user |
character to add in the output file. |
out_directory_user |
Output directory. |
three fasta files: full sequence, CDS sequence and protein information. a data frame with sequences information in text format
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | get_genes <- list( c("KU494314",
"MK369820",
"KC520685",
"DQ502716",
"KM024310"))
file_out <- c("COX1")
for(i in 1:length(file_out)) {
get_GenBank_seqs_with_efecth (seq_genbank_ids_user = get_genes[[i]],
is_nucleotide_user = TRUE,
get_cds_user = TRUE,
organize_name_user = c("species","gene","accession_number"),
force_name_to_genes_user = NULL,
file_out_user = file_out[i],
out_directory_user = NULL)
}
rm(i)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.