bcftbx.platforms

platforms.py

Utilities and data to identify NGS sequencer platforms

bcftbx.platforms.get_run_completion_files(platform)

Return a list of files indication run completion

Given a platform name, return a list of the files that are used to indicate when the run is complete.

Parameters:

platform (str) – name of the sequencing platform (e.g. ‘novaseq6000’)

Returns:

list of run completion files for the

specified platform.

Return type:

Tuple

bcftbx.platforms.get_sequencer_platform(sequencer_name)

Attempt to determine platform from sequencer name

Checks the supplied sequencer name against the patterns in PLATFORMS and returns the first match (or None if no match is found).

Parameters:

sequencer_name – sequencer name (can include a leading directory path)

Returns:

Matching sequencer platform, or None.

bcftbx.platforms.list_platforms()

Return list of known platform names