skbio.alignment.Alignment.__contains__

Alignment.__contains__(id)[source]

The in operator.

Parameters:

id : str

The id to look up in the SequenceCollection.

Returns:

bool

Indicates whether id corresponds to a sequence id in the SequenceCollection.