From fe645c1a9eb300ce1ac957e9ba869f4382e3b60f Mon Sep 17 00:00:00 2001 From: Venkat Malladi <venkat.malladi@utsouthwestern.edu> Date: Sun, 8 Oct 2017 18:38:24 -0500 Subject: [PATCH] Add in place holders for testing trim reads. --- workflow/tests/test_trim_reads.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 workflow/tests/test_trim_reads.py diff --git a/workflow/tests/test_trim_reads.py b/workflow/tests/test_trim_reads.py new file mode 100644 index 0000000..cd15430 --- /dev/null +++ b/workflow/tests/test_trim_reads.py @@ -0,0 +1,17 @@ +#!/usr/bin/env python3 + +import pytest +import os +import gzip + + +def test_trim_reads_singleend(): + # assert os.path.getsize('sample1_R1.fastq.gz') != os.path.getsize('sample1_R1.trim.fastq.gz') + # check the size of the lines using + # a = sum(1 for _ in gzip.open('input_2.small_R1.fastq.gz')) + pass + + +def test_trim_reads_pairedend(): + # Do the same thing for paired end data + pass -- GitLab