public static GenomeRelationships load(BufferedReader reader) throws IOException {
  final GenomeRelationships ped=new GenomeRelationships();
  String line;
  while ((line=reader.readLine()) != null) {
    line=line.trim();
    if (line.startsWith("#") || line.matches("^\\s*$")) {
      continue;
    }
    parsePedLine(ped,line);
  }
  return ped;
}

public static GenomeRelationships load ( BufferedReader reader ) throws IOException { final GenomeRelationships ped = new GenomeRelationships ( ) ; String line ; while ( ( line = reader . readLine ( ) ) != null ) { line = line . trim ( ) ; if ( line . startsWith ( "#" ) || line . matches ( "^\\s*$" ) ) { continue ; } parsePedLine ( ped , line ) ; } return ped ; }
load a genome relationships file
