Skip to content

Commit

Permalink
fix multiqc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pontushojer committed Nov 4, 2022
1 parent 029dc24 commit c67d447
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/blr/multiqc_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,16 @@ sp:
cutadapt:
fn: "trimmed.fastq.log"
whatshap/stats:
fn: "final.whatshap_stats.tsv"
fn: "*.whatshap_stats.tsv"
whatshap/haplotag:
fn: "*.haplotag.log"
fastqc:
fn_re: "trimmed.barcoded.[1|2].fastq.gz"
hapcut2/phasing_stats:
fn: "final.phasing_stats.txt"
fn: "*.phasing_stats.txt"
stats/sv_sizes:
fn: "final.sv_sizes.tsv"
fn: "*.sv_sizes.tsv"
stats/molecule_stats:
fn: "final.molecule_stats.txt"
fn: "*.molecule_stats.txt"
stats/barcode_stats:
fn: "final.barcode_stats.txt"
fn: "*.barcode_stats.txt"
6 changes: 3 additions & 3 deletions tests/test_multiqc_blr.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_stats_barcode_stats(tmpdir):


def test_hapcut2(tmpdir):
copyfile(TESTDATA_HAPCUT2_PHASING_STATS, tmpdir / "example.txt")
copyfile(TESTDATA_HAPCUT2_PHASING_STATS, tmpdir / "example.phasing_stats.txt")

subprocess.run(["multiqc", "-f", tmpdir, "-o", tmpdir, "-m", "hapcut2"])

Expand All @@ -107,7 +107,7 @@ def test_hapcut2(tmpdir):


def test_hapcut2_with_auN(tmpdir):
copyfile(TESTDATA_HAPCUT2_PHASING_STATS_AUN, tmpdir / "example.txt")
copyfile(TESTDATA_HAPCUT2_PHASING_STATS_AUN, tmpdir / "example.phasing_stats.txt")

subprocess.run(["multiqc", "-f", tmpdir, "-o", tmpdir, "-m", "hapcut2"])

Expand All @@ -119,7 +119,7 @@ def test_hapcut2_with_auN(tmpdir):


def test_hapcut2_chroms(tmpdir):
copyfile(TESTDATA_HAPCUT2_PHASING_STATS_CHROM, tmpdir / "example.txt")
copyfile(TESTDATA_HAPCUT2_PHASING_STATS_CHROM, tmpdir / "example.phasing_stats.txt")

subprocess.run(["multiqc", "-f", tmpdir, "-o", tmpdir, "-m", "hapcut2"])

Expand Down

0 comments on commit c67d447

Please sign in to comment.