rrazaghi / modbamtools

Set of tools to manipulate and visualize modified base bam files
Apache License 2.0
48 stars 4 forks source link

ValueError: If mode is 'interp', window_length must be less than or equal to the size of x. #26

Closed rainwala closed 1 year ago

rainwala commented 1 year ago

Hi, as per below, I get the "ValueError: If mode is 'interp', window_length must be less than or equal to the size of x." issue. Using pip I can only install version 0.2.2 it seems. How do I install version 0.4.4 or 0.4.8? Also, will modbamtools work with both 5mc and 5hmc calls?

      Hi, thanks for the quick reply!

I have had no problems with other downstream analysis using this mod BAM files. Do you think this can be related to the new mod tags specification allowing for "?" in the Mm tag (see section 1.7 here: https://samtools.github.io/hts-specs/SAMtags.pdf)?

Is the only difference I can see with previous BAM files processed with modbamtools.

Originally posted by @biorococo in https://github.com/rrazaghi/modbamtools/issues/14#issuecomment-1163277449

rainwala commented 1 year ago

I managed to fix this error by upgrading to your version 0.4.8