question: private void moveToFirst ( ) throws IOException { nextHeaderPosition = position ; nextHeader = r . readLine ( ) ; if ( nextHeader != null ) { position += nextHeader . length ( ) + endOfLineBytes ; String aLine ; while ( ( aLine = r . readLine ( ) ) != null ) { if ( aLine . startsWith ( ">" ) ) { nextNextHeaderPosition = position ; nextNextHeader = aLine ; position += aLine . length ( ) + endOfLineBytes ; break ; } else { position += aLine . length ( ) + endOfLineBytes ; parts . add ( aLine ) ; } } nextSequence = Basic . concatenateAndRemoveWhiteSpaces ( parts ) ; parts . clear ( ) ; } else close ( ) ; }
target:  move to first fastA record