biotite.sequence.io.fastq.set_sequences

biotite.sequence.io.fastq.set_sequences(fastq_file, sequence_dict, as_rna=False)[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'.