From 4baa2ffeeb5e4ed369271aab0e42aeb0574e5dc0 Mon Sep 17 00:00:00 2001 From: kedhammar Date: Tue, 4 Jun 2024 07:48:41 +0000 Subject: [PATCH] test wip --- tests/test_anglerfish/test_demux/test_demux.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/test_anglerfish/test_demux/test_demux.py b/tests/test_anglerfish/test_demux/test_demux.py index 2bcf7b7..6b94f20 100644 --- a/tests/test_anglerfish/test_demux/test_demux.py +++ b/tests/test_anglerfish/test_demux/test_demux.py @@ -169,3 +169,17 @@ def test_parse_paf_lines(tmp_demux_path): } assert paf_lines_complex == expected_complex + + +def test_parse_cd(tmp_demux_path): + paf_path = tmp_demux_path / "test.paf" + paf_lines_simple = to_test.parse_paf_lines(paf_path) + + cs = to_test.parse_cs( + cs_string=paf_lines_simple["truseq-read_10_C-index_5G"][1]["cs"], + index="GGGGG", + umi_before=0, + umi_after=0, + ) + + #TODO: Finish this test