ReadIteratorResource < Read , ReadGroupSet , Reference > queryForInterval ( GA4GHQueryInterval interval ) { try { return dataSource . getReads ( readSetId , interval . getSequence ( ) , interval . getStart ( ) , interval . getEnd ( ) ) ; } catch ( Exception ex ) { LOG . warning ( "Error getting data for interval " + ex . toString ( ) ) ; } return null ; }
Queries the API for an interval and returns the iterator resource or null if failed