Skip to content

ValueError: End location (8780) must be greater than or equal to start location (9428) #98

@PKU007

Description

@PKU007

Hi,

I'm running version 0.1.31 and I'm getting the ValueError

part of error message is below:

Processing record #221974: k141_5772
Updating record molecule type to DNA
Finding genes in record: k141_5772
Reusing already existing HMMER hmmscan result: 111X30.10/tmp/k141_5772.pfam.domtbl.txt
End location (8780) must be greater than or equal to start location (9428)
Traceback (most recent call last):
File "/lustre/home/2101111992/miniconda3/envs/deepbgc/lib/python3.7/site-packages/deepbgc/main.py", line 113, in main
run(argv)
File "/lustre/home/2101111992/miniconda3/envs/deepbgc/lib/python3.7/site-packages/deepbgc/main.py", line 102, in run
args.func.run(**args_dict)
File "/lustre/home/2101111992/miniconda3/envs/deepbgc/lib/python3.7/site-packages/deepbgc/command/pipeline.py", line 177, in run
step.run(record)
File "/lustre/home/2101111992/miniconda3/envs/deepbgc/lib/python3.7/site-packages/deepbgc/pipeline/annotator.py", line 35, in run
pfam_annotator.annotate()
File "/lustre/home/2101111992/miniconda3/envs/deepbgc/lib/python3.7/site-packages/deepbgc/pipeline/pfam.py", line 122, in annotate
location = self._get_pfam_loc(best_hsp.query_start, best_hsp.query_end, protein)
File "/lustre/home/2101111992/miniconda3/envs/deepbgc/lib/python3.7/site-packages/deepbgc/pipeline/pfam.py", line 55, in _get_pfam_loc
return FeatureLocation(start, end, strand=feature.strand)
File "/lustre/home/2101111992/miniconda3/envs/deepbgc/lib/python3.7/site-packages/Bio/SeqFeature.py", line 800, in init
f"End location ({self.end}) must be greater than "
ValueError: End location (8780) must be greater than or equal to start location (9428)

DeepBGC failed with ValueError: End location (8780) must be greater than or equal to start location (9428)
k141_5772.pfam.domtbl.txt
k141_5772.pfam.proteins.txt
k141_5772.prodigal.nucl.txt
k141_5772.prodigal.proteins.txt
Thank you for your help!

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