Skip to content
Snippets Groups Projects
Commit a39198b6 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Update path to files to pass tests.

parent d8c9c53b
No related merge requests found
......@@ -6,7 +6,7 @@ import os
def test_map_reads_singleend():
aligned_reads_report = os.path.dirname(os.path.abspath(__file__)) + \
'../output/alignReads/ENCFF646LXU.srt.bam.flagstat.qc'
'/../output/alignReads/ENCFF646LXU.srt.bam.flagstat.qc'
samtools_report = open(aligned_reads_report).readlines()
assert '80795025' in samtools_report[1]
assert '80050072' in samtools_report[5]
......
......@@ -6,11 +6,11 @@ import os
def test_trim_reads_singleend():
raw_fastq = os.path.dirname(os.path.abspath(__file__)) + \
'../../test_data/ENCFF833BLU_fastq.gz'
'/../../test_data/ENCFF833BLU_fastq.gz'
trimmed_fastq = os.path.dirname(os.path.abspath(__file__)) + \
'../output/trimReads/ENCFF833BLU_trimmed.fq.gz'
'/../output/trimReads/ENCFF833BLU_trimmed.fq.gz'
trimmed_fastq_report = os.path.dirname(os.path.abspath(__file__)) + \
'../output/trimReads/ENCFF833BLU.fastq.gz_trimming_report.txt'
'/../output/trimReads/ENCFF833BLU.fastq.gz_trimming_report.txt'
assert os.path.getsize(raw_fastq) != os.path.getsize(trimmed_fastq)
assert os.path.getsize(trimmed_fastq) == 2512853101
assert 'Trimming mode: single-end' in open(trimmed_fastq_report).readlines()[4]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment