set_sequences#

biotite.sequence.io.fastq.set_sequences(fastq_file: FastqFile, sequence_dict: dict[str, tuple[NucleotideSequence, ndarray]], as_rna: bool = False) None[source]#

Set sequences in a FastqFile instance from a dictionary.

Parameters:
fastq_fileFastqFile

The FastqFile to be accessed.

sequence_dictdict

A dictionary containing the sequences and scores to be set. Identifiers are keys, (NucleotideSequence, ndarray) tuples are values.

as_rnabool, optional

If set to true, the sequence symbol 'T' will be replaced by 'U'.