bis_protein_structure.DATAGEN.parse_fasta

bis_protein_structure.DATAGEN.parse_fasta(data)[source]

Parses the contents of a FASTA file and extracts sequence tags and sequences.

Parameters:

data (str) – String content of the FASTA file.

Returns:

  • tags (list of str) – List of sequence tags.

  • seqs (list of str) – List of sequences corresponding to the tags.