public static Iterable < Reference > getReferences ( String referenceSetId , OfflineAuth auth ) throws IOException { Genomics genomics = GenomicsFactory . builder ( ) . build ( ) . fromOfflineAuth ( auth ) ; return Paginator . References . create ( genomics ) . search ( new SearchReferencesRequest ( ) . setReferenceSetId ( referenceSetId ) ) ; }
Gets the references for a given referenceSetId using the Genomics API .