Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleFixedQueries.yml
---
baseQuery :
  summary : true

queries :
- id : "RegionAndBiotype"
  description : "Purpose of this query"
  query :
    region : "22:16052853-16054112"
    gene :   "BRCA2"
    biotype : "coding"
    populationFrequencyMaf : "1kG_phase3:ALL>0.1"
  tolerationThreshold : 300

- id : "Region"
  description : "Purpose of this query"
  query :
    region : "22:16052853-16054112"
  tolerationThreshold : 400
.....
sessionIds :
- "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0ZXN0IiwiYXVkIjoiT3BlbkNHQSB1c2VycyIsImlhdCI6MTU0MzQwMTU5OCwiZXhwIjozNzU0MzQwMTU5OH0.c0HSb8j9dfB6nzoq3OYZqYmU1sSoRAzN5C-5miJ6UzY"
- "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0ZXN0IiwiYXVkIjoiT3BlbkNHQSB1c2VycyIsImlhdCI6MTU0MzQwMTU5OCwiZXhwIjozNzU0MzQwMTU5OH0.c0HSb8j9dfB6nzoq3OYZqYmU1sSoRAzN5C-5miJ6UzY"


Following command will execute ALL queries provided in fixedQueries.yml file as 10 users, five times each on REST server provided in "storage-configuration.yml" :

Code Block
languagebash
titleBenchmark Query
opencga-storage-admin.sh benchmark variant --concurrency 10 --num-repetition 5 --mode FIXED --connector REST

...