Skip to content

Commit

Permalink
pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jan 13, 2025
1 parent c2e1cd9 commit 1ea2ec7
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions tests/test_jobcounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -1725,6 +1725,52 @@ def test_allelic_alfree_multicomp(self, ifs):
_p = sp.run(ci, capture_output=True, text=True)
assert _p.returncode == 0
assert parseSpOut(_p) == 340
def test_whatshap_allelic(self, ifs):
ci = [
"mRNAseq",
'-i',
ifs / 'PE',
'-o',
ifs / 'outdir',
'--snakemakeOptions',
SMKOPTS,
ifs / 'org.yaml',
'--sampleSheet',
ifs / 'sampleSheet.tsv',
'-m',
'allelic-whatshap,deepTools_qc',
'--phased-vcf',
ifs / 'allelic_input' / 'file.vcf.gz'
]
print(' '.join([str(i) for i in ci]))
_p = sp.run(ci, capture_output=True, text=True)
assert _p.returncode == 0
assert parseSpOut(_p) == 261
def test_whatshap_allelic_fromBAM(self, ifs):
ci = [
"mRNAseq",
'-i',
ifs / 'allelic_bam_input' / 'filtered_bam',
'-o',
ifs / 'outdir',
'--snakemakeOptions',
SMKOPTS,
'--fromBAM',
'--bamExt',
'.filtered.bam',
ifs / 'org.yaml',
'--sampleSheet',
ifs / 'sampleSheet.tsv',
'-m',
'allelic-whatshap,deepTools_qc',
'--phased-vcf',
ifs / 'allelic_input' / 'file.vcf.gz'
]
print(' '.join([str(i) for i in ci]))
_p = sp.run(ci, capture_output=True, text=True)
assert _p.returncode == 0
assert parseSpOut(_p) == 261


class TestncRNAseq():
def test_default(self, ifs):
Expand Down

0 comments on commit 1ea2ec7

Please sign in to comment.