public static boolean areNotAllOrthologs(String[] alignedNodes, HashMap<String,Double> mapHomology)
	{
		boolean different=false;
		int i=0, j=0;
		for(i=0;i<alignedNodes.length-1;i++)
		{
			boolean hasHomologs=false;
			for(j=i+1;j<alignedNodes.length;j++)
			{
				if(mapHomology!=null && mapHomology.containsKey(alignedNodes[i]+"-"+alignedNodes[j]))
					hasHomologs=true;
				else if(mapHomology==null && alignedNodes[i].equals(alignedNodes[j]))
					hasHomologs=true;
			}
			if(!hasHomologs)
				different=true;
		}
		return different;
	}