def createjob_featx(inputs, **job):
    """Populates a featx job using the given inputs and job dict"""
    job['cmdline'] = ['nice', 'python', 'pylib/features.py']
    job.update(inputs=inputs[:], ninputs=len(inputs), stdin='')
    for fname, rownum in inputs:
        s = '\t'.join([fname, job['mstr'], job['fstr'], job['fiducials'], 'outfmt@%(path)s\t%(fvec)s::errfmt@%(path)s\t%(errormsg)s'])
        job['stdin'] += s+'\n'
    return job