public Properties addGenome(String genome,String sex){
  final Properties props=addGenome(genome);
  if (sex != null) {
    props.put(SEX_PROPERTY,sex);
  }
  return props;
}

public Properties addGenome ( String genome , String sex ) { final Properties props = addGenome ( genome ) ; if ( sex != null ) { props . put ( SEX_PROPERTY , sex ) ; } return props ; }
helper method to add a genome with known sex .
