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}