private boolean init ( ) throws IOException , CompoundNotFoundException { BufferedReader br = new BufferedReader ( new FileReader ( file ) ) ; br . skip ( sequenceStartIndex ) ; String sequence = sequenceParser . getSequence ( br , sequenceLength ) ; setContents ( sequence ) ; br . close ( ) ; // close file to prevent too many being open return true ; }
Load the sequence