GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ERROR: max count before zero is less than min required count (4) duplicates removed · Issue #59 · smithlabcode/preseq

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

New issue
Copy link
New issue
Copy link
Open
Open
ERROR: max count before zero is less than min required count (4) duplicates removed#59
Copy link

Description

@didillysquat
didillysquat
opened on Feb 15, 2022
Issue body actions

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

Reacted by Ido Tamir

Activity

  1. idot commented on Feb 22, 2022

    @idot
    idot
    on Feb 22, 2022
    More actions

    I have the same issue. I use the preseq from bioconda which was built with --enable-hts .

    wget https://depot.galaxyproject.org/singularity/preseq%3A3.1.2--h06ef8b0_1
    singularity exec preseq:3.1.2--h06ef8b0_1 preseq  lc_extrap -pe -output 187530_T1.ccurve.txt  187530_T1.bam
    ERROR:	max count before zero is less than min required count (4) duplicates removed
    

    see also #49

    (I also tried preseq:3.1.2--hfb6f838_0)

  2. z-spider commented on Aug 28, 2022

    @z-spider
    z-spider
    on Aug 28, 2022
    More actions

    need -B or --bam,then we will encounter this problem: #57
    but, -B option is not what was causing the issue.

    preseq try to merge the paired-end reads, but there are multiple alignments in the bam. -v option can show that.
    use samtools to fileter multiple alignments can fix it.

    All the best.

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

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.