upstream-paired-interval-cases.json
1{
2 "reference": "614e9a5c5935ab86e873dab9072fbbaf003c1b7e",
3 "cases": [
4 {
5 "operator": "bed_intersect",
6 "data": "chr1\t2\t8\n",
7 "inputs": {
8 "reference": "chr1\t4\t6\t5\n"
9 },
10 "params": {},
11 "expected": "chr1\t4\t6\n",
12 "native_output": "chr1\t4\t6\n",
13 "reference_command": [
14 "bedtools",
15 "intersect"
16 ],
17 "normalization": "Six-decimal numeric output; normalized documented output columns."
18 },
19 {
20 "operator": "bed_intersect",
21 "data": "chr1\t2\t8\n",
22 "inputs": {
23 "reference": "chr1\t0\t2\t2\nchr1\t8\t10\t4\n"
24 },
25 "params": {},
26 "expected": "",
27 "native_output": "",
28 "reference_command": [
29 "bedtools",
30 "intersect"
31 ],
32 "normalization": "Six-decimal numeric output; normalized documented output columns."
33 },
34 {
35 "operator": "bed_intersect",
36 "data": "chr1\t2\t8\n",
37 "inputs": {
38 "reference": "chr1\t0\t5\t2\nchr1\t4\t9\t4\n"
39 },
40 "params": {},
41 "expected": "chr1\t2\t5\nchr1\t4\t8\n",
42 "native_output": "chr1\t2\t5\nchr1\t4\t8\n",
43 "reference_command": [
44 "bedtools",
45 "intersect"
46 ],
47 "normalization": "Six-decimal numeric output; normalized documented output columns."
48 },
49 {
50 "operator": "bed_intersect",
51 "data": "chr1\t2\t8\n",
52 "inputs": {
53 "reference": "chr2\t0\t5\t2\n"
54 },
55 "params": {},
56 "expected": "",
57 "native_output": "",
58 "reference_command": [
59 "bedtools",
60 "intersect"
61 ],
62 "normalization": "Six-decimal numeric output; normalized documented output columns."
63 },
64 {
65 "operator": "bed_subtract",
66 "data": "chr1\t2\t8\n",
67 "inputs": {
68 "reference": "chr1\t4\t6\t5\n"
69 },
70 "params": {},
71 "expected": "chr1\t2\t4\nchr1\t6\t8\n",
72 "native_output": "chr1\t2\t4\nchr1\t6\t8\n",
73 "reference_command": [
74 "bedtools",
75 "subtract"
76 ],
77 "normalization": "Six-decimal numeric output; normalized documented output columns."
78 },
79 {
80 "operator": "bed_subtract",
81 "data": "chr1\t2\t8\n",
82 "inputs": {
83 "reference": "chr1\t0\t2\t2\nchr1\t8\t10\t4\n"
84 },
85 "params": {},
86 "expected": "chr1\t2\t8\n",
87 "native_output": "chr1\t2\t8\n",
88 "reference_command": [
89 "bedtools",
90 "subtract"
91 ],
92 "normalization": "Six-decimal numeric output; normalized documented output columns."
93 },
94 {
95 "operator": "bed_subtract",
96 "data": "chr1\t2\t8\n",
97 "inputs": {
98 "reference": "chr1\t0\t5\t2\nchr1\t4\t9\t4\n"
99 },
100 "params": {},
101 "expected": "",
102 "native_output": "",
103 "reference_command": [
104 "bedtools",
105 "subtract"
106 ],
107 "normalization": "Six-decimal numeric output; normalized documented output columns."
108 },
109 {
110 "operator": "bed_subtract",
111 "data": "chr1\t2\t8\n",
112 "inputs": {
113 "reference": "chr2\t0\t5\t2\n"
114 },
115 "params": {},
116 "expected": "chr1\t2\t8\n",
117 "native_output": "chr1\t2\t8\n",
118 "reference_command": [
119 "bedtools",
120 "subtract"
121 ],
122 "normalization": "Six-decimal numeric output; normalized documented output columns."
123 },
124 {
125 "operator": "bed_window",
126 "data": "chr1\t2\t8\n",
127 "inputs": {
128 "reference": "chr1\t4\t6\t5\n"
129 },
130 "params": {},
131 "expected": "chr1\t2\t8\tchr1\t4\t6\t5\n",
132 "native_output": "chr1\t2\t8\tchr1\t4\t6\t5\n",
133 "reference_command": [
134 "bedtools",
135 "window",
136 "-w",
137 "1000"
138 ],
139 "normalization": "Six-decimal numeric output; normalized documented output columns."
140 },
141 {
142 "operator": "bed_window",
143 "data": "chr1\t2\t8\n",
144 "inputs": {
145 "reference": "chr1\t0\t2\t2\nchr1\t8\t10\t4\n"
146 },
147 "params": {},
148 "expected": "chr1\t2\t8\tchr1\t0\t2\t2\nchr1\t2\t8\tchr1\t8\t10\t4\n",
149 "native_output": "chr1\t2\t8\tchr1\t0\t2\t2\nchr1\t2\t8\tchr1\t8\t10\t4\n",
150 "reference_command": [
151 "bedtools",
152 "window",
153 "-w",
154 "1000"
155 ],
156 "normalization": "Six-decimal numeric output; normalized documented output columns."
157 },
158 {
159 "operator": "bed_window",
160 "data": "chr1\t2\t8\n",
161 "inputs": {
162 "reference": "chr1\t0\t5\t2\nchr1\t4\t9\t4\n"
163 },
164 "params": {},
165 "expected": "chr1\t2\t8\tchr1\t0\t5\t2\nchr1\t2\t8\tchr1\t4\t9\t4\n",
166 "native_output": "chr1\t2\t8\tchr1\t0\t5\t2\nchr1\t2\t8\tchr1\t4\t9\t4\n",
167 "reference_command": [
168 "bedtools",
169 "window",
170 "-w",
171 "1000"
172 ],
173 "normalization": "Six-decimal numeric output; normalized documented output columns."
174 },
175 {
176 "operator": "bed_window",
177 "data": "chr1\t2\t8\n",
178 "inputs": {
179 "reference": "chr2\t0\t5\t2\n"
180 },
181 "params": {},
182 "expected": "",
183 "native_output": "",
184 "reference_command": [
185 "bedtools",
186 "window",
187 "-w",
188 "1000"
189 ],
190 "normalization": "Six-decimal numeric output; normalized documented output columns."
191 },
192 {
193 "operator": "bed_closest",
194 "data": "chr1\t2\t8\n",
195 "inputs": {
196 "reference": "chr1\t4\t6\t5\n"
197 },
198 "params": {},
199 "expected": "chr1\t2\t8\tchr1\t4\t6\t5\t0\n",
200 "native_output": "chr1\t2\t8\tchr1\t4\t6\t5\t0\n",
201 "reference_command": [
202 "bedtools",
203 "closest",
204 "-d"
205 ],
206 "normalization": "Six-decimal numeric output; normalized documented output columns."
207 },
208 {
209 "operator": "bed_closest",
210 "data": "chr1\t2\t8\n",
211 "inputs": {
212 "reference": "chr1\t0\t2\t2\nchr1\t8\t10\t4\n"
213 },
214 "params": {},
215 "expected": "chr1\t2\t8\tchr1\t0\t2\t2\t1\nchr1\t2\t8\tchr1\t8\t10\t4\t1\n",
216 "native_output": "chr1\t2\t8\tchr1\t0\t2\t2\t1\nchr1\t2\t8\tchr1\t8\t10\t4\t1\n",
217 "reference_command": [
218 "bedtools",
219 "closest",
220 "-d"
221 ],
222 "normalization": "Six-decimal numeric output; normalized documented output columns."
223 },
224 {
225 "operator": "bed_closest",
226 "data": "chr1\t2\t8\n",
227 "inputs": {
228 "reference": "chr1\t0\t5\t2\nchr1\t4\t9\t4\n"
229 },
230 "params": {},
231 "expected": "chr1\t2\t8\tchr1\t0\t5\t2\t0\nchr1\t2\t8\tchr1\t4\t9\t4\t0\n",
232 "native_output": "chr1\t2\t8\tchr1\t0\t5\t2\t0\nchr1\t2\t8\tchr1\t4\t9\t4\t0\n",
233 "reference_command": [
234 "bedtools",
235 "closest",
236 "-d"
237 ],
238 "normalization": "Six-decimal numeric output; normalized documented output columns."
239 },
240 {
241 "operator": "bed_closest",
242 "data": "chr1\t2\t8\n",
243 "inputs": {
244 "reference": "chr2\t0\t5\t2\n"
245 },
246 "params": {},
247 "expected": "chr1\t2\t8\t.\t-1\t-1\t-1\n",
248 "native_output": "chr1\t2\t8\t.\t-1\t-1\t.\t-1\n",
249 "reference_command": [
250 "bedtools",
251 "closest",
252 "-d"
253 ],
254 "normalization": "Six-decimal numeric output; normalized documented output columns."
255 },
256 {
257 "operator": "bed_coverage",
258 "data": "chr1\t2\t8\n",
259 "inputs": {
260 "reference": "chr1\t4\t6\t5\n"
261 },
262 "params": {},
263 "expected": "chr1\t2\t8\t1\t2\t6\t0.333333\n",
264 "native_output": "chr1\t2\t8\t1\t2\t6\t0.3333333\n",
265 "reference_command": [
266 "bedtools",
267 "coverage"
268 ],
269 "normalization": "Six-decimal numeric output; normalized documented output columns."
270 },
271 {
272 "operator": "bed_coverage",
273 "data": "chr1\t2\t8\n",
274 "inputs": {
275 "reference": "chr1\t0\t2\t2\nchr1\t8\t10\t4\n"
276 },
277 "params": {},
278 "expected": "chr1\t2\t8\t0\t0\t6\t0.000000\n",
279 "native_output": "chr1\t2\t8\t0\t0\t6\t0.0000000\n",
280 "reference_command": [
281 "bedtools",
282 "coverage"
283 ],
284 "normalization": "Six-decimal numeric output; normalized documented output columns."
285 },
286 {
287 "operator": "bed_coverage",
288 "data": "chr1\t2\t8\n",
289 "inputs": {
290 "reference": "chr1\t0\t5\t2\nchr1\t4\t9\t4\n"
291 },
292 "params": {},
293 "expected": "chr1\t2\t8\t2\t6\t6\t1.000000\n",
294 "native_output": "chr1\t2\t8\t2\t6\t6\t1.0000000\n",
295 "reference_command": [
296 "bedtools",
297 "coverage"
298 ],
299 "normalization": "Six-decimal numeric output; normalized documented output columns."
300 },
301 {
302 "operator": "bed_coverage",
303 "data": "chr1\t2\t8\n",
304 "inputs": {
305 "reference": "chr2\t0\t5\t2\n"
306 },
307 "params": {},
308 "expected": "chr1\t2\t8\t0\t0\t6\t0.000000\n",
309 "native_output": "chr1\t2\t8\t0\t0\t6\t0.0000000\n",
310 "reference_command": [
311 "bedtools",
312 "coverage"
313 ],
314 "normalization": "Six-decimal numeric output; normalized documented output columns."
315 },
316 {
317 "operator": "bed_map",
318 "data": "chr1\t2\t8\n",
319 "inputs": {
320 "reference": "chr1\t4\t6\t5\n"
321 },
322 "params": {},
323 "expected": "chr1\t2\t8\t5.000000\n",
324 "native_output": "chr1\t2\t8\t5\n",
325 "reference_command": [
326 "bedtools",
327 "map",
328 "-c",
329 "4",
330 "-o",
331 "mean"
332 ],
333 "normalization": "Six-decimal numeric output; normalized documented output columns."
334 },
335 {
336 "operator": "bed_map",
337 "data": "chr1\t2\t8\n",
338 "inputs": {
339 "reference": "chr1\t0\t2\t2\nchr1\t8\t10\t4\n"
340 },
341 "params": {},
342 "expected": "chr1\t2\t8\t.\n",
343 "native_output": "chr1\t2\t8\t.\n",
344 "reference_command": [
345 "bedtools",
346 "map",
347 "-c",
348 "4",
349 "-o",
350 "mean"
351 ],
352 "normalization": "Six-decimal numeric output; normalized documented output columns."
353 },
354 {
355 "operator": "bed_map",
356 "data": "chr1\t2\t8\n",
357 "inputs": {
358 "reference": "chr1\t0\t5\t2\nchr1\t4\t9\t4\n"
359 },
360 "params": {},
361 "expected": "chr1\t2\t8\t3.000000\n",
362 "native_output": "chr1\t2\t8\t3\n",
363 "reference_command": [
364 "bedtools",
365 "map",
366 "-c",
367 "4",
368 "-o",
369 "mean"
370 ],
371 "normalization": "Six-decimal numeric output; normalized documented output columns."
372 },
373 {
374 "operator": "bed_map",
375 "data": "chr1\t2\t8\n",
376 "inputs": {
377 "reference": "chr2\t0\t5\t2\n"
378 },
379 "params": {},
380 "expected": "chr1\t2\t8\t.\n",
381 "native_output": "chr1\t2\t8\t.\n",
382 "reference_command": [
383 "bedtools",
384 "map",
385 "-c",
386 "4",
387 "-o",
388 "mean"
389 ],
390 "normalization": "Six-decimal numeric output; normalized documented output columns."
391 },
392 {
393 "operator": "bed_annotate",
394 "data": "chr1\t2\t8\n",
395 "inputs": {
396 "reference": "chr1\t4\t6\t5\n"
397 },
398 "params": {},
399 "expected": "chr1\t2\t8\t1\t0.333333\n",
400 "native_output": "chr1\t2\t8\t1\t0.333333\n",
401 "reference_command": [
402 "bedtools",
403 "annotate",
404 "-both"
405 ],
406 "normalization": "Six-decimal numeric output; normalized documented output columns."
407 },
408 {
409 "operator": "bed_annotate",
410 "data": "chr1\t2\t8\n",
411 "inputs": {
412 "reference": "chr1\t0\t2\t2\nchr1\t8\t10\t4\n"
413 },
414 "params": {},
415 "expected": "chr1\t2\t8\t0\t0.000000\n",
416 "native_output": "chr1\t2\t8\t0\t0.000000\n",
417 "reference_command": [
418 "bedtools",
419 "annotate",
420 "-both"
421 ],
422 "normalization": "Six-decimal numeric output; normalized documented output columns."
423 },
424 {
425 "operator": "bed_annotate",
426 "data": "chr1\t2\t8\n",
427 "inputs": {
428 "reference": "chr1\t0\t5\t2\nchr1\t4\t9\t4\n"
429 },
430 "params": {},
431 "expected": "chr1\t2\t8\t2\t1.000000\n",
432 "native_output": "chr1\t2\t8\t2\t1.000000\n",
433 "reference_command": [
434 "bedtools",
435 "annotate",
436 "-both"
437 ],
438 "normalization": "Six-decimal numeric output; normalized documented output columns."
439 },
440 {
441 "operator": "bed_annotate",
442 "data": "chr1\t2\t8\n",
443 "inputs": {
444 "reference": "chr2\t0\t5\t2\n"
445 },
446 "params": {},
447 "expected": "chr1\t2\t8\t0\t0.000000\n",
448 "native_output": "chr1\t2\t8\t0\t0.000000\n",
449 "reference_command": [
450 "bedtools",
451 "annotate",
452 "-both"
453 ],
454 "normalization": "Six-decimal numeric output; normalized documented output columns."
455 },
456 {
457 "operator": "bed_jaccard",
458 "data": "chr1\t2\t8\n",
459 "inputs": {
460 "reference": "chr1\t4\t6\t5\n"
461 },
462 "params": {},
463 "expected": "intersection\tunion\tjaccard\n2\t6\t0.333333\n",
464 "native_output": "intersection\tunion\tjaccard\tn_intersections\n2\t6\t0.333333\t1\n",
465 "reference_command": [
466 "bedtools",
467 "jaccard"
468 ],
469 "normalization": "Six-decimal numeric output; normalized documented output columns."
470 },
471 {
472 "operator": "bed_jaccard",
473 "data": "chr1\t2\t8\n",
474 "inputs": {
475 "reference": "chr1\t0\t2\t2\nchr1\t8\t10\t4\n"
476 },
477 "params": {},
478 "expected": "intersection\tunion\tjaccard\n0\t10\t0.000000\n",
479 "native_output": "intersection\tunion\tjaccard\tn_intersections\n0\t10\t0\t0\n",
480 "reference_command": [
481 "bedtools",
482 "jaccard"
483 ],
484 "normalization": "Six-decimal numeric output; normalized documented output columns."
485 },
486 {
487 "operator": "bed_jaccard",
488 "data": "chr1\t2\t8\n",
489 "inputs": {
490 "reference": "chr1\t0\t5\t2\nchr1\t4\t9\t4\n"
491 },
492 "params": {},
493 "expected": "intersection\tunion\tjaccard\n6\t9\t0.666667\n",
494 "native_output": "intersection\tunion\tjaccard\tn_intersections\n6\t9\t0.666667\t1\n",
495 "reference_command": [
496 "bedtools",
497 "jaccard"
498 ],
499 "normalization": "Six-decimal numeric output; normalized documented output columns."
500 },
501 {
502 "operator": "bed_jaccard",
503 "data": "chr1\t2\t8\n",
504 "inputs": {
505 "reference": "chr2\t0\t5\t2\n"
506 },
507 "params": {},
508 "expected": "intersection\tunion\tjaccard\n0\t11\t0.000000\n",
509 "native_output": "intersection\tunion\tjaccard\tn_intersections\n0\t11\t0\t0\n",
510 "reference_command": [
511 "bedtools",
512 "jaccard"
513 ],
514 "normalization": "Six-decimal numeric output; normalized documented output columns."
515 }
516 ]
517}