deepfold.data.search.parsers.parse_fasta¶
- deepfold.data.search.parsers.parse_fasta(fasta_string: str) Tuple[Sequence[str], Sequence[str]][source]¶
Parses FASTA string and returns list of strings with amino-acid sequences.
- Parameters:
fasta_string – The string contents of a FASTA file.
- Returns:
A list of sequences.
- A list of sequence descriptions taken from the comment lines.
In the same order as the sequences.
- Return type:
A tuple of two lists