Skip to content

hhmakemodel.py : list index out of range #135

@AntoineLabeeuw

Description

@AntoineLabeeuw

Hi, me and @diegozea are using HH-suite3, v 3.2.0, commit d335e62 on Ubuntu 16.04.5 LTS.

When using hhmakemodel.py with a .hhr coming from hhsearch, it throws an error :

python3 hhmakemodel.py file.hhr <path_to_pdb> out.pir ./

  File "/home/labeeuw/Documents/hh-suite/build/scripts/hhmakemodel.py", line 2400, in <module>
    main()
  File "/home/labeeuw/Documents/hh-suite/build/scripts/hhmakemodel.py", line 2385, in main
    glob_seq = derive_global_seq(processed_query_grid, query_name, query_chain) # derive query sequence
  File "/home/labeeuw/Documents/hh-suite/build/scripts/hhmakemodel.py", line 663, in derive_global_seq
    global_seq.append(processed_query_grid.get_col_residue(col))
  File "/home/labeeuw/Documents/hh-suite/build/scripts/hhmakemodel.py", line 287, in get_col_residue
    if not self.is_empty(row, col):
  File "/home/labeeuw/Documents/hh-suite/build/scripts/hhmakemodel.py", line 197, in is_empty
    return self._cells[row][col] == EMPTY
IndexError: list index out of range

Steps to Reproduce (for bugs)

Attached to this are the files i've got from hhblits and hhsearch
Everything was done with the latest databases available
O00159.zip

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