Skip to content

OverflowError: integer 510 does not fit 'uint8_t' #1

Description

@creggian

Hello,

I am exploring uQ tool for fastq compression and I got this error at the first run. The version I used is the one at commit 2aef5e2 (the latest)

Pass 2 of 4: Now QNAME delimiters are known, QNAMEs are being analysed. (98.47%)
Optimal encoding method for delimited data in QNAME determined! (0.369165285428 minutes)
    - Column 3 is type mapping stored as uint8
    - Column 3 is type integers stored as uint16
    - Column 3 is type integers stored as uint16

Traceback (most recent call last):
  File "/u/creggian/programmi/uq/uq.py", line 707, in <module>
    if variable_read_lengths: arrays = encoder_variable(status.total,dna_bases,quals,N_qual,dna_columns_needed,qual_columns_needed,status,args.input,bits_per_base,bits_per_quality)
  File "/u/creggian/programmi/uq/uq.py", line 242, in encoder_variable
    dna_array[row][dna_byte_position]   = temp_dna  + (variable_read_lengths << (dna_bits_done))  ; dna_byte_position -= 1
OverflowError: integer 510 does not fit 'uint8_t'

Can you help me in this direction? And is this project still mantained?

Thanks
Claudio

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions