skbio.util.is_casava_v180_or_later

skbio.util.is_casava_v180_or_later(header_line)[source]

Check if the header looks like it is Illumina software post-casava v1.8

Parameters:

header_line : bytes

A header line

Returns:

bool

True for if casava v1.8+, otherwise False

Examples

>>> from skbio.util import is_casava_v180_or_later
>>> print(is_casava_v180_or_later('@foo'))
False
>>> id_ = '@M00176:17:000000000-A0CNA:1:1:15487:1773 1:N:0:0'
>>> print(is_casava_v180_or_later(id_))
True