47647c58a959

Fixup README
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 23 Mar 2026 16:44:02 -0400
parents 02081983e4e7
children 49bb4cb7bbbb
branches/tags (none)
files README.markdown

Changes

--- a/README.markdown	Mon Mar 23 16:41:36 2026 -0400
+++ b/README.markdown	Mon Mar 23 16:44:02 2026 -0400
@@ -56,16 +56,17 @@
     ((x 100))
     #(x 500 x)
 
-Generate a foldback chimeric read, with the second half having a lower quality
-than the first:
+Generate a gapped foldback chimeric read, with the second half having a lower
+quality than the first:
 
-    ((x (q40 1000)))
-    #(x (q20 (revcomp x)))
+    ((x (q40 1000))
+     (f (q20 (revcomp x))))
+    #(x 25 f)
 
 Generate a read with a tandem repeat in the middle:
 
     ()
-    (1000 (rep 200 "ATTT"))
+    (1000 (rep 200 "ATTT") 1000)
 
 Generate a foldback chimeric read with a double tandem duplication in the
 foldback strand, with simulated sequencing error, and small chunks of
@@ -76,6 +77,6 @@
      (a (first 800 x))
      (b (last 200 x))
      (dup (last 150 a))
-     (f #(lq a lq dup lq (rc dup) lq dup lq b)))
+     (f (revcomp #(lq a lq dup lq (rc dup) lq dup lq b))))
 
-    (err 0.01 #(x (revcomp f)))
+    (err 0.01 #(x f))