def ReadRocheXmlManifest(handle):
 (number_of_reads, header_length, index_offset, index_length, xml_offset, xml_size, read_index_offset, read_index_size) = _sff_find_roche_index(handle)
 if ((not xml_offset) or (not xml_size)):
  raise ValueError('No XML manifest found')
 handle.seek(xml_offset)
 return _bytes_to_string(handle.read(xml_size))

def ReadRocheXmlManifest ( handle ) : ( number_of_reads , header_length , index_offset , index_length , xml_offset , xml_size , read_index_offset , read_index_size ) = _sff_find_roche_index ( handle ) if ( ( not xml_offset ) or ( not xml_size ) ) : raise ValueError ( 'No XML manifest found' ) handle . seek ( xml_offset ) return _bytes_to_string ( handle . read ( xml_size ) )
reads any roche style xml manifest data in the sff "index" .