Skip to content

ERROR: max count before zero is less than min required count (4) duplicates removed #59

Description

@didillysquat

Running preseq from the latest release preseq-3.1.2.tar.gz

lc_extrap give the following error:

Singularity> preseq lc_extrap -P scaf1.1m.bam
ERROR:	max count before zero is less than min required count (4) duplicates removed

However, converting the .bam to .bed first and then running lc_extrap on the .bed file completes as expected:

Singularity> bedtools bamtobed -i scaf1.1m.bam > scaf1.1m.bed
Singularity> preseq lc_extrap -P scaf1.1m.bed > lc_extrap.out

Any idea what's going wrong?

Example .bam and .bed files attached.
bams.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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