module EnsemblREST::GA4GH

Public Instance Methods

gacallSet(options = {}) click to toggle source

Return a list of sets of genotype calls for specific samples in GA4GH format

@param [Hash] options Optional arguments for the service please goto rest.ensembl.org/documentation/info/gacallSet @return [JSON] a list of sets of genotype calls for specific samples

# File lib/ensemblrest/variationga4gh.rb, line 21
def gacallSet(options = {})
        return EnsemblREST.post("ga4gh/callsets/search", {}, {format: 'json'}.merge(options))
end
gavariants(start, stop, referenceName, variantSetIds, options = {}) click to toggle source

Return variant call information in GA4GH format for a region on a reference sequence

@param [Integer] start Start position of region (zero-based, inclusive) @param [Integer] stop End position of region (zero-based, exclusive) @param [String] referenceName Reference sequence name @param [Array] variantSetIds Return variant data for specific variantSets @param [Hash] options Optional arguments for the service please goto rest.ensembl.org/documentation/info/gavariants @return [JSON] variant call information in GA4GH format

# File lib/ensemblrest/variationga4gh.rb, line 33
def gavariants(start, stop, referenceName, variantSetIds, options = {})
        return EnsemblREST.post("ga4gh/variants/search", {"variantSetIds" => variantSetIds, "referenceName" => referenceName,"start" => start ,"end" => stop}, {format: 'json'}.merge(options))
end
gavariantset(options = {}) click to toggle source

Return a list of variant sets in GA4GH format

@param [Hash] options Optional arguments for the service please goto rest.ensembl.org/documentation/info/gavariantset @return [JSON] a list of variant sets in GA4GH format

# File lib/ensemblrest/variationga4gh.rb, line 41
def gavariantset(options = {})
        return EnsemblREST.post("ga4gh/variantsets/search", {}, {format: 'json'}.merge(options))
end