Displaying 2 results from an estimated 2 matches for "jf806202".
2017 Jun 17
3
write.dna command
...led
(make sure 'ape' and 'seqinr' packages are installed)
WD <- "~Documents/Scripting/R_Studio/Sequences/"
setwd <- (WD)
#2- Fetch a sequence ( bellow, "enter manually the desired DNA ID") from
GenBank and store it as fasta file.
DNAid <- "JF806202"
# Store the sequence in lst (a list)
lst <- read.GenBank(DNAid, as.character = T)
# convert the sequence to fasta format
write.dna (lst, file = "DNAseq.fasta", format = "fasta", append =
FALSE,
nbcol= 6, colsep= " ", colw= 1...
2017 Jun 17
0
write.dna command
...9;seqinr' packages are installed)
>
>WD <- "~Documents/Scripting/R_Studio/Sequences/"
>setwd <- (WD)
>
>#2- Fetch a sequence ( bellow, "enter manually the desired DNA ID")
>from
>GenBank and store it as fasta file.
>
> DNAid <- "JF806202"
>
> # Store the sequence in lst (a list)
> lst <- read.GenBank(DNAid, as.character = T)
>
> # convert the sequence to fasta format
> write.dna (lst, file = "DNAseq.fasta", format = "fasta", append =
>FALSE,
> nbcol= 6,...