read_fasta¶
-
visualife.data.read_fasta(input_text)¶ Reads a FASTA file that contains nucleic / amino acid sequences
The input file may contain one or more sequences, that may be aligned (i.e. an MSA) or not. Regardless the actual nature of the data, the sequences extracted from a given file are returned as a Multiple Sequence Alignment (which may comprise just a single sequence)
Parameters: input_text ( string) – input data as text in the FASTA formatReturns: Multiple Sequence Alignment (MSA) in a JSON-like dictionary format that is described here