Design, preparation, screening or analysis of libraries using computer algorithms