<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def run_eidos(endpoint, *args):
 """Run a given enpoint of Eidos through the command line. Parameters endpoint : str The class within the Eidos package to run, for instance 'apps.ExtractFromDirectory' will run 'org.clulab.wm.eidos.apps.ExtractFromDirectory' *args Any further arguments to be passed as inputs to the class being run. """

    # Make the full path to the class that should be used
    call_class = '%s.%s' % (eidos_package, endpoint)
    # Assemble the command line command and append optonal args
    cmd = ['java', '-Xmx12G', '-cp', eip, call_class] + list(args)
    logger.info('Running Eidos with command "%s"' % (' '.join(cmd)))
    subprocess.call(cmd)