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

SCINA Python version? #16

Open
lauraluebbert opened this issue Oct 5, 2021 · 3 comments
Open

SCINA Python version? #16

lauraluebbert opened this issue Oct 5, 2021 · 3 comments

Comments

@lauraluebbert
Copy link

Hi jcao,

Will there be a Python version of SCINA?

Best,

Laura

@jcao89757
Copy link
Owner

Hi Laura,

Thanks for your interest!

Currently we did not plan for making a SCINA python implementation. As a workaround, would you like to try wrapping SCINA functions in a shell command, and call the command with python when in use? Please let me know if you have questions about wrapping up functions. Thanks!

Best regards, Ze

@lauraluebbert
Copy link
Author

lauraluebbert commented Oct 7, 2021 via email

@jcao89757
Copy link
Owner

Hi Laura,

Would you please download the scripts in the R command folder (https://github.com/jcao89757/SCINA/tree/master/R) and try the linux wrapper EM_interface.R? Most of its parameters are the same as the SCINA package, and there is an example linux command in the script comments at the beginning of the code.

The linux command can then be called with python using the os package. The 'naive approach' using os.system in this workflow (https://www.section.io/engineering-education/how-to-execute-linux-commands-in-python/) will achieve the function. Please let me know if anything is not clear with the usage of the code and I'll be glad to help with any of your questions.

Have a nice weekend!

Best regards, Ze

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

2 participants