Hi
I would like to use 'write.fasta(sequences, names, nbchar = 60, file.out, open 
= "w")' to convert a DNA sequence in a text file to fasta format.
How do I read the the text file to prepare the argument 'sequences' of the 
function.
The DNA sequence in the text file is one line as below:
ATCACACAACGACACTCACCCTGGACGCTCATC.........
Thank you 



      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to