def _noise(seq, c, size=<NUM_LIT>, total=<NUM_LIT:1000>):
reads = dict()<EOL>seen = <NUM_LIT:0><EOL>while seen < total:<EOL><INDENT>s = random.randint(<NUM_LIT:0>, len(seq) - size)<EOL>e = s + size + random.randint(-<NUM_LIT:5>,<NUM_LIT:5>)<EOL>p = random.uniform(<NUM_LIT:0>, <NUM_LIT:0.1>)<EOL>counts = int(p * total) + <NUM_LIT:1><EOL>seen += counts<EOL>name = "<STR_LIT>" % (c, s, e, counts)<EOL>reads[name] = (seq[s:e], counts)<EOL><DEDENT>return reads<EOL>
Create mature sequences around start/end