kiharalab / Emap2sec

Emap2sec is a computational tool to identify protein secondary structures
GNU General Public License v3.0
16 stars 7 forks source link

Error: missing input factor=int(sys.argv[5]) #2

Open mcianfrocco opened 5 years ago

mcianfrocco commented 5 years ago

Hello,

I was just running through the tutorial data for running emap2sec and I see that there is a discrepancy between documentation online and the tutorial with the actual code. It appears your code is looking for an input paramter 'factor' as an argument passed through the command line, but I don't know what this should be.

Thanks, mike

Emap2sec/data_generate/dataset.py d1kafa_trimmap d1kafa_dataset d1kafa
Traceback (most recent call last):
  File "/software-cryoem/Emap2sec/data_generate/dataset.py", line 37, in <module>
    factor=int(sys.argv[5])
IndexError: list index out of range
SaiRagh4 commented 5 years ago

Added new commits fixing the issues. Please try running now.

Also refer https://codeocean.com/capsule/4439990/tree/v2 for a complete pipeline to run Emap2sec.

Thanks Sai