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

Generate training and validation set for binary classification #1

Open
sagarscbb opened this issue Apr 15, 2021 · 5 comments
Open

Generate training and validation set for binary classification #1

sagarscbb opened this issue Apr 15, 2021 · 5 comments

Comments

@sagarscbb
Copy link

NameError: name 'icshapes' is not defined

Dear Developer,
Please let me know, why is this error keep popping after i run the shell script you provided at this git page. What does "icshapes" defines?

shell script: tools/gdata_bin.sh

@kuixu
Copy link
Owner

kuixu commented Apr 16, 2021

Dear @sagarscbb, Thanks for your feedback, we have fixed this problem as you mentioned. You could check out the latest code by git pull.

@ojziff
Copy link

ojziff commented May 21, 2021

Dear @kuixu,

Running tools/gdata_bin.sh is giving me an index out of range error as it loops through each RBP:

ZNF622_K562
Traceback (most recent call last):
  File "tools/generate_dataset.py", line 52, in <module>
    structs = structs[i].split(',')
IndexError: list index out of range
ZNF800_K562
Traceback (most recent call last):
  File "tools/generate_dataset.py", line 52, in <module>
    structs = structs[i].split(',')
IndexError: list index out of range
ZRANB2_K562
Traceback (most recent call last):
  File "tools/generate_dataset.py", line 52, in <module>
    structs = structs[i].split(',')
IndexError: list index out of range

Do you know why this is and how i can fix it?

Many thanks, Oliver

@kuixu
Copy link
Owner

kuixu commented May 21, 2021

@ojziff Fixed, you could check out the latest code by git pull. Thanks.

@ojziff
Copy link

ojziff commented May 24, 2021

Thanks @kuixu - that fixed it.

However, i am now getting an error with training all the proteins models with exp/prismnet/train_all.sh as it cant find the log files:

(mypython3.6) [ziffo@int001 PrismNet]$ exp/prismnet/train_all.sh
360002
360003
AGO_HEK293 ===
ALKBH5_HEK293 ===
exp/prismnet/train_all.sh: line 28: exp/prismnet/out/log/AGO_HEK293_PrismNet_pu.log: No such file or directory
exp/prismnet/train_all.sh: line 28: exp/prismnet/out/log/ALKBH5_HEK293_PrismNet_pu.log: No such file or directory
360009
ATXN2_HEK293T ===
360010
AUH_K562 ===
exp/prismnet/train_all.sh: line 28: exp/prismnet/out/log/ATXN2_HEK293T_PrismNet_pu.log: No such file or directory
exp/prismnet/train_all.sh: line 28: exp/prismnet/out/log/AUH_K562_PrismNet_pu.log: No such file or directory
360016
360017
BCCIP_HepG2 ===
C17ORF85_HEK293 ===
exp/prismnet/train_all.sh: line 28: exp/prismnet/out/log/BCCIP_HepG2_PrismNet_pu.log: No such file or directory
exp/prismnet/train_all.sh: line 28: exp/prismnet/out/log/C17ORF85_HEK293_PrismNet_pu.log: No such file or directory
...

I cant find these log files in any directory. There is only the h5 and tsv files in PrismNet/data/clip_data - see file tree attached.

Many thanks for your help with this!
Oliver

file_tree.txt

@kuixu
Copy link
Owner

kuixu commented May 25, 2021

@ojziff I have updated the code for making out/log firstly.

if [ ! -d $work_path/out ];then    
    mkdir $work_path/out
    mkdir $work_path/out/log
fi

if [ ! -d $work_path/out ];then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants