public static Iterable < CallSet > getCallSets ( String variantSetId , OfflineAuth auth ) throws IOException { Genomics genomics = GenomicsFactory . builder ( ) . build ( ) . fromOfflineAuth ( auth ) ; return Paginator . Callsets . create ( genomics ) . search ( new SearchCallSetsRequest ( ) . setVariantSetIds ( Lists . newArrayList ( variantSetId ) ) , "callSets,nextPageToken" ) ; }
Gets CallSets for a given variantSetId using the Genomics API .