Google_Service_Genomics_ReferencesBases_Resource

The "bases" collection of methods.

Defined (1)

The class is defined in the following location(s).

/includes/api-libs/Google/Service/Genomics.php  
  1. class Google_Service_Genomics_ReferencesBases_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Lists the bases in a reference, optionally restricted to a range. 
  5. * Implements GlobalAllianceApi.getReferenceBases. (bases.listReferencesBases) 
  6. * @param string $referenceId The ID of the reference. 
  7. * @param array $optParams Optional parameters. 
  8. * @opt_param string pageToken The continuation token, which is used to page 
  9. * through large result sets. To get the next page of results, set this 
  10. * parameter to the value of nextPageToken from the previous response. 
  11. * @opt_param string end The end position (0-based, exclusive) of this query. 
  12. * Defaults to the length of this reference. 
  13. * @opt_param int pageSize Specifies the maximum number of bases to return in a 
  14. * single page. 
  15. * @opt_param string start The start position (0-based) of this query. Defaults 
  16. * to 0. 
  17. * @return Google_Service_Genomics_ListBasesResponse 
  18. */ 
  19. public function listReferencesBases($referenceId, $optParams = array()) 
  20. $params = array('referenceId' => $referenceId); 
  21. $params = array_merge($params, $optParams); 
  22. return $this->call('list', array($params), "Google_Service_Genomics_ListBasesResponse");