

def writeFastq(row, fh):
    if ('name' in row):
        fh.write(''.join(['@', row['name'], '\n']))
    else:
        fh.write('@\n')
    row.write((row['sequence'] + '\n'))
    fh.write('+\n')
    fh.write((row['quality'] + '\n'))

dataset/ETHPy150Open dnanexus/dx-toolkit/src/python/dxpy/scripts/dx_mappings_to_fastq.py writeFastq/VarMisuse@55/69 `fh`->`row`