diff options
author | Alexander | 2022-05-28 17:49:48 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-06-29 17:41:16 +0300 |
commit | 3e1b3873a4565cc711e5b82cc60d77a61e19e4df (patch) | |
tree | 7e4858e0fbc6572c57ad67ba1df7d5f73275c921 /gn3 | |
parent | d8d590cbc0a427c2f508c66bc91cd8af97aba606 (diff) | |
download | genenetwork3-3e1b3873a4565cc711e5b82cc60d77a61e19e4df.tar.gz |
init rust correlation module
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/computations/rust_correlation.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gn3/computations/rust_correlation.py b/gn3/computations/rust_correlation.py new file mode 100644 index 0000000..16af13e --- /dev/null +++ b/gn3/computations/rust_correlation.py @@ -0,0 +1,13 @@ +import subprocess + +from gn3.settings import CORRELATION_COMMAND +from gn3.settings import TMPDIR + +def run_correlation(file_name:&str,outputdir:str = TMPDIR): + + + command_list = [CORRELATION_COMMAND, file_name,outputdir] + + results = subprocess.run(command_list, check=True) + + return results |