<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_sim_options(p):
 """ Add options shared by eagle or wgsim. """

    p.add_option("--distance", default=500, type="int",
                 help="Outer distance between the two ends [default: %default]")
    p.add_option("--readlen", default=150, type="int",
                 help="Length of the read")
    p.set_depth(depth=10)
    p.set_outfile(outfile=None)