Querying samples/variants functions merged.