read_clustal

visualife.data.read_clustal(input_text, max_fields=3)

Reads a ClustalW file with Multiple Sequence Alignment

Parameters:
  • input_text (string) – input data as text in the ClustalW format
  • max_fields – number of data columns each line (2 for the original ClustalW format)
Returns:

Multiple Sequence Alignment (MSA) in a JSON-like dictionary format that is described here