Skip to content

Commit 7d3efaa

Browse files
authored
Update test_junctions_extract.py
1 parent a2e0154 commit 7d3efaa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/integration-test/test_junctions_extract.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_junctions_extract_anchor_stranded(self):
3939
anchor + ".out")[0]
4040
if anchor != "":
4141
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]
4343
rv, err = self.execute(params)
4444
self.assertEqual(rv, 0)
4545
self.assertFilesEqual(expected_file, output_file)
@@ -53,7 +53,7 @@ def test_junctions_extract_anchor(self):
5353
anchor + ".out")[0]
5454
if anchor != "":
5555
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]
5757
rv, err = self.execute(params)
5858
self.assertEqual(rv, 0)
5959
self.assertFilesEqual(expected_file, output_file)
@@ -66,7 +66,7 @@ def test_junctions_extract_intron_size(self):
6666
expected_file = self.inputFiles("junctions-extract/expected-i" +
6767
min_intron + "-I" + max_intron +
6868
".out")[0]
69-
params = ["junctions", "extract", "-s 0", "-o", output_file,
69+
params = ["junctions", "extract", "-s XS", "-o", output_file,
7070
"-m", min_intron, "-M", max_intron, bam1]
7171
rv, err = self.execute(params)
7272
self.assertEqual(rv, 0)
@@ -78,21 +78,21 @@ def test_region(self):
7878
region = "1:22405013-22405020"
7979
expected_file = self.inputFiles("junctions-extract/expected-r" +
8080
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,
8282
bam1]
8383
rv, err = self.execute(params)
8484
self.assertEqual(rv, 0)
8585
self.assertFilesEqual(expected_file, output_file)
8686

8787
def test_no_bam(self):
8888
output_file = self.tempFile("extract.out")
89-
params = ["junctions", "extract", "-s 0", "-o", output_file]
89+
params = ["junctions", "extract", "-s XS", "-o", output_file]
9090
rv, err = self.execute(params)
9191
self.assertEqual(rv, 1)
9292

9393
def test_missing_bam(self):
9494
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"]
9696
rv, err = self.execute(params)
9797
self.assertEqual(rv, 1)
9898

0 commit comments

Comments
 (0)