Source code

Download source archive ↓

upstream-golden-cases.json

1{
2  "reference": "seqtk at 94e707082d39b0a038f234df676e32d9802c0dc7",
3  "cases": [
4    {
5      "operator": "seqtk_comp",
6      "reference_command": [
7        "seqtk",
8        "comp",
9        "<input>"
10      ],
11      "data": ">x\nACGTMRYWSKBDHVN\n>y\nccgryn\n",
12      "expected": "x\t15\t1\t1\t1\t1\t6\t4\t1\t2\t4\t2\t0\ny\t6\t0\t2\t1\t0\t2\t0\t1\t2\t0\t2\t0\n"
13    },
14    {
15      "operator": "seqtk_listhet",
16      "reference_command": [
17        "seqtk",
18        "listhet",
19        "<input>"
20      ],
21      "data": ">x\nAmrSwYNBDHV\n",
22      "expected": "x\t2\tm\nx\t3\tr\nx\t4\tS\nx\t5\tw\nx\t6\tY\n"
23    },
24    {
25      "operator": "seqtk_cutN",
26      "reference_command": [
27        "seqtk",
28        "cutN",
29        "-n",
30        "3",
31        "-p",
32        "10",
33        "<input>"
34      ],
35      "data": ">x\nAANNNCCNNNNGG\n",
36      "expected": ">x:1-2\nAA\n>x:6-7\nCC\n>x:12-13\nGG\n"
37    },
38    {
39      "operator": "seqtk_hety",
40      "reference_command": [
41        "seqtk",
42        "hety",
43        "-w",
44        "4",
45        "-t",
46        "1",
47        "<input>"
48      ],
49      "data": ">x\nAMGTNNRYAC\n",
50      "expected": "x\t0\t4\t1.00\t4\t1\nx\t4\t8\t4.00\t2\t2\nx\t8\t10\t0.00\t2\t0\n"
51    },
52    {
53      "operator": "seqtk_telo",
54      "reference_command": [
55        "seqtk",
56        "telo",
57        "-m",
58        "CCC",
59        "-s",
60        "3",
61        "<input>"
62      ],
63      "data": ">x\nCCCCCCCCAAAGGGGGGG\n",
64      "expected": "x\t0\t8\t18\nx\t11\t18\t18\n"
65    },
66    {
67      "operator": "seqtk_trimfq",
68      "reference_command": [
69        "seqtk",
70        "trimfq",
71        "-l",
72        "1",
73        "<input>"
74      ],
75      "data": "@r1\nAACCGGTT\n+\n!!IIII!!\n",
76      "expected": "@r1\nCCGG\n+\nIIII\n"
77    },
78    {
79      "operator": "seqtk_dropse",
80      "reference_command": [
81        "seqtk",
82        "dropse",
83        "<input>"
84      ],
85      "data": "@r1/1\nAC\n+\nII\n@single\nGT\n+\nII\n@r2/1\nAC\n+\nII\n@r2/2\nGT\n+\nII\n",
86      "expected": "@r2/1\nAC\n+\nII\n@r2/2\nGT\n+\nII\n"
87    },
88    {
89      "operator": "seqtk_comp",
90      "reference_command": [
91        "seqtk",
92        "comp",
93        "<input>"
94      ],
95      "data": ">x\nGWWGYRYS\n",
96      "params": {},
97      "expected": "x\t8\t0\t0\t2\t0\t6\t0\t0\t2\t3\t3\t2\n"
98    },
99    {
100      "operator": "seqtk_listhet",
101      "reference_command": [
102        "seqtk",
103        "listhet",
104        "<input>"
105      ],
106      "data": ">x\nGWWGYRYS\n",
107      "params": {},
108      "expected": "x\t2\tW\nx\t3\tW\nx\t5\tY\nx\t6\tR\nx\t7\tY\nx\t8\tS\n"
109    },
110    {
111      "operator": "seqtk_hety",
112      "reference_command": [
113        "seqtk",
114        "hety",
115        "-w",
116        "4",
117        "-t",
118        "2",
119        "<input>"
120      ],
121      "data": ">x\nGWWGYRYS\n",
122      "params": {
123        "window": 4,
124        "starts": 2
125      },
126      "expected": "x\t0\t4\t2.00\t4\t2\nx\t4\t6\t3.00\t4\t3\nx\t6\t8\t4.00\t2\t2\n"
127    },
128    {
129      "operator": "seqtk_cutN",
130      "reference_command": [
131        "seqtk",
132        "cutN",
133        "-n",
134        "3",
135        "-p",
136        "2",
137        "<input>"
138      ],
139      "data": ">x\nGWWGYRYS\n",
140      "params": {
141        "penalty": 2
142      },
143      "expected": ">x:1-8\nGWWGYRYS\n"
144    },
145    {
146      "operator": "seqtk_trimfq",
147      "reference_command": [
148        "seqtk",
149        "trimfq",
150        "-l",
151        "3",
152        "<input>"
153      ],
154      "data": "@x\nGWWGYRYS\n+\n!I!!I55!\n",
155      "params": {
156        "minimum_length": 3
157      },
158      "expected": "@x\nYRY\n+\nI55\n"
159    },
160    {
161      "operator": "seqtk_telo",
162      "reference_command": [
163        "seqtk",
164        "telo",
165        "-m",
166        "AC",
167        "-s",
168        "1",
169        "-d",
170        "2",
171        "<input>"
172      ],
173      "data": ">x\nGWWGYRYS\n",
174      "params": {
175        "motif": "AC",
176        "minimum_score": 1,
177        "max_drop": 2
178      },
179      "expected": ""
180    },
181    {
182      "operator": "seqtk_comp",
183      "reference_command": [
184        "seqtk",
185        "comp",
186        "<input>"
187      ],
188      "data": ">x\nMMTRTNTGG\n",
189      "params": {},
190      "expected": "x\t9\t0\t0\t2\t3\t3\t0\t1\t0\t2\t1\t0\n"
191    },
192    {
193      "operator": "seqtk_listhet",
194      "reference_command": [
195        "seqtk",
196        "listhet",
197        "<input>"
198      ],
199      "data": ">x\nMMTRTNTGG\n",
200      "params": {},
201      "expected": "x\t1\tM\nx\t2\tM\nx\t4\tR\n"
202    },
203    {
204      "operator": "seqtk_hety",
205      "reference_command": [
206        "seqtk",
207        "hety",
208        "-w",
209        "4",
210        "-t",
211        "2",
212        "<input>"
213      ],
214      "data": ">x\nMMTRTNTGG\n",
215      "params": {
216        "window": 4,
217        "starts": 2
218      },
219      "expected": "x\t0\t4\t3.00\t4\t3\nx\t4\t6\t1.33\t3\t1\nx\t6\t8\t0.00\t3\t0\nx\t8\t9\t0.00\t1\t0\n"
220    },
221    {
222      "operator": "seqtk_cutN",
223      "reference_command": [
224        "seqtk",
225        "cutN",
226        "-n",
227        "3",
228        "-p",
229        "2",
230        "<input>"
231      ],
232      "data": ">x\nMMTRTNTGG\n",
233      "params": {
234        "penalty": 2
235      },
236      "expected": ">x:1-9\nMMTRTNTGG\n"
237    },
238    {
239      "operator": "seqtk_trimfq",
240      "reference_command": [
241        "seqtk",
242        "trimfq",
243        "-l",
244        "3",
245        "<input>"
246      ],
247      "data": "@x\nMMTRTNTGG\n+\n!55I5!55I\n",
248      "params": {
249        "minimum_length": 3
250      },
251      "expected": "@x\nMTRT\n+\n55I5\n"
252    },
253    {
254      "operator": "seqtk_telo",
255      "reference_command": [
256        "seqtk",
257        "telo",
258        "-m",
259        "AC",
260        "-s",
261        "1",
262        "-d",
263        "2",
264        "<input>"
265      ],
266      "data": ">x\nMMTRTNTGG\n",
267      "params": {
268        "motif": "AC",
269        "minimum_score": 1,
270        "max_drop": 2
271      },
272      "expected": ""
273    },
274    {
275      "operator": "seqtk_comp",
276      "reference_command": [
277        "seqtk",
278        "comp",
279        "<input>"
280      ],
281      "data": ">x\nNYGMMCGAKY\n",
282      "params": {},
283      "expected": "x\t10\t1\t1\t2\t0\t5\t0\t1\t4\t3\t2\t1\n"
284    },
285    {
286      "operator": "seqtk_listhet",
287      "reference_command": [
288        "seqtk",
289        "listhet",
290        "<input>"
291      ],
292      "data": ">x\nNYGMMCGAKY\n",
293      "params": {},
294      "expected": "x\t2\tY\nx\t4\tM\nx\t5\tM\nx\t9\tK\nx\t10\tY\n"
295    },
296    {
297      "operator": "seqtk_hety",
298      "reference_command": [
299        "seqtk",
300        "hety",
301        "-w",
302        "4",
303        "-t",
304        "2",
305        "<input>"
306      ],
307      "data": ">x\nNYGMMCGAKY\n",
308      "params": {
309        "window": 4,
310        "starts": 2
311      },
312      "expected": "x\t0\t4\t2.67\t3\t2\nx\t4\t6\t2.00\t4\t2\nx\t6\t8\t1.00\t4\t1\nx\t8\t10\t4.00\t2\t2\n"
313    },
314    {
315      "operator": "seqtk_cutN",
316      "reference_command": [
317        "seqtk",
318        "cutN",
319        "-n",
320        "3",
321        "-p",
322        "2",
323        "<input>"
324      ],
325      "data": ">x\nNYGMMCGAKY\n",
326      "params": {
327        "penalty": 2
328      },
329      "expected": ">x:1-10\nNYGMMCGAKY\n"
330    },
331    {
332      "operator": "seqtk_trimfq",
333      "reference_command": [
334        "seqtk",
335        "trimfq",
336        "-l",
337        "3",
338        "<input>"
339      ],
340      "data": "@x\nNYGMMCGAKY\n+\n!I!!!!I!5I\n",
341      "params": {
342        "minimum_length": 3
343      },
344      "expected": "@x\nGAK\n+\nI!5\n"
345    },
346    {
347      "operator": "seqtk_telo",
348      "reference_command": [
349        "seqtk",
350        "telo",
351        "-m",
352        "AC",
353        "-s",
354        "1",
355        "-d",
356        "2",
357        "<input>"
358      ],
359      "data": ">x\nNYGMMCGAKY\n",
360      "params": {
361        "motif": "AC",
362        "minimum_score": 1,
363        "max_drop": 2
364      },
365      "expected": ""
366    },
367    {
368      "operator": "seqtk_comp",
369      "reference_command": [
370        "seqtk",
371        "comp",
372        "<input>"
373      ],
374      "data": ">x\nYGKSAKTKSNK\n",
375      "params": {},
376      "expected": "x\t11\t1\t0\t1\t1\t7\t0\t1\t2\t6\t1\t1\n"
377    },
378    {
379      "operator": "seqtk_listhet",
380      "reference_command": [
381        "seqtk",
382        "listhet",
383        "<input>"
384      ],
385      "data": ">x\nYGKSAKTKSNK\n",
386      "params": {},
387      "expected": "x\t1\tY\nx\t3\tK\nx\t4\tS\nx\t6\tK\nx\t8\tK\nx\t9\tS\nx\t11\tK\n"
388    },
389    {
390      "operator": "seqtk_hety",
391      "reference_command": [
392        "seqtk",
393        "hety",
394        "-w",
395        "4",
396        "-t",
397        "2",
398        "<input>"
399      ],
400      "data": ">x\nYGKSAKTKSNK\n",
401      "params": {
402        "window": 4,
403        "starts": 2
404      },
405      "expected": "x\t0\t4\t3.00\t4\t3\nx\t4\t6\t3.00\t4\t3\nx\t6\t8\t2.00\t4\t2\nx\t8\t10\t2.67\t3\t2\nx\t10\t11\t4.00\t1\t1\n"
406    },
407    {
408      "operator": "seqtk_cutN",
409      "reference_command": [
410        "seqtk",
411        "cutN",
412        "-n",
413        "3",
414        "-p",
415        "2",
416        "<input>"
417      ],
418      "data": ">x\nYGKSAKTKSNK\n",
419      "params": {
420        "penalty": 2
421      },
422      "expected": ">x:1-11\nYGKSAKTKSNK\n"
423    },
424    {
425      "operator": "seqtk_trimfq",
426      "reference_command": [
427        "seqtk",
428        "trimfq",
429        "-l",
430        "3",
431        "<input>"
432      ],
433      "data": "@x\nYGKSAKTKSNK\n+\n5II5I555!!5\n",
434      "params": {
435        "minimum_length": 3
436      },
437      "expected": "@x\nYGKSAKTK\n+\n5II5I555\n"
438    },
439    {
440      "operator": "seqtk_telo",
441      "reference_command": [
442        "seqtk",
443        "telo",
444        "-m",
445        "AC",
446        "-s",
447        "1",
448        "-d",
449        "2",
450        "<input>"
451      ],
452      "data": ">x\nYGKSAKTKSNK\n",
453      "params": {
454        "motif": "AC",
455        "minimum_score": 1,
456        "max_drop": 2
457      },
458      "expected": ""
459    },
460    {
461      "operator": "seqtk_comp",
462      "reference_command": [
463        "seqtk",
464        "comp",
465        "<input>"
466      ],
467      "data": ">x\nMYNTYSWKNGAM\n",
468      "params": {},
469      "expected": "x\t12\t1\t0\t1\t1\t7\t0\t2\t0\t5\t2\t0\n"
470    },
471    {
472      "operator": "seqtk_listhet",
473      "reference_command": [
474        "seqtk",
475        "listhet",
476        "<input>"
477      ],
478      "data": ">x\nMYNTYSWKNGAM\n",
479      "params": {},
480      "expected": "x\t1\tM\nx\t2\tY\nx\t5\tY\nx\t6\tS\nx\t7\tW\nx\t8\tK\nx\t12\tM\n"
481    },
482    {
483      "operator": "seqtk_hety",
484      "reference_command": [
485        "seqtk",
486        "hety",
487        "-w",
488        "4",
489        "-t",
490        "2",
491        "<input>"
492      ],
493      "data": ">x\nMYNTYSWKNGAM\n",
494      "params": {
495        "window": 4,
496        "starts": 2
497      },
498      "expected": "x\t0\t4\t2.67\t3\t2\nx\t4\t6\t2.67\t3\t2\nx\t6\t8\t4.00\t4\t4\nx\t8\t10\t2.67\t3\t2\nx\t10\t12\t2.00\t2\t1\n"
499    },
500    {
501      "operator": "seqtk_cutN",
502      "reference_command": [
503        "seqtk",
504        "cutN",
505        "-n",
506        "3",
507        "-p",
508        "2",
509        "<input>"
510      ],
511      "data": ">x\nMYNTYSWKNGAM\n",
512      "params": {
513        "penalty": 2
514      },
515      "expected": ">x:1-12\nMYNTYSWKNGAM\n"
516    },
517    {
518      "operator": "seqtk_trimfq",
519      "reference_command": [
520        "seqtk",
521        "trimfq",
522        "-l",
523        "3",
524        "<input>"
525      ],
526      "data": "@x\nMYNTYSWKNGAM\n+\nI5!!5II!I!I!\n",
527      "params": {
528        "minimum_length": 3
529      },
530      "expected": "@x\nYSW\n+\n5II\n"
531    },
532    {
533      "operator": "seqtk_telo",
534      "reference_command": [
535        "seqtk",
536        "telo",
537        "-m",
538        "AC",
539        "-s",
540        "1",
541        "-d",
542        "2",
543        "<input>"
544      ],
545      "data": ">x\nMYNTYSWKNGAM\n",
546      "params": {
547        "motif": "AC",
548        "minimum_score": 1,
549        "max_drop": 2
550      },
551      "expected": ""
552    },
553    {
554      "operator": "seqtk_comp",
555      "reference_command": [
556        "seqtk",
557        "comp",
558        "<input>"
559      ],
560      "data": ">x\nNSKTMKRRWACWT\n",
561      "params": {},
562      "expected": "x\t13\t1\t1\t0\t2\t8\t0\t1\t0\t6\t2\t0\n"
563    },
564    {
565      "operator": "seqtk_listhet",
566      "reference_command": [
567        "seqtk",
568        "listhet",
569        "<input>"
570      ],
571      "data": ">x\nNSKTMKRRWACWT\n",
572      "params": {},
573      "expected": "x\t2\tS\nx\t3\tK\nx\t5\tM\nx\t6\tK\nx\t7\tR\nx\t8\tR\nx\t9\tW\nx\t12\tW\n"
574    },
575    {
576      "operator": "seqtk_hety",
577      "reference_command": [
578        "seqtk",
579        "hety",
580        "-w",
581        "4",
582        "-t",
583        "2",
584        "<input>"
585      ],
586      "data": ">x\nNSKTMKRRWACWT\n",
587      "params": {
588        "window": 4,
589        "starts": 2
590      },
591      "expected": "x\t0\t4\t2.67\t3\t2\nx\t4\t6\t3.00\t4\t3\nx\t6\t8\t4.00\t4\t4\nx\t8\t10\t3.00\t4\t3\nx\t10\t12\t2.00\t4\t2\nx\t12\t13\t0.00\t1\t0\n"
592    },
593    {
594      "operator": "seqtk_cutN",
595      "reference_command": [
596        "seqtk",
597        "cutN",
598        "-n",
599        "3",
600        "-p",
601        "2",
602        "<input>"
603      ],
604      "data": ">x\nNSKTMKRRWACWT\n",
605      "params": {
606        "penalty": 2
607      },
608      "expected": ">x:1-13\nNSKTMKRRWACWT\n"
609    },
610    {
611      "operator": "seqtk_trimfq",
612      "reference_command": [
613        "seqtk",
614        "trimfq",
615        "-l",
616        "3",
617        "<input>"
618      ],
619      "data": "@x\nNSKTMKRRWACWT\n+\nI!II!!5I!5II!\n",
620      "params": {
621        "minimum_length": 3
622      },
623      "expected": "@x\nACW\n+\n5II\n"
624    },
625    {
626      "operator": "seqtk_telo",
627      "reference_command": [
628        "seqtk",
629        "telo",
630        "-m",
631        "AC",
632        "-s",
633        "1",
634        "-d",
635        "2",
636        "<input>"
637      ],
638      "data": ">x\nNSKTMKRRWACWT\n",
639      "params": {
640        "motif": "AC",
641        "minimum_score": 1,
642        "max_drop": 2
643      },
644      "expected": ""
645    },
646    {
647      "operator": "seqtk_comp",
648      "reference_command": [
649        "seqtk",
650        "comp",
651        "<input>"
652      ],
653      "data": ">x\nKMMWSAWGAWATTG\n",
654      "params": {},
655      "expected": "x\t14\t3\t0\t2\t2\t7\t0\t0\t0\t7\t0\t0\n"
656    },
657    {
658      "operator": "seqtk_listhet",
659      "reference_command": [
660        "seqtk",
661        "listhet",
662        "<input>"
663      ],
664      "data": ">x\nKMMWSAWGAWATTG\n",
665      "params": {},
666      "expected": "x\t1\tK\nx\t2\tM\nx\t3\tM\nx\t4\tW\nx\t5\tS\nx\t7\tW\nx\t10\tW\n"
667    },
668    {
669      "operator": "seqtk_hety",
670      "reference_command": [
671        "seqtk",
672        "hety",
673        "-w",
674        "4",
675        "-t",
676        "2",
677        "<input>"
678      ],
679      "data": ">x\nKMMWSAWGAWATTG\n",
680      "params": {
681        "window": 4,
682        "starts": 2
683      },
684      "expected": "x\t0\t4\t4.00\t4\t4\nx\t4\t6\t3.00\t4\t3\nx\t6\t8\t2.00\t4\t2\nx\t8\t10\t2.00\t4\t2\nx\t10\t12\t1.00\t4\t1\nx\t12\t14\t0.00\t2\t0\n"
685    },
686    {
687      "operator": "seqtk_cutN",
688      "reference_command": [
689        "seqtk",
690        "cutN",
691        "-n",
692        "3",
693        "-p",
694        "2",
695        "<input>"
696      ],
697      "data": ">x\nKMMWSAWGAWATTG\n",
698      "params": {
699        "penalty": 2
700      },
701      "expected": ">x:1-14\nKMMWSAWGAWATTG\n"
702    },
703    {
704      "operator": "seqtk_trimfq",
705      "reference_command": [
706        "seqtk",
707        "trimfq",
708        "-l",
709        "3",
710        "<input>"
711      ],
712      "data": "@x\nKMMWSAWGAWATTG\n+\n!!!!I!!5!II5!I\n",
713      "params": {
714        "minimum_length": 3
715      },
716      "expected": "@x\nWAT\n+\nII5\n"
717    },
718    {
719      "operator": "seqtk_telo",
720      "reference_command": [
721        "seqtk",
722        "telo",
723        "-m",
724        "AC",
725        "-s",
726        "1",
727        "-d",
728        "2",
729        "<input>"
730      ],
731      "data": ">x\nKMMWSAWGAWATTG\n",
732      "params": {
733        "motif": "AC",
734        "minimum_score": 1,
735        "max_drop": 2
736      },
737      "expected": "x\t12\t14\t14\n"
738    },
739    {
740      "operator": "seqtk_comp",
741      "reference_command": [
742        "seqtk",
743        "comp",
744        "<input>"
745      ],
746      "data": ">x\nYWWRWSTKKNYGTYC\n",
747      "params": {},
748      "expected": "x\t15\t0\t1\t1\t2\t10\t0\t1\t2\t6\t4\t1\n"
749    },
750    {
751      "operator": "seqtk_listhet",
752      "reference_command": [
753        "seqtk",
754        "listhet",
755        "<input>"
756      ],
757      "data": ">x\nYWWRWSTKKNYGTYC\n",
758      "params": {},
759      "expected": "x\t1\tY\nx\t2\tW\nx\t3\tW\nx\t4\tR\nx\t5\tW\nx\t6\tS\nx\t8\tK\nx\t9\tK\nx\t11\tY\nx\t14\tY\n"
760    },
761    {
762      "operator": "seqtk_hety",
763      "reference_command": [
764        "seqtk",
765        "hety",
766        "-w",
767        "4",
768        "-t",
769        "2",
770        "<input>"
771      ],
772      "data": ">x\nYWWRWSTKKNYGTYC\n",
773      "params": {
774        "window": 4,
775        "starts": 2
776      },
777      "expected": "x\t0\t4\t4.00\t4\t4\nx\t4\t6\t4.00\t4\t4\nx\t6\t8\t3.00\t4\t3\nx\t8\t10\t2.67\t3\t2\nx\t10\t12\t2.67\t3\t2\nx\t12\t14\t2.00\t4\t2\nx\t14\t15\t0.00\t1\t0\n"
778    },
779    {
780      "operator": "seqtk_cutN",
781      "reference_command": [
782        "seqtk",
783        "cutN",
784        "-n",
785        "3",
786        "-p",
787        "2",
788        "<input>"
789      ],
790      "data": ">x\nYWWRWSTKKNYGTYC\n",
791      "params": {
792        "penalty": 2
793      },
794      "expected": ">x:1-15\nYWWRWSTKKNYGTYC\n"
795    },
796    {
797      "operator": "seqtk_trimfq",
798      "reference_command": [
799        "seqtk",
800        "trimfq",
801        "-l",
802        "3",
803        "<input>"
804      ],
805      "data": "@x\nYWWRWSTKKNYGTYC\n+\nI555I!!!!55!55!\n",
806      "params": {
807        "minimum_length": 3
808      },
809      "expected": "@x\nYWWRW\n+\nI555I\n"
810    },
811    {
812      "operator": "seqtk_telo",
813      "reference_command": [
814        "seqtk",
815        "telo",
816        "-m",
817        "AC",
818        "-s",
819        "1",
820        "-d",
821        "2",
822        "<input>"
823      ],
824      "data": ">x\nYWWRWSTKKNYGTYC\n",
825      "params": {
826        "motif": "AC",
827        "minimum_score": 1,
828        "max_drop": 2
829      },
830      "expected": ""
831    },
832    {
833      "operator": "seqtk_comp",
834      "reference_command": [
835        "seqtk",
836        "comp",
837        "<input>"
838      ],
839      "data": ">x\nASNTYAMCTNMMMACK\n",
840      "params": {},
841      "expected": "x\t16\t3\t2\t0\t2\t7\t0\t2\t0\t6\t1\t0\n"
842    },
843    {
844      "operator": "seqtk_listhet",
845      "reference_command": [
846        "seqtk",
847        "listhet",
848        "<input>"
849      ],
850      "data": ">x\nASNTYAMCTNMMMACK\n",
851      "params": {},
852      "expected": "x\t2\tS\nx\t5\tY\nx\t7\tM\nx\t11\tM\nx\t12\tM\nx\t13\tM\nx\t16\tK\n"
853    },
854    {
855      "operator": "seqtk_hety",
856      "reference_command": [
857        "seqtk",
858        "hety",
859        "-w",
860        "4",
861        "-t",
862        "2",
863        "<input>"
864      ],
865      "data": ">x\nASNTYAMCTNMMMACK\n",
866      "params": {
867        "window": 4,
868        "starts": 2
869      },
870      "expected": "x\t0\t4\t1.33\t3\t1\nx\t4\t6\t1.33\t3\t1\nx\t6\t8\t2.00\t4\t2\nx\t8\t10\t1.33\t3\t1\nx\t10\t12\t2.67\t3\t2\nx\t12\t14\t3.00\t4\t3\nx\t14\t16\t2.00\t2\t1\n"
871    },
872    {
873      "operator": "seqtk_cutN",
874      "reference_command": [
875        "seqtk",
876        "cutN",
877        "-n",
878        "3",
879        "-p",
880        "2",
881        "<input>"
882      ],
883      "data": ">x\nASNTYAMCTNMMMACK\n",
884      "params": {
885        "penalty": 2
886      },
887      "expected": ">x:1-16\nASNTYAMCTNMMMACK\n"
888    },
889    {
890      "operator": "seqtk_trimfq",
891      "reference_command": [
892        "seqtk",
893        "trimfq",
894        "-l",
895        "3",
896        "<input>"
897      ],
898      "data": "@x\nASNTYAMCTNMMMACK\n+\n55I5!I!!!II5I!!I\n",
899      "params": {
900        "minimum_length": 3
901      },
902      "expected": "@x\nNMMM\n+\nII5I\n"
903    },
904    {
905      "operator": "seqtk_telo",
906      "reference_command": [
907        "seqtk",
908        "telo",
909        "-m",
910        "AC",
911        "-s",
912        "1",
913        "-d",
914        "2",
915        "<input>"
916      ],
917      "data": ">x\nASNTYAMCTNMMMACK\n",
918      "params": {
919        "motif": "AC",
920        "minimum_score": 1,
921        "max_drop": 2
922      },
923      "expected": ""
924    },
925    {
926      "operator": "seqtk_comp",
927      "reference_command": [
928        "seqtk",
929        "comp",
930        "<input>"
931      ],
932      "data": ">x\nAMARSYGYYWTTGKKSN\n",
933      "params": {},
934      "expected": "x\t17\t2\t0\t2\t2\t10\t0\t1\t2\t6\t4\t1\n"
935    },
936    {
937      "operator": "seqtk_listhet",
938      "reference_command": [
939        "seqtk",
940        "listhet",
941        "<input>"
942      ],
943      "data": ">x\nAMARSYGYYWTTGKKSN\n",
944      "params": {},
945      "expected": "x\t2\tM\nx\t4\tR\nx\t5\tS\nx\t6\tY\nx\t8\tY\nx\t9\tY\nx\t10\tW\nx\t14\tK\nx\t15\tK\nx\t16\tS\n"
946    },
947    {
948      "operator": "seqtk_hety",
949      "reference_command": [
950        "seqtk",
951        "hety",
952        "-w",
953        "4",
954        "-t",
955        "2",
956        "<input>"
957      ],
958      "data": ">x\nAMARSYGYYWTTGKKSN\n",
959      "params": {
960        "window": 4,
961        "starts": 2
962      },
963      "expected": "x\t0\t4\t2.00\t4\t2\nx\t4\t6\t3.00\t4\t3\nx\t6\t8\t3.00\t4\t3\nx\t8\t10\t3.00\t4\t3\nx\t10\t12\t2.00\t4\t2\nx\t12\t14\t1.00\t4\t1\nx\t14\t16\t3.00\t4\t3\n"
964    },
965    {
966      "operator": "seqtk_cutN",
967      "reference_command": [
968        "seqtk",
969        "cutN",
970        "-n",
971        "3",
972        "-p",
973        "2",
974        "<input>"
975      ],
976      "data": ">x\nAMARSYGYYWTTGKKSN\n",
977      "params": {
978        "penalty": 2
979      },
980      "expected": ">x:1-17\nAMARSYGYYWTTGKKSN\n"
981    },
982    {
983      "operator": "seqtk_trimfq",
984      "reference_command": [
985        "seqtk",
986        "trimfq",
987        "-l",
988        "3",
989        "<input>"
990      ],
991      "data": "@x\nAMARSYGYYWTTGKKSN\n+\n!I5II!5III!I5!!II\n",
992      "params": {
993        "minimum_length": 3
994      },
995      "expected": "@x\nMARS\n+\nI5II\n"
996    },
997    {
998      "operator": "seqtk_telo",
999      "reference_command": [
1000        "seqtk",
1001        "telo",
1002        "-m",
1003        "AC",
1004        "-s",
1005        "1",
1006        "-d",
1007        "2",
1008        "<input>"
1009      ],
1010      "data": ">x\nAMARSYGYYWTTGKKSN\n",
1011      "params": {
1012        "motif": "AC",
1013        "minimum_score": 1,
1014        "max_drop": 2
1015      },
1016      "expected": ""
1017    },
1018    {
1019      "operator": "seqtk_comp",
1020      "reference_command": [
1021        "seqtk",
1022        "comp",
1023        "<input>"
1024      ],
1025      "data": ">x\nTAYWYRCCAWYAKGWCCN\n",
1026      "params": {},
1027      "expected": "x\t18\t3\t4\t1\t1\t8\t0\t1\t2\t4\t4\t2\n"
1028    },
1029    {
1030      "operator": "seqtk_listhet",
1031      "reference_command": [
1032        "seqtk",
1033        "listhet",
1034        "<input>"
1035      ],
1036      "data": ">x\nTAYWYRCCAWYAKGWCCN\n",
1037      "params": {},
1038      "expected": "x\t3\tY\nx\t4\tW\nx\t5\tY\nx\t6\tR\nx\t10\tW\nx\t11\tY\nx\t13\tK\nx\t15\tW\n"
1039    },
1040    {
1041      "operator": "seqtk_hety",
1042      "reference_command": [
1043        "seqtk",
1044        "hety",
1045        "-w",
1046        "4",
1047        "-t",
1048        "2",
1049        "<input>"
1050      ],
1051      "data": ">x\nTAYWYRCCAWYAKGWCCN\n",
1052      "params": {
1053        "window": 4,
1054        "starts": 2
1055      },
1056      "expected": "x\t0\t4\t2.00\t4\t2\nx\t4\t6\t4.00\t4\t4\nx\t6\t8\t2.00\t4\t2\nx\t8\t10\t1.00\t4\t1\nx\t10\t12\t2.00\t4\t2\nx\t12\t14\t2.00\t4\t2\nx\t14\t16\t2.00\t4\t2\nx\t16\t18\t0.00\t1\t0\n"
1057    },
1058    {
1059      "operator": "seqtk_cutN",
1060      "reference_command": [
1061        "seqtk",
1062        "cutN",
1063        "-n",
1064        "3",
1065        "-p",
1066        "2",
1067        "<input>"
1068      ],
1069      "data": ">x\nTAYWYRCCAWYAKGWCCN\n",
1070      "params": {
1071        "penalty": 2
1072      },
1073      "expected": ">x:1-18\nTAYWYRCCAWYAKGWCCN\n"
1074    },
1075    {
1076      "operator": "seqtk_trimfq",
1077      "reference_command": [
1078        "seqtk",
1079        "trimfq",
1080        "-l",
1081        "3",
1082        "<input>"
1083      ],
1084      "data": "@x\nTAYWYRCCAWYAKGWCCN\n+\nII!II!!II!!5II5II!\n",
1085      "params": {
1086        "minimum_length": 3
1087      },
1088      "expected": "@x\nAKGWCC\n+\n5II5II\n"
1089    },
1090    {
1091      "operator": "seqtk_telo",
1092      "reference_command": [
1093        "seqtk",
1094        "telo",
1095        "-m",
1096        "AC",
1097        "-s",
1098        "1",
1099        "-d",
1100        "2",
1101        "<input>"
1102      ],
1103      "data": ">x\nTAYWYRCCAWYAKGWCCN\n",
1104      "params": {
1105        "motif": "AC",
1106        "minimum_score": 1,
1107        "max_drop": 2
1108      },
1109      "expected": ""
1110    },
1111    {
1112      "operator": "seqtk_comp",
1113      "reference_command": [
1114        "seqtk",
1115        "comp",
1116        "<input>"
1117      ],
1118      "data": ">x\nMWRCMWNTRTAATSCSCGW\n",
1119      "params": {},
1120      "expected": "x\t19\t2\t3\t1\t3\t9\t0\t1\t2\t7\t2\t0\n"
1121    },
1122    {
1123      "operator": "seqtk_listhet",
1124      "reference_command": [
1125        "seqtk",
1126        "listhet",
1127        "<input>"
1128      ],
1129      "data": ">x\nMWRCMWNTRTAATSCSCGW\n",
1130      "params": {},
1131      "expected": "x\t1\tM\nx\t2\tW\nx\t3\tR\nx\t5\tM\nx\t6\tW\nx\t9\tR\nx\t14\tS\nx\t16\tS\nx\t19\tW\n"
1132    },
1133    {
1134      "operator": "seqtk_hety",
1135      "reference_command": [
1136        "seqtk",
1137        "hety",
1138        "-w",
1139        "4",
1140        "-t",
1141        "2",
1142        "<input>"
1143      ],
1144      "data": ">x\nMWRCMWNTRTAATSCSCGW\n",
1145      "params": {
1146        "window": 4,
1147        "starts": 2
1148      },
1149      "expected": "x\t0\t4\t3.00\t4\t3\nx\t4\t6\t3.00\t4\t3\nx\t6\t8\t2.67\t3\t2\nx\t8\t10\t1.33\t3\t1\nx\t10\t12\t1.00\t4\t1\nx\t12\t14\t1.00\t4\t1\nx\t14\t16\t2.00\t4\t2\nx\t16\t18\t1.00\t4\t1\nx\t18\t19\t4.00\t1\t1\n"
1150    },
1151    {
1152      "operator": "seqtk_cutN",
1153      "reference_command": [
1154        "seqtk",
1155        "cutN",
1156        "-n",
1157        "3",
1158        "-p",
1159        "2",
1160        "<input>"
1161      ],
1162      "data": ">x\nMWRCMWNTRTAATSCSCGW\n",
1163      "params": {
1164        "penalty": 2
1165      },
1166      "expected": ">x:1-19\nMWRCMWNTRTAATSCSCGW\n"
1167    },
1168    {
1169      "operator": "seqtk_trimfq",
1170      "reference_command": [
1171        "seqtk",
1172        "trimfq",
1173        "-l",
1174        "3",
1175        "<input>"
1176      ],
1177      "data": "@x\nMWRCMWNTRTAATSCSCGW\n+\nI!I55I5!5!III5!III!\n",
1178      "params": {
1179        "minimum_length": 3
1180      },
1181      "expected": "@x\nRCMWN\n+\nI55I5\n"
1182    },
1183    {
1184      "operator": "seqtk_telo",
1185      "reference_command": [
1186        "seqtk",
1187        "telo",
1188        "-m",
1189        "AC",
1190        "-s",
1191        "1",
1192        "-d",
1193        "2",
1194        "<input>"
1195      ],
1196      "data": ">x\nMWRCMWNTRTAATSCSCGW\n",
1197      "params": {
1198        "motif": "AC",
1199        "minimum_score": 1,
1200        "max_drop": 2
1201      },
1202      "expected": ""
1203    }
1204  ]
1205}