#!/usr/bin/env python

import sys
import optparse

import argweaver

from compbio import arglib


o = optparse.OptionParser(
    description="""
Read ARG (*.arg) from stdin and write local trees to stdout.
""")
conf, args = o.parse_args()


arg = arglib.read_arg(sys.stdin)
arglib.write_tree_tracks(sys.stdout, arg, verbose=True)
