code: def shred(args):
      p = OptionParser(shred.__doc__)
      opts, args = p.parse_args(args)
      if len(args) != 1:
          sys.exit(not p.print_help())
      s, = args
      u = UnitigLayout(s)
      u.shred()
      u.print_to_file(inplace=True)