Skip to content

Commit

Permalink
Sanitize planned_reads.
Browse files Browse the repository at this point in the history
  • Loading branch information
Clemens Messerschmidt committed Feb 1, 2019
1 parent 2768d2a commit cddfb49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions digestiflow_demux/snakemake_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import functools
import os

from bases_mask import return_bases_mask

__author__ = "Manuel Holtgrewe <manuel.holtgrewe@bihealth.de>"


Expand Down Expand Up @@ -121,6 +123,7 @@ def out_prefix(path):

flowcell = config["flowcell"]
demux_reads = flowcell.get("demux_reads") or flowcell["planned_reads"]
demux_reads = return_bases_mask(flowcell["planned_reads"], demux_reads, "picard")
is_paired = demux_reads.count("T") > 1
sample_map = build_sample_map(flowcell)

Expand Down

0 comments on commit cddfb49

Please sign in to comment.