Displaying 2 results from an estimated 2 matches for "r_studio".
2017 Jun 17
3
write.dna command
...the fasta file.
Here is my code:
####Get gene sequence from GenBank and store it as fasta file
####16 June 2017
#1- Set the working directory and make sure the right libraries are
installed
(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)
#...
2017 Jun 17
0
write.dna command
I suspect you meant
WD <- "~/Documents/Scripting/R_Studio/Sequences/"
but I am entirely unfamiliar with the packages you are using, and know nothing about what is on your hard drive.
For future reference:
A) Read the Posting Guide. This is a plain text email list, and your html formatting gets removed leaving a mess that is not always readable....