Source code

Download source archive ↓

upstream-nucleotide-cases.json

1{
2  "reference": "EMBOSS6.6, GFF coordinates and FASTA sequence oracle; negative-strand hits ordered by reverse-complement scan, normalized headers",
3  "cases": [
4    {
5      "operator": "emboss_fuzznuc",
6      "data": ">dna\nACGCGTACGT\n",
7      "params": {
8        "pattern": "ACR",
9        "both_strands": true
10      },
11      "expected": "sequence\tstart\tend\tstrand\tmismatches\tmatch\ndna\t1\t3\t+\t0\tACG\ndna\t7\t9\t+\t0\tACG\ndna\t8\t10\t-\t0\tACG\ndna\t4\t6\t-\t0\tACG\n",
12      "native_output": "##gff-version 3\n##sequence-region dna 1 10\n#!Date 2026-11-09\n#!Type DNA\n#!Source-version EMBOSS 6.6.0.0\ndna\tfuzznuc\tnucleotide_motif\t1\t3\t3\t+\t.\tID=dna.1;note=*pat pattern:ACR\ndna\tfuzznuc\tnucleotide_motif\t7\t9\t3\t+\t.\tID=dna.2;note=*pat pattern:ACR\ndna\tfuzznuc\tnucleotide_motif\t4\t6\t3\t-\t.\tID=dna.3;note=*pat pattern:ACR\ndna\tfuzznuc\tnucleotide_motif\t8\t10\t3\t-\t.\tID=dna.4;note=*pat pattern:ACR\n",
13      "reference_command": [
14        "fuzznuc",
15        "-sequence",
16        "<source>",
17        "-pattern",
18        "ACR",
19        "-complement",
20        "Y",
21        "-rformat",
22        "gff",
23        "-outfile",
24        "<output>",
25        "-auto"
26      ]
27    },
28    {
29      "operator": "emboss_fuzznuc",
30      "data": ">dna\nAAAAAAAA\n",
31      "params": {
32        "pattern": "NAA",
33        "both_strands": false
34      },
35      "expected": "sequence\tstart\tend\tstrand\tmismatches\tmatch\ndna\t1\t3\t+\t0\tAAA\ndna\t2\t4\t+\t0\tAAA\ndna\t3\t5\t+\t0\tAAA\ndna\t4\t6\t+\t0\tAAA\ndna\t5\t7\t+\t0\tAAA\ndna\t6\t8\t+\t0\tAAA\n",
36      "native_output": "##gff-version 3\n##sequence-region dna 1 8\n#!Date 2026-11-09\n#!Type DNA\n#!Source-version EMBOSS 6.6.0.0\ndna\tfuzznuc\tnucleotide_motif\t1\t3\t3\t+\t.\tID=dna.1;note=*pat pattern:NAA\ndna\tfuzznuc\tnucleotide_motif\t2\t4\t3\t+\t.\tID=dna.2;note=*pat pattern:NAA\ndna\tfuzznuc\tnucleotide_motif\t3\t5\t3\t+\t.\tID=dna.3;note=*pat pattern:NAA\ndna\tfuzznuc\tnucleotide_motif\t4\t6\t3\t+\t.\tID=dna.4;note=*pat pattern:NAA\ndna\tfuzznuc\tnucleotide_motif\t5\t7\t3\t+\t.\tID=dna.5;note=*pat pattern:NAA\ndna\tfuzznuc\tnucleotide_motif\t6\t8\t3\t+\t.\tID=dna.6;note=*pat pattern:NAA\n",
37      "reference_command": [
38        "fuzznuc",
39        "-sequence",
40        "<source>",
41        "-pattern",
42        "NAA",
43        "-complement",
44        "N",
45        "-rformat",
46        "gff",
47        "-outfile",
48        "<output>",
49        "-auto"
50      ]
51    },
52    {
53      "operator": "emboss_fuzznuc",
54      "data": ">dna\nTGCATGCA\n",
55      "params": {
56        "pattern": "YGC",
57        "both_strands": true
58      },
59      "expected": "sequence\tstart\tend\tstrand\tmismatches\tmatch\ndna\t1\t3\t+\t0\tTGC\ndna\t5\t7\t+\t0\tTGC\ndna\t6\t8\t-\t0\tTGC\ndna\t2\t4\t-\t0\tTGC\n",
60      "native_output": "##gff-version 3\n##sequence-region dna 1 8\n#!Date 2026-11-09\n#!Type DNA\n#!Source-version EMBOSS 6.6.0.0\ndna\tfuzznuc\tnucleotide_motif\t1\t3\t3\t+\t.\tID=dna.1;note=*pat pattern:YGC\ndna\tfuzznuc\tnucleotide_motif\t5\t7\t3\t+\t.\tID=dna.2;note=*pat pattern:YGC\ndna\tfuzznuc\tnucleotide_motif\t2\t4\t3\t-\t.\tID=dna.3;note=*pat pattern:YGC\ndna\tfuzznuc\tnucleotide_motif\t6\t8\t3\t-\t.\tID=dna.4;note=*pat pattern:YGC\n",
61      "reference_command": [
62        "fuzznuc",
63        "-sequence",
64        "<source>",
65        "-pattern",
66        "YGC",
67        "-complement",
68        "Y",
69        "-rformat",
70        "gff",
71        "-outfile",
72        "<output>",
73        "-auto"
74      ]
75    },
76    {
77      "operator": "emboss_pasteseq",
78      "data": ">main\nACGT\n",
79      "inputs": {
80        "reference": ">insert\nTT\n"
81      },
82      "params": {
83        "position": 0
84      },
85      "expected": ">main\nTTACGT\n",
86      "native_output": ">main\nTTACGT\n",
87      "reference_command": [
88        "pasteseq",
89        "-asequence",
90        "<source>",
91        "-bsequence",
92        "<reference>",
93        "-pos",
94        "0",
95        "-outseq",
96        "<output>",
97        "-osformat",
98        "fasta",
99        "-auto"
100      ]
101    },
102    {
103      "operator": "emboss_pasteseq",
104      "data": ">main\nACGT\n",
105      "inputs": {
106        "reference": ">insert\nTT\n"
107      },
108      "params": {
109        "position": 2
110      },
111      "expected": ">main\nACTTGT\n",
112      "native_output": ">main\nACTTGT\n",
113      "reference_command": [
114        "pasteseq",
115        "-asequence",
116        "<source>",
117        "-bsequence",
118        "<reference>",
119        "-pos",
120        "2",
121        "-outseq",
122        "<output>",
123        "-osformat",
124        "fasta",
125        "-auto"
126      ]
127    },
128    {
129      "operator": "emboss_pasteseq",
130      "data": ">main\nACGT\n",
131      "inputs": {
132        "reference": ">insert\nTT\n"
133      },
134      "params": {
135        "position": 4
136      },
137      "expected": ">main\nACGTTT\n",
138      "native_output": ">main\nACGTTT\n",
139      "reference_command": [
140        "pasteseq",
141        "-asequence",
142        "<source>",
143        "-bsequence",
144        "<reference>",
145        "-pos",
146        "4",
147        "-outseq",
148        "<output>",
149        "-osformat",
150        "fasta",
151        "-auto"
152      ]
153    }
154  ]
155}