upstream-emboss-cases.json
1{
2 "reference": "EMBOSS 6.6.0.0 Debian 6.6.0+dfsg-12ubuntu2",
3 "cases": [
4 {
5 "operator": "emboss_biosed",
6 "data": ">x\nACGT\n",
7 "params": {},
8 "expected": ">x\nATTT\n",
9 "native_output": ">x\nATTT\n",
10 "reference_command": [
11 "biosed",
12 "-sequence",
13 "<input>",
14 "-outseq",
15 "<output>",
16 "-osformat",
17 "fasta",
18 "-auto",
19 "-target",
20 "CG",
21 "-replace",
22 "TT"
23 ],
24 "normalization": "Compare sequence content; documented headers and unwrapped FASTA formatting normalized. Native residue casing retained where contract specifies it."
25 },
26 {
27 "operator": "emboss_cutseq",
28 "data": ">x\nACGT\n",
29 "params": {},
30 "expected": ">x\nAT\n",
31 "native_output": ">x\nAT\n",
32 "reference_command": [
33 "cutseq",
34 "-sequence",
35 "<input>",
36 "-outseq",
37 "<output>",
38 "-osformat",
39 "fasta",
40 "-auto",
41 "-from",
42 "2",
43 "-to",
44 "3"
45 ],
46 "normalization": "Compare sequence content; documented headers and unwrapped FASTA formatting normalized. Native residue casing retained where contract specifies it."
47 },
48 {
49 "operator": "emboss_degapseq",
50 "data": ">x\nAC-.GT\n",
51 "params": {},
52 "expected": ">x\nACGT\n",
53 "native_output": ">x\nACGT\n",
54 "reference_command": [
55 "degapseq",
56 "-sequence",
57 "<input>",
58 "-outseq",
59 "<output>",
60 "-osformat",
61 "fasta",
62 "-auto"
63 ],
64 "normalization": "Compare sequence content; documented headers and unwrapped FASTA formatting normalized. Native residue casing retained where contract specifies it."
65 },
66 {
67 "operator": "emboss_descseq",
68 "data": ">x old\nACGT\n",
69 "params": {},
70 "expected": ">x edited\nACGT\n",
71 "native_output": ">x edited\nACGT\n",
72 "reference_command": [
73 "descseq",
74 "-sequence",
75 "<input>",
76 "-outseq",
77 "<output>",
78 "-osformat",
79 "fasta",
80 "-auto",
81 "-name",
82 "x",
83 "-description",
84 "edited",
85 "-append",
86 "N"
87 ],
88 "normalization": "Compare sequence content; documented headers and unwrapped FASTA formatting normalized. Native residue casing retained where contract specifies it."
89 },
90 {
91 "operator": "emboss_extractseq",
92 "data": ">x\nACGT\n",
93 "params": {},
94 "expected": ">x\nCG\n",
95 "native_output": ">x\nCG\n",
96 "reference_command": [
97 "extractseq",
98 "-sequence",
99 "<input>",
100 "-outseq",
101 "<output>",
102 "-osformat",
103 "fasta",
104 "-auto",
105 "-regions",
106 "2-3",
107 "-separate",
108 "N"
109 ],
110 "normalization": "Compare sequence content; documented headers and unwrapped FASTA formatting normalized. Native residue casing retained where contract specifies it."
111 },
112 {
113 "operator": "emboss_maskseq",
114 "data": ">x\nACGT\n",
115 "params": {},
116 "expected": ">x\nANNT\n",
117 "native_output": ">x\nANNT\n",
118 "reference_command": [
119 "maskseq",
120 "-sequence",
121 "<input>",
122 "-outseq",
123 "<output>",
124 "-osformat",
125 "fasta",
126 "-auto",
127 "-regions",
128 "2-3",
129 "-tolower",
130 "N",
131 "-maskchar",
132 "N"
133 ],
134 "normalization": "Compare sequence content; documented headers and unwrapped FASTA formatting normalized. Native residue casing retained where contract specifies it."
135 },
136 {
137 "operator": "emboss_notseq",
138 "data": ">x\nAC\n>y\nGT\n",
139 "params": {},
140 "expected": ">y\nGT\n",
141 "native_output": ">y\nGT\n",
142 "reference_command": [
143 "notseq",
144 "-sequence",
145 "<input>",
146 "-outseq",
147 "<output>",
148 "-osformat",
149 "fasta",
150 "-auto",
151 "-exclude",
152 "x"
153 ],
154 "normalization": "Compare sequence content; documented headers and unwrapped FASTA formatting normalized. Native residue casing retained where contract specifies it."
155 },
156 {
157 "operator": "emboss_nthseq",
158 "data": ">x\nAC\n>y\nGT\n",
159 "params": {},
160 "expected": ">y\nGT\n",
161 "native_output": ">y\nGT\n",
162 "reference_command": [
163 "nthseq",
164 "-sequence",
165 "<input>",
166 "-outseq",
167 "<output>",
168 "-osformat",
169 "fasta",
170 "-auto",
171 "-number",
172 "2"
173 ],
174 "normalization": "Compare sequence content; documented headers and unwrapped FASTA formatting normalized. Native residue casing retained where contract specifies it."
175 },
176 {
177 "operator": "emboss_skipseq",
178 "data": ">x\nAC\n>y\nGT\n",
179 "params": {},
180 "expected": ">y\nGT\n",
181 "native_output": ">y\nGT\n",
182 "reference_command": [
183 "skipseq",
184 "-sequence",
185 "<input>",
186 "-outseq",
187 "<output>",
188 "-osformat",
189 "fasta",
190 "-auto",
191 "-skip",
192 "1"
193 ],
194 "normalization": "Compare sequence content; documented headers and unwrapped FASTA formatting normalized. Native residue casing retained where contract specifies it."
195 },
196 {
197 "operator": "emboss_trimseq",
198 "data": ">x\nNNACGTNN\n",
199 "params": {},
200 "expected": ">x\nACGT\n",
201 "native_output": ">x\nACGT\n",
202 "reference_command": [
203 "trimseq",
204 "-sequence",
205 "<input>",
206 "-outseq",
207 "<output>",
208 "-osformat",
209 "fasta",
210 "-auto",
211 "-window",
212 "1",
213 "-percent",
214 "100",
215 "-strict",
216 "Y",
217 "-star",
218 "N",
219 "-left",
220 "Y",
221 "-right",
222 "Y"
223 ],
224 "normalization": "Compare sequence content; documented headers and unwrapped FASTA formatting normalized. Native residue casing retained where contract specifies it."
225 },
226 {
227 "operator": "emboss_transeq",
228 "data": ">x\nATGAAA\n",
229 "params": {},
230 "expected": ">x_1\nMK\n>x_2\n*\n>x_3\nE\n>x_-1\nFH\n>x_-2\nF\n>x_-3\nS\n",
231 "native_output": ">x_1\nMK\n>x_2\n*X\n>x_3\nEX\n>x_4\nFH\n>x_5\nSX\n>x_6\nFX\n",
232 "reference_command": [
233 "transeq",
234 "-sequence",
235 "<input>",
236 "-outseq",
237 "<output>",
238 "-osformat",
239 "fasta",
240 "-auto",
241 "-frame",
242 "6",
243 "-table",
244 "0",
245 "-trim",
246 "N",
247 "-clean",
248 "N"
249 ],
250 "normalization": "Reverse-complement offset order differs from native reverse frame numbering; omit terminal partial-codon X for this unambiguous fixture."
251 },
252 {
253 "operator": "emboss_getorf",
254 "data": ">x\nATGTAA\n",
255 "params": {},
256 "expected": ">x_orf_1 frame=1 start=1 end=3\nM\n>x_orf_2 frame=2 start=2 end=4\nC\n>x_orf_3 frame=3 start=3 end=5\nV\n",
257 "native_output": ">x_1 [2 - 4] \nC\n>x_2 [3 - 5] \nV\n>x_3 [1 - 3] \nM\n",
258 "reference_command": [
259 "getorf",
260 "-sequence",
261 "<input>",
262 "-outseq",
263 "<output>",
264 "-osformat",
265 "fasta",
266 "-auto",
267 "-table",
268 "0",
269 "-minsize",
270 "3",
271 "-maxsize",
272 "100000",
273 "-find",
274 "0",
275 "-reverse",
276 "N",
277 "-circular",
278 "N"
279 ],
280 "normalization": "Compare peptide multiset; adaptation emits frame order 1,2,3 with explicit frame/coordinate headers."
281 }
282 ]
283}