seoklab / GalaxyPepDock

Protein-peptide docking based on interaction similarity
GNU General Public License v3.0
0 stars 0 forks source link

[BUG] IndexError: string index out of range #2

Open ke-ning opened 4 months ago

ke-ning commented 4 months ago

Describe the bug

the guideline in README is

Run GalaxyPepDock


<Error message>
```Traceback (most recent call last):
  File "GalaxyPepDock.py", line 54, in <module>
  File "GalaxyPepDock.py", line 44, in main
  File "Galaxy/methods/PepDock/libpepdock.py", line 60, in run
  File "Galaxy/utils/libfasta.py", line 22, in read_fasta
IndexError: string index out of range

#### Related software

<!--https://galaxy.seoklab.org/cgi-bin/request_softwares.cgi-->
jnooree commented 3 weeks ago

@jesuissumin can you help with this issue?

jesuissumin commented 3 weeks ago

Sorry for the late response. According to the error message, it seems your FASTA input file has more than 52 sequences (separated by '>'). We checked the example case, and it worked correctly. Please check your input FASTA file, and if the issue still arises, let us know.