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

Note

Deprecated as of 0.5.0 for removal in 0.5.1. This functionality will be moved to the fastq sniffer, where it will be more useful as it will determine the variant of a fastq file.

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
>>> is_casava_v180_or_later(b'@foo')
False
>>> id_ = b'@M00176:17:000000000-A0CNA:1:1:15487:1773 1:N:0:0'
>>> is_casava_v180_or_later(id_)
True