def make_model(sample_obj, transcript_id, fields):
    tx_model = TranscriptStat(sample_id=sample_obj.id,
                              transcript_id=transcript_id, **fields)
    return tx_model
Compose a transcript stat model from fields.
dataset/ETHPy150Open robinandeer/chanjo/chanjo/load/txload.py/make_model