@ Deprecated public static ImmutableList < StreamVariantsRequest > getVariantRequests ( final String variantSetId , SexChromosomeFilter sexChromosomeFilter , long numberOfBasesPerShard , OfflineAuth auth ) throws IOException { Iterable < Contig > shards = getAllShardsInVariantSet ( variantSetId , sexChromosomeFilter , numberOfBasesPerShard , auth ) ; return FluentIterable . from ( shards ) . transform ( new Function < Contig , StreamVariantsRequest > ( ) { @ Override public StreamVariantsRequest apply ( Contig shard ) { return shard . getStreamVariantsRequest ( variantSetId ) ; } } ) . toList ( ) ; }
Constructs sharded StreamVariantsRequests for the all references in the variantSet .