a45765f7ef1e938108a37d11f031e36e764b8032,skbio/io/fastq.py,,_generator_to_fastq,#Any#Any#Any#Any#Any#Any#,380
Before Change
seq_str = seq.sequence
if phred_offset not in [33, 64]:
raise ValueError("Unknown PHRED offset of %s" % phred_offset)
if enforce_qual_range and ((seq.quality < 0).any() or
(seq.quality > 62).any()):
raise FASTQFormatError("Failed qual conversion for seq id: %s."
After Change
fh.write(str(seq))
fh.write("+\n")
fh.write(qual_str)
fh.write("\n")
@register_writer("fastq", BiologicalSequence)
def _biological_sequence_to_fastq(obj, fh, variant=None, phred_offset=None,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: biocore/scikit-bio
Commit Name: a45765f7ef1e938108a37d11f031e36e764b8032
Time: 2014-10-24
Author: jai.rideout@gmail.com
File Name: skbio/io/fastq.py
Class Name:
Method Name: _generator_to_fastq
Project Name: markovmodel/PyEMMA
Commit Name: e57cb3a32733ea69f91e80378d3828a458581a1e
Time: 2018-11-22
Author: m.scherer@fu-berlin.de
File Name: pyemma/coordinates/data/util/reader_utils.py
Class Name:
Method Name: create_file_reader
Project Name: prody/ProDy
Commit Name: e93f4d4dcd70fc3eaf87779fc9f0b34f98e04ac8
Time: 2012-10-17
Author: lordnapi@gmail.com
File Name: lib/prody/utilities/pathtools.py
Class Name:
Method Name: gunzip