biotite.sequence.io.fastq

This subpackage is used for reading and writing sequencing data using the popular FASTQ format.

This package contains the FastqFile, which provides a dictionary like interface to FASTQ files, with the sequence identifer strings being the keys and the sequences and quality scores being the values.

Content

FastqFile

This class represents a file in FASTQ format.

get_sequence

Get a sequence and quality scores from a FastqFile instance.

get_sequences

Get a dictionary from a FastqFile instance, where identifiers are keys and sequence-score-tuples are values.

set_sequence

Set a sequence and a quality score array in a FastqFile instance.

set_sequences

Set sequences in a FastqFile instance from a dictionary.