This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How does Fasta protein split into columns?

How to split the ID parts such as NP_001007096.1 into one column, the rest of the specific naming into the 2nd column, and the sequence data into the 3rd column in the protein fasta protein file by using R programming?

column fasta r

Provide an example of the headers.

NP_001343651.1 Uncharacterized protein CELE_F07F6.2, partial [Caenorhabditis elegans]
IEAKCNLRLHLRWYSVGLIFFSFIPIYYSIIVCQPQQFKIDGFELINPVFNKHHSTRSCTSATKSLQNGLIALFIFYALKIYKKVYLIVLYIILIIHFGFEIRNAKSETSRKYIAISTREMFMYYVELLLLYFQNLLLLPYICGGYFLIRHVHRIPSKEEVDRQTLKFKEEARRIKRLMIEEDWHVKEANEDVKNKIEQEGLKRKDMEFEEQLYHLRIEKVKRREQVLKQKLEEKKAKRRQNAERRKKRREIAMEQREQ

Is this a FASTA? Will the first line always start with '>'? Is the sequence always on a single line regardless of length or will it wrap?

In addition.. If you don't preserve the structure of a fasta file, you will be ended with a worthless fasta file. I mean that the second line must be the sequence itself. You cannot arbitrarily set in the second line any other information but the sequence

0 answers

No answers yet.

Log in to answer this question.