This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Convert A Text File Into A Fasta File

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

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

4 answers

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.

Yes. With some added text to identify the sequence.

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 :) :) :)

fasta to scf convertot

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

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 :) :) :)

Log in to answer this question.