示例#1
0
        /// <summary>
        /// This method returns the name of prokaryote of provided genBankID.
        /// Throws an exception of any error accessing the database occurs.
        /// </summary>
        /// <param name="genbankID">Genbank identifier.</param>
        public static string getProkaryote(string genbankID)
        {
            string prokaryote = GDDL.getProkaryote(genbankID);

            if (prokaryote == null)
            {
                throw new Exception("No match found");
            }
            return(prokaryote);
        }