kiharalab / Emap2sec

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

File not found running demo #7

Closed MartinSalinas98 closed 2 years ago

MartinSalinas98 commented 2 years ago

Hello, I was running the tutorial with the example commands provided and I got an error running Phase 1 command: INFO : Running Emap2sec Phase1 for dataset Traceback (most recent call last): File "emap2sec/Emap2sec.py", line 208, in <module> df = pandas.DataFrame([line.rstrip().split(',') for line in open(filname.rstrip(), 'r') if not line.rstrip() == '']) FileNotFoundError: [Errno 2] No such file or directory: '50,50,50'

I don't think you are supposed to have a file named like that, so it must be some error in the code. The commands I followed once cloned the repo are: cd data_generate chmod 777 map2train ./map2train ../data/1733.mrc -c 2.75 > ../data/trimmap python dataset_wo_stride.py ../data/trimmap protein_dataset protein_id mv protein_dataset ../data/ cd .. python emap2sec/Emap2sec.py data/protein_dataset

The last command is the one throwing out that error. Thanks, Martín.

MartinSalinas98 commented 2 years ago

Solved: missed command "echo data/protein_dataset > dataset_location_file" before last command