Convert A Text File Into A Fasta File
4
2
Entering edit mode
10.9 years ago
Zhshqzyc ▴ 490

Hello, I have a text file likes this:

GTCAAAGATCAGATGGTTGTAGATGTGTGGTGTTATTTCTGAAGCCTCTGTTCAAGGAAGGCAGTTTCTTATGAA


I want to convert it to a fasta file. Can we just manually add a ">" in the fist line?

Thanks

fasta • 111k views
0
Entering edit mode

Just adding ">" is not a solution, you need biological identifier!

2
Entering edit mode
10.9 years ago
Torst ▴ 970

A good explaination of the FASTA format is here:

http://en.wikipedia.org/wiki/FASTA_format

Some applications will use the word immediately after the ">" symbols as an "ID" so make sure it means something to you. You that you can put multiple sequences in the one file, just start each new one with a ">" line, and use a unique ID for each one.

4
Entering edit mode
7.1 years ago
ofanoyi ▴ 160
2
Entering edit mode

Following the second link, I found http://www.ebi.ac.uk/Tools/sfc/emboss_seqret/ which worked for me.

3
Entering edit mode
10.9 years ago
Linda ▴ 160

Yes. With some added text to identify the sequence.

0
Entering edit mode
6.6 years ago
BioApps ▴ 790

Yes. As you said, the answer is that simple: simply add '>' at the top of your file. Probably, this is the most simple conversion possible !! :) :)

It is not like converting Fasta back to chromatograms :) :) :)

0
Entering edit mode

How the hell would you do that, and why? It looks like you would have to make up the intensity values, and again - why?

0
Entering edit mode

Yes. You are right. The values are 'made up'. The program is just a joke. I had available a library that read FASTA and one that generated SCF files. I only spent few minutes to put them together :) :) :)