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

comBGC column BGC_length inaccurate #399

Closed
martinklapper opened this issue Jul 12, 2024 · 3 comments
Closed

comBGC column BGC_length inaccurate #399

martinklapper opened this issue Jul 12, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@martinklapper
Copy link

Description of the bug

The BGC_length column often reports the BGC length with 1 nucleotide more than the actual contig length, which is not possible. The calculation of this column seems to be wrong.
bug_BGC_length.xlsx

Command used and terminal output

No response

Relevant files

No response

System information

No response

@martinklapper martinklapper added the bug Something isn't working label Jul 12, 2024
@jfy133
Copy link
Member

jfy133 commented Jul 12, 2024

@jasmezz is this already fixed in the pipeline version V2?

@jasmezz
Copy link
Collaborator

jasmezz commented Jul 18, 2024

  • Fixed it for antismash on a new branch (Some fixes (docs/combgc) #402). The one-based counting in Genbank files vs. zero based in biopython confused me apparently... (see here).
  • GECCO is correct
  • DeepBGC reports it in its output, so comBGC just takes it from there. I am not 100% sure how DeepBGC calculates the positions/length. Will take a closer look when time, if it's not correct, need to fix on their end.

@jasmezz jasmezz mentioned this issue Jul 18, 2024
10 tasks
@jasmezz
Copy link
Collaborator

jasmezz commented Jul 19, 2024

Done in #402

@jasmezz jasmezz closed this as completed Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants