Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PKU007 opened this issue Mar 20, 2024 · 0 comments

Comments

@PKU007
Copy link

PKU007 commented Mar 20, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant