INNER CODE UNIT · Python
get_filepath
getzlab/rnaseqc · python/rnaseqc/__main__.py:6
def get_filepath(name):
# return os.path.join(os.path.dirname(os.path.abspath(__file__)), name)
return 'rnaseqc.{}'.format(name)
if __name__ == '__main__':
parser = argparse.ArgumentParser('rnaseqc')
subparsers = parser.add_subparsers(dest='command')
commands = {
'aggregate': get_filepath('aggregate'),
'notebook': get_filepath('create_notebook'),
'insert-size': get_filepath('insert_size_intervals'),
'legacy-exons': get_filepath('legacy_exon_remap'),
'report': get_filepath('report'),
'run': get_filepath('run'),
}