X-lab-3D / PANDORA

MODELLER-based, anchor restrained, Peptide-MHC Modelling pipeline
Apache License 2.0
17 stars 5 forks source link

minor improvements for Modelling_functions.py in predict_anchors_netmhc(ii)pan. #170

Closed heleensev closed 1 year ago

heleensev commented 2 years ago

In the development branch, Modelling_functions.py, line 254 the -f option is not specifiied when feeding the input to netMHCpan. This does not cause any issue but cause netMHCpan to not report the input file name in the output, which can be useful for logging purposes.

Should be checked for netMHCIIpan as well.

DarioMarzella commented 2 years ago

Also, change the os.system to subprocess.check_call or os.popen().read() to make sure the scripts waits for the prediction before deleting the files.