Source Command


The GORCMD command allows you to execute operating system commands that return data that you assume is tabular data within GOR queries. When we run GORCMD, we assume that the external command returns data that is genomic-ordered.

The GORCMD command supports nested queries such as: gorcmd python <(gor #genes# | where gene_start-gene_stop < 10000)

External commands need to be encapsulated between curly brackets, e.g. gorcmd {command}.


gorcmd {<OS_command>} | ...


-s <type>

Specifies that type of source that will be read [BAM, GOR, or VCF]


gorcmd {} | ...