File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,49 @@ if [ $basic_operation ]; then
3131 assert_no_stderr
3232fi
3333
34+ sv_chrm=chr4
35+ sv_start=115928730
36+ sv_end=115931875
37+ sv_type=DEL
38+ out_file_name=$func_path " test_max_coverage.png"
39+
40+ rm -f $out_file_name
41+ run max_coverage \
42+ samplot plot \
43+ -c $sv_chrm -s $sv_start -e $sv_end \
44+ -b $bam_1 $bam_2 $bam_3 \
45+ -o $out_file_name \
46+ --max_coverage 50\
47+ -t $sv_type
48+ if [ $max_coverage ]; then
49+ assert_exit_code 0
50+ assert_equal $out_file_name $( ls $out_file_name )
51+ assert_no_stdout
52+ assert_no_stderr
53+ fi
54+
55+ sv_chrm=chr4
56+ sv_start=115928730
57+ sv_end=115931875
58+ sv_type=DEL
59+ out_file_name=$func_path " test_coverage_only.png"
60+
61+ rm -f $out_file_name
62+ run coverage_only \
63+ samplot plot \
64+ -c $sv_chrm -s $sv_start -e $sv_end \
65+ -b $bam_1 \
66+ -o $out_file_name \
67+ --coverage_only \
68+ -t $sv_type
69+ if [ $coverage_only ]; then
70+ assert_exit_code 0
71+ assert_equal $out_file_name $( ls $out_file_name )
72+ assert_no_stdout
73+ assert_no_stderr
74+ fi
75+
76+ out_file_name=$func_path " test_same_yaxis.png"
3477rm -f $out_file_name
3578run same_yaxis \
3679 samplot plot \
You can’t perform that action at this time.
0 commit comments