aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
"""