aboutsummaryrefslogtreecommitdiff
path: root/wqflask/scripts/textfiles_generator.py
diff options
context:
space:
mode:
authorAlexander_Kabui2023-05-15 23:51:20 +0300
committerAlexander_Kabui2023-05-15 23:51:20 +0300
commit45389ef219647579ddf62bfd1de1c7322ead43e2 (patch)
treec0db2e8d98716a300a64293fda26858d4fb704be /wqflask/scripts/textfiles_generator.py
parenta2b08a1cac5dff9a5332aa74bee12523aa4b9923 (diff)
downloadgenenetwork2-45389ef219647579ddf62bfd1de1c7322ead43e2.tar.gz
update docstring
Diffstat (limited to 'wqflask/scripts/textfiles_generator.py')
-rw-r--r--wqflask/scripts/textfiles_generator.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/wqflask/scripts/textfiles_generator.py b/wqflask/scripts/textfiles_generator.py
index b7c94eb0..aa8f1647 100644
--- a/wqflask/scripts/textfiles_generator.py
+++ b/wqflask/scripts/textfiles_generator.py
@@ -11,6 +11,7 @@ import lmdb
import os
+
"""
*script generate both metadata and probeset textfiles
*manually commonly used datasets
@@ -28,12 +29,14 @@ flags:
-- textfile to generate the probeset strain data
+# set the TMPDIR for example
+export TMPDIR = "/tmp/gn2"
# example python3
- python3 meta_data_script.py "mysql://kabui:1234@localhost/db_webqtl" /tmp --textfile
- python3 meta_data_script.py "mysql://kabui:1234@localhost/db_webqtl" /tmp --metadata
+ python3 meta_data_script.py "mysql://kabui:1234@localhost/db_webqtl" $TMPDIR --textfile
+ python3 meta_data_script.py "mysql://kabui:1234@localhost/db_webqtl" $TMPDIR --metadata
-python3 meta_data_script.py "mysql://kabui:1234@localhost/db_webqtl" /tmp --metadata --textfile
+python3 meta_data_script.py "mysql://kabui:1234@localhost/db_webqtl" $TMPDIR --metadata --textfile
"""