/// <summary> /// This method returns the list of genbankID with its definition. /// Throws an exception of any error accessing the database occurs. /// </summary> public static XmlDocument listDefinitions() { XmlDocument doc = new XmlDocument(); doc.AppendChild(dictionaryToXML(GDDL.listDefinitions(), doc)); return(doc); }
/// <summary> /// This method returns the list of genbankID with its corresponding molecule stand topology. /// Throws an exception of any error accessing the database occurs. /// </summary> public static XmlDocument listStrandTopologies() { XmlDocument doc = new XmlDocument(); doc.AppendChild(dictionaryToXML(GDDL.listStrandTopologies(), doc)); return(doc); }
public static List <string> getAccessionVersion(string genbankID) { List <string> accession_version = GDDL.getAccessionVersion(genbankID); if (accession_version.Count < 1) { throw new Exception("No match found"); } return(accession_version); }
public static List <string> getDefinitions(string genbankID) { List <string> definition = GDDL.getDefinitions(genbankID); if (definition.Count < 1) { throw new Exception("No match found"); } return(definition); }
public static List <string> ListNucleotideLocations(string accession_version) { List <string> nucleotide_locations = GDDL.ListNucleotideSequenceLocations(accession_version); if (nucleotide_locations.Count < 1) { throw new Exception("No match found"); } return(nucleotide_locations); }
public static List <string> getGenes(string accession_version) { List <string> genes = GDDL.getGenes(accession_version); if (genes.Count < 1) { throw new Exception("No match found"); } return(genes); }
public static List <string> getProteinIDs(string accession_version) { List <string> protein_ids = GDDL.getProteinIDs(accession_version); if (protein_ids.Count < 1) { throw new Exception("No match found"); } return(protein_ids); }
public static string getStrandType(string genbankID) { string strand = GDDL.getStrandType(genbankID); if (strand == null) { throw new Exception("No match found"); } return(strand); }
public static string getStrandTopology(string genbankID) { string strand_topology = GDDL.getStrandTopology(genbankID); if (strand_topology == null) { throw new Exception("No match found"); } return(strand_topology); }
/// <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); }
public static string getMoleculeType(string genbankID) { string molecule = GDDL.getMoleculeType(genbankID); if (molecule == null) { throw new Exception("No match found"); } return(molecule); }
public static List <string> getTitles(string genbankID) { List <string> title = GDDL.getTitles(genbankID); if (title.Count < 1) { throw new Exception("No match found"); } return(title); }
public static string getSequence(string genbankID) { string sequence = GDDL.getSequence(genbankID); if (sequence == null) { throw new Exception("No match found"); } return(sequence); }
public static List <string> getJournals(string genbankID) { List <string> journal = GDDL.getJournals(genbankID); if (journal.Count < 1) { throw new Exception("No match found"); } return(journal); }
public static List <string> getProjects(string genbankID) { List <string> project = GDDL.getProjects(genbankID); if (project.Count < 1) { throw new Exception("No match found"); } return(project); }
public static string getProkaryoteClassLevel(string genbankID) { string prokaryote_class_level = GDDL.getProkaryoteClassLevel(genbankID); if (prokaryote_class_level == null) { throw new Exception("No match found"); } return(prokaryote_class_level); }
public static string getNucleotideSequence(string accession_version, string start, string end) { string nucleotide_sequence = GDDL.getNucleotideSequence(accession_version, start, end); if (nucleotide_sequence == null) { throw new Exception("No match found"); } return(nucleotide_sequence); }
public static List <string> getGiNumber(string genbankID) { List <string> ginumber = GDDL.getGiNumber(genbankID); if (ginumber.Count < 1) { throw new Exception("No match found"); } return(ginumber); }
/// <summary> /// This method returns the Lists of the strand code attributes. /// Throws an exception of any error accessing the datbase occurs. /// </summary> public static List <string> listStrandCodeAttributes() { return(GDDL.listStrandCodeAttributes()); }
/// <summary> /// This method returns the Lists of the division code attributes. /// Throws an exception of any error accesing the database occurs. /// </summary> public static List <string> listDivisionCodeAttributes() { return(GDDL.listDivisionCodeAttributes()); }
/// <summary> /// This method returns the Lists of the molecule code attributes. /// Throws an exception of any error accessing the datbase occurs. /// </summary> public static List <string> listMoleculeCodeAttributes() { return(GDDL.listMoleculeCodeAttributes()); }
/// <summary> /// This method returns the Lists of the strand topology attributes. /// Throws an exception of any error accessing the datbase occurs. /// </summary> public static List <string> listStrandTopologyAttributes() { return(GDDL.listStrandTopologyAttributes()); }