public static DataInMemory loadDelayQuality(File directory,IndexFile index,DataFileIndex seqIndex,long start,long end) throws IOException {
  final PointerLoader point=new PointerLoader(directory,index,seqIndex,start,end);
  final SequenceLoader seq;
  final QualityLoader qual;
  if (start < end) {
    point.loadPointers();
    seq=new SequenceLoader(point);
    qual=new QualityLoader(point);
    seq.loadSequenceData();
  }
 else {
    seq=new SequenceLoader(point);
    qual=new QualityLoader(point);
  }
  return new DataInMemory(point.mPointers,point.mSequenceChecksums,point.mQualityChecksums,seq.mSequenceData,qual);
}

public static DataInMemory loadDelayQuality ( File directory , IndexFile index , DataFileIndex seqIndex , long start , long end ) throws IOException { final PointerLoader point = new PointerLoader ( directory , index , seqIndex , start , end ) ; final SequenceLoader seq ; final QualityLoader qual ; if ( start < end ) { point . loadPointers ( ) ; seq = new SequenceLoader ( point ) ; qual = new QualityLoader ( point ) ; seq . loadSequenceData ( ) ; } else { seq = new SequenceLoader ( point ) ; qual = new QualityLoader ( point ) ; } return new DataInMemory ( point . mPointers , point . mSequenceChecksums , point . mQualityChecksums , seq . mSequenceData , qual ) ; }
create data in memory
