INNER CODE UNIT · Python
seq_list
moshi4/pyMSAviz · src/pymsaviz/msaviz.py:175
def seq_list(self) -> list[str]:
"""MSA sequence list"""
return [str(rec.seq) for rec in self._msa]
@property
def wrap_num(self) -> int:
"""Wrap number"""
if self._wrap_length is None:
return 0
else:
return math.ceil(self._length / self._wrap_length) - 1
@property
def consensus_seq(self) -> str:
"""Consensus sequence"""
return self._consensus_seq
@property