Split a string containing a set of sequences in fasta format into a list for fasta formated sequences.
Split string using a regular expression, to get the individual sequences.
\n>
org.embl.ebi.escience.scuflworkers.java.SplitByRegex
For sequences where the angle bracket (>), denoting the start of the fasta formated sequence, was removed during the split, prepend it.
if(!stripped_fasta.startsWith(">")) {
full_fasta = ">" + stripped_fasta;
} else {
full_fasta = stripped_fasta;
}
stripped_fasta
full_fasta
String containing one or more fasta sequences.
List of fasta sequences.