Skip to content

Index error on tepid-discover #24

@LeoVincenzi

Description

@LeoVincenzi

Dear developers,
I'm having a problem running tepid-discovery. the mapping phase ends without any error, so I assume the bam files are okay.
Anyway, running the tepid-discovery step, I get the following error:

Processing Lupinus_digitatus
Running paired-end mode
Estimating mean insert size and coverage
Traceback (most recent call last):
  File "/home/leonardo/miniconda3/envs/TEPID/bin/tepid-discover", line 44, in <module>
    tepid.discover_pe(options)
  File "/home/leonardo/miniconda3/envs/TEPID/lib/python2.7/site-packages/tepid/tepid.py", line 1009, in discover_pe
    cov = calc_cov(options.conc, 100000, 120000)
  File "/home/leonardo/miniconda3/envs/TEPID/lib/python2.7/site-packages/tepid/tepid.py", line 721, in calc_cov
    for read in bam.pileup(nms[0], start, stop):
IndexError: list index out of range

The command line was:
tepid-discover --name Lupinus_digitatus --conc Lupinus_digitatus.sorted.bam --split Lupinus_digitatus.split.bam --te repeat.bed -p 30.
I also tried to run again the mapping step, but the problem remains.

Thanks in advance!

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