Kévin Yauy commited on
Commit
46f4ea9
1 Parent(s): d0aa6c6

docs(README): add option for gene_list

Browse files

Former-commit-id: ce32c1e9e4ccb99c4bad371535809ef46ef661b2

Files changed (2) hide show
  1. README.md +10 -0
  2. phenogenius_cli.py +3 -3
README.md CHANGED
@@ -45,6 +45,16 @@ streamlit run phenogenius_app.py
45
  poetry shell
46
  python phenogenius_cli.py --hpo_list HP:0000107,HP:0000108,HP:0001407,HP:0005562 --result_file PKD1.tsv
47
  ```
 
 
 
 
 
 
 
 
 
 
48
 
49
  ## Explore interactive graphs of symptoms interactions
50
 
 
45
  poetry shell
46
  python phenogenius_cli.py --hpo_list HP:0000107,HP:0000108,HP:0001407,HP:0005562 --result_file PKD1.tsv
47
  ```
48
+ ```
49
+ Usage: phenogenius_cli.py [OPTIONS]
50
+
51
+ Options:
52
+ --result_file TEXT Output file name, default = match.tsv
53
+ --hpo_list TEXT (Mandatory) List of HPO terms to match, separated with
54
+ commas
55
+ --gene_list TEXT (Optional) List of genes in NCBI ID format to match,
56
+ separated with commas
57
+ ```
58
 
59
  ## Explore interactive graphs of symptoms interactions
60
 
phenogenius_cli.py CHANGED
@@ -127,9 +127,9 @@ def add_hpo_description_implicated(x, annot_dict):
127
  return None
128
 
129
  @click.command()
130
- @click.option("--result_file", default="match.tsv")
131
- @click.option("--hpo_list", default=None, help="List of HPO terms to match, separated with commas")
132
- @click.option("--gene_list", default=None, help="List of genes in NCBI ID format to match, separated with commas")
133
  def evaluate_matching(result_file, hpo_list, gene_list):
134
  logging.info("INFO: load databases")
135
  ncbi, symbol = symbol_to_id_to_dict()
 
127
  return None
128
 
129
  @click.command()
130
+ @click.option("--result_file", default="match.tsv", help="Output file name, default = match.tsv")
131
+ @click.option("--hpo_list", default=None, help="(Mandatory) List of HPO terms to match, separated with commas")
132
+ @click.option("--gene_list", default=None, help="(Optional) List of genes in NCBI ID format to match, separated with commas")
133
  def evaluate_matching(result_file, hpo_list, gene_list):
134
  logging.info("INFO: load databases")
135
  ncbi, symbol = symbol_to_id_to_dict()