How to use the prophyle.prophyle_propagation_makefile.TreeIndex function in prophyle

To help you get started, we’ve selected a few prophyle examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github prophyle / prophyle / prophyle / prophyle_propagation_makefile.py View on Github external
'makefile_fn',
        type=str,
        metavar='',
        help='output Makefile',
    )

    args = parser.parse_args()

    k = args.k
    assert k > 0
    newick_fn = args.newick_fn
    output_dir_fn = args.output_dir_fn
    library_dir_fn = args.library_dir_fn
    makefile_fn = args.makefile_fn

    ti = TreeIndex(
        tree_newick_fn=newick_fn,
        library_dir=library_dir_fn,
        index_dir=output_dir_fn,
        makefile_fn=makefile_fn,
    )
    ti.build_index(k=k, )
github prophyle / prophyle / prophyle / prophyle_propagation_makefile.py View on Github external
'makefile_fn',
        type=str,
        metavar='',
        help='output Makefile',
    )

    args = parser.parse_args()

    k = args.k
    assert k > 0
    newick_fn = args.newick_fn
    output_dir_fn = args.output_dir_fn
    library_dir_fn = args.library_dir_fn
    makefile_fn = args.makefile_fn

    ti = TreeIndex(
        tree_newick_fn=newick_fn,
        library_dir=library_dir_fn,
        index_dir=output_dir_fn,
        makefile_fn=makefile_fn,
    )
    ti.build_index(k=k, )