@@ -39,7 +39,7 @@ def test_junctions_extract_anchor_stranded(self):
39
39
anchor + ".out" )[0 ]
40
40
if anchor != "" :
41
41
anchor = "-a " + anchor
42
- params = ["junctions" , "extract" , anchor , "-s 1 " , "-o" , output_file , bam1 ]
42
+ params = ["junctions" , "extract" , anchor , "-s RF " , "-o" , output_file , bam1 ]
43
43
rv , err = self .execute (params )
44
44
self .assertEqual (rv , 0 )
45
45
self .assertFilesEqual (expected_file , output_file )
@@ -53,7 +53,7 @@ def test_junctions_extract_anchor(self):
53
53
anchor + ".out" )[0 ]
54
54
if anchor != "" :
55
55
anchor = "-a " + anchor
56
- params = ["junctions" , "extract" , anchor , "-s 0 " , "-o" , output_file , bam1 ]
56
+ params = ["junctions" , "extract" , anchor , "-s XS " , "-o" , output_file , bam1 ]
57
57
rv , err = self .execute (params )
58
58
self .assertEqual (rv , 0 )
59
59
self .assertFilesEqual (expected_file , output_file )
@@ -66,7 +66,7 @@ def test_junctions_extract_intron_size(self):
66
66
expected_file = self .inputFiles ("junctions-extract/expected-i" +
67
67
min_intron + "-I" + max_intron +
68
68
".out" )[0 ]
69
- params = ["junctions" , "extract" , "-s 0 " , "-o" , output_file ,
69
+ params = ["junctions" , "extract" , "-s XS " , "-o" , output_file ,
70
70
"-m" , min_intron , "-M" , max_intron , bam1 ]
71
71
rv , err = self .execute (params )
72
72
self .assertEqual (rv , 0 )
@@ -78,21 +78,21 @@ def test_region(self):
78
78
region = "1:22405013-22405020"
79
79
expected_file = self .inputFiles ("junctions-extract/expected-r" +
80
80
region + ".out" )[0 ]
81
- params = ["junctions" , "extract" , "-s 0 " , "-o" , output_file , "-r" , region ,
81
+ params = ["junctions" , "extract" , "-s XS " , "-o" , output_file , "-r" , region ,
82
82
bam1 ]
83
83
rv , err = self .execute (params )
84
84
self .assertEqual (rv , 0 )
85
85
self .assertFilesEqual (expected_file , output_file )
86
86
87
87
def test_no_bam (self ):
88
88
output_file = self .tempFile ("extract.out" )
89
- params = ["junctions" , "extract" , "-s 0 " , "-o" , output_file ]
89
+ params = ["junctions" , "extract" , "-s XS " , "-o" , output_file ]
90
90
rv , err = self .execute (params )
91
91
self .assertEqual (rv , 1 )
92
92
93
93
def test_missing_bam (self ):
94
94
output_file = self .tempFile ("extract.out" )
95
- params = ["junctions" , "extract" , "-s 0 " , "-o" , output_file , "does_not_exist.bam" ]
95
+ params = ["junctions" , "extract" , "-s XS " , "-o" , output_file , "does_not_exist.bam" ]
96
96
rv , err = self .execute (params )
97
97
self .assertEqual (rv , 1 )
98
98
0 commit comments