realbigws / RaptorX_Property_Fast

RaptorX-Property: a Standalone Package for Protein Structure Property Prediction
15 stars 9 forks source link

RaptorX on WSL (Windows Subsystem Linux Ubuntu) #2

Open eliza-m opened 6 years ago

eliza-m commented 6 years ago

When trying to use RaptorX on WSL (Windows Subsystem Linux Ubuntu) - it gives an error at line 95 in RaptorX_Property_Fast/util/SS8_Predict/bin/run_raptorx-ss8.pl

" open fhCNFOutput,"<$FNTMPRST" or die $!; "

The CNF results file was not previously generated ( $FNTMPRST="$jobtmpdir/cnfsseight.$jobid.result"; )

This file was supposed to be generated by: RaptorX_Property_Fast/util/SS8_Predict/bin/bcnf_mpitp

Which is a ELF 32-bit executable, and apparently on WSL Ubuntu precompiled 32bit binaries don't run, only recompiled ones. ( even with i386 libraries - more details: https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/13377507-please-add-32-bit-elf-support-to-the-kernel ).

And I couldn't find the source for bcnf_mpitp in the repository to recompile it ...

This problem seems to appear only on WSL Ubuntu, as tested on a native Ubuntu 16.04 bcnf_mpitp works fine ...

Thanks,

Eliza Martin

realbigws commented 6 years ago

Hi, Eliza.

Thank you so much for pointing out this.

Actually, this part (SS8_Predict) is done by Zhi-yong. You may fork this part of code from https://github.com/Indicator/RaptorX-SS8

Best, -Sheng

eliza-m commented 6 years ago

Thank you for your answer !

Best regards, Eliza Martin