Skip to content

Logging issue with large numbers of sequencing reads #505

@jamesnemesh

Description

@jamesnemesh

Instructions

When dealing with large numbers of sequencing reads, FilteredIterator 32 bit int are insufficient to store the number of reads:

INFO	2025-05-07 22:57:42	MissingTagFilteringIterator	Records pass [478064986] records fail [-1543690619] 
INFO	2025-05-07 22:57:42	MapQualityFilteredIterator	Records pass [-1456489106] records fail [1934554092] 
INFO	2025-05-07 22:57:42	TagValueFilteringIterator	Required Tag [XC] Records pass [-1876476725] records fail [419987619] 

Affected tool(s)

FilteredIterator, subclasses

Affected version(s)

  • [X ] Latest public release version [version?]
  • [X ] Latest development/master branch as of [date of test?]

Solution:

Change these from int to long. Look for other similar instances in logging code.

private int recordsPass=0;
private int recordsFail=0;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions