How to convert a fasta file to txt file?
23 views (last 30 days)
Show older comments
seq=fastaread('3UTRaspic.Hum.fasta')
0 Comments
Answers (1)
Stephen23
on 6 Jan 2017
Edited: Stephen23
on 6 Jan 2017
2 Comments
Stephen23
on 6 Jan 2017
Edited: Stephen23
on 6 Jan 2017
It is already a text file.
The file extension (e.g. .txt) has nothing to do with how a file is encoded. A FASTA file is encoded as a text file. You can change the file extension from .fasta to .txt if this makes you happy, but this does not change its encoding. Your FASTA file is already a text file.
If you really want to do something in MATLAB, then try this:
copyfile('yourfile.fasta','yourfile.txt')
See Also
Categories
Find more on Text Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!