Skip to content

Commit

Permalink
add Illumina case
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Jan 16, 2025
1 parent 132cf59 commit f6078e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/readscount.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ def sum_reads(sample, summary):
assert len(demux_art_parents) == 1
demux_art_parent = demux_art_parents[0]

# Two cases to consider:
if demux_art_parent.parent_process.type.name in SEQUENCING.values():
# Parent of demux artifact is a sequencing process output (ONT)
seq_process = demux_art_parent.parent_process
else:
raise NotImplementedError(
f"Parent process of demux artifact {demux_art.id} is not a sequencing process"
) # TODO check whether this ever happens
# Parent of demux artifact is a sequencing process input (Illumina)
seq_process = lims.get_processes(
type=list(SEQUENCING.values()),
inputartifactlimsid=demux_art_parent.id,
Expand Down

0 comments on commit f6078e3

Please sign in to comment.