Skip to content

Commit 6438780

Browse files
committed
switch from TOML to YAML
1 parent cdb13f7 commit 6438780

6 files changed

Lines changed: 86 additions & 91 deletions

File tree

data_structures/flag_filter.toml

Lines changed: 0 additions & 49 deletions
This file was deleted.

data_structures/flag_filter.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
validate_string_is_12bit_int:
2+
- name: decimal_passes
3+
inputs:
4+
- number: "5"
5+
- name: hexadecimal_passes
6+
inputs:
7+
- number: "0x900"
8+
tests:
9+
stdout:
10+
contains: Input number (0x900) is valid
11+
- name: too_big_hexadecimal_fails
12+
inputs:
13+
- number: "0x1000"
14+
tests:
15+
exit_code: 42
16+
stderr:
17+
contains: Input number (0x1000) is invalid
18+
- name: too_big_decimal_fails
19+
inputs:
20+
- number: "4096"
21+
tests:
22+
exit_code: 42
23+
stderr:
24+
contains:
25+
- Input number (4096) interpreted as decimal
26+
- But number must be less than 4096!
27+
validate_flag_filter:
28+
- name: valid_FlagFilter_passes
29+
inputs:
30+
- flags:
31+
include_if_all: "3"
32+
exclude_if_any: "0xF04"
33+
include_if_any: "03"
34+
exclude_if_all: "4095"
35+
- name: invalid_FlagFilter_fails
36+
inputs:
37+
- flags:
38+
include_if_all: ""
39+
exclude_if_any: this is not a number
40+
include_if_any: "000000000011"
41+
exclude_if_all: "4095"
42+
tests:
43+
should_fail: true

tools/picard.toml

Lines changed: 0 additions & 11 deletions
This file was deleted.

tools/picard.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
merge_sam_files:
2+
- name: Merge works
3+
inputs:
4+
- bams:
5+
- $FIXTURES/test1.bam
6+
- $FIXTURES/test2.bam
7+
- prefix: test.merged
8+
tests:
9+
custom: quickcheck.sh

tools/samtools.toml

Lines changed: 0 additions & 31 deletions
This file was deleted.

tools/samtools.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
bam_to_fastq:
2+
- name: kitchen_sink
3+
inputs:
4+
- bam:
5+
- $FIXTURES/test1.bam
6+
- $FIXTURES/test2.bam
7+
- $FIXTURES/test3.bam
8+
bam_index:
9+
- $FIXTURES/test1.bam.bai
10+
- $FIXTURES/test2.bam.bai
11+
- $FIXTURES/test3.bam.bai
12+
- bitwise_filter:
13+
- include_if_all: "0x0"
14+
exclude_if_any: "0x900"
15+
include_if_any: "0x0"
16+
exclude_if_all: "0x0"
17+
- include_if_all: "00"
18+
exclude_if_any: "0x904"
19+
include_if_any: "3"
20+
exclude_if_all: "0"
21+
- paired_end:
22+
- true
23+
- false
24+
- retain_collated_bam:
25+
- true
26+
- false
27+
- append_read_number:
28+
- true
29+
- false
30+
- output_singletons:
31+
- true
32+
- false
33+
- prefix:
34+
- kitchen_sink_test

0 commit comments

Comments
 (0)