aboutsummaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-04-27 17:37:22 +0300
committerFrederick Muriuki Muriithi2022-04-27 17:37:22 +0300
commit903af1c0b1f2cc695ea4e0c31438f9205571d15d (patch)
tree08b32ee9676bd8ed2456b39895333fdff45b0dd2 /README.org
parentea70b7a7db42d51fa7f22f3dcb6d2aca6d8a795d (diff)
downloadgn-uploader-903af1c0b1f2cc695ea4e0c31438f9205571d15d.tar.gz
Implement command-line interface for QC of files
Diffstat (limited to 'README.org')
-rw-r--r--README.org29
1 files changed, 29 insertions, 0 deletions
diff --git a/README.org b/README.org
index aef1a08..53ac63c 100644
--- a/README.org
+++ b/README.org
@@ -53,3 +53,32 @@ To check for correct type usage in the application, run:
#+BEGIN_SRC shell
mypy --show-error-codes .
#+END_SRC
+
+** Running QC
+
+*** Command-Line Version
+
+To run qc against a file, the syntax is:
+#+BEGIN_SRC shell
+ python3 -m qc [--strainsfile <strainsfile-path>] [--verbose] <filetype> <filepath>
+#+END_SRC
+where
+- ~<filetype>~ is one of "*average*" or "*standard-error*"
+- ~<filepath>~ is either an absolute path to the file, or a path relative to the
+ current working directory
+- if the ~--strainsfile~ option is not provided, it will default to the one in
+ the root directory of this repository
+- the ~--verbose~ option is a flag, defaulting to ~False~ that controls the
+ display of optional progress messages
+
+To view the usage information for the application, run
+#+BEGIN_SRC shell
+ python3 -m qc --help
+#+END_SRC
+
+**** TODO Figure out how to put qc.py in a /bin or /scripts directory and still be able to import the modules in the repo
+**** TODO Reduce the command to simply ~qc [--strainsfile <strainsfile-path>] [--verbose] <filetype> <filepath>~
+
+*** Web Version
+
+Coming soon...