aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander2022-05-28 17:49:48 +0300
committerBonfaceKilz2022-06-29 17:41:16 +0300
commit3e1b3873a4565cc711e5b82cc60d77a61e19e4df (patch)
tree7e4858e0fbc6572c57ad67ba1df7d5f73275c921
parentd8d590cbc0a427c2f508c66bc91cd8af97aba606 (diff)
downloadgenenetwork3-3e1b3873a4565cc711e5b82cc60d77a61e19e4df.tar.gz
init rust correlation module
-rw-r--r--gn3/computations/rust_correlation.py13
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