Ejemplo n.º 1
0
 public static string GetCutSequence(int SeqStart, int SeqEnd, int Strand, int Chr, string OrganismAlias)
 {
     return
         (GetCleanFasta(
              HTTP_Mgt.HttpGet(
                  KEGGREST_url_mgt.GetCutSequenceURL(SeqStart, SeqEnd, Strand, Chr, OrganismAlias))));
 }
Ejemplo n.º 2
0
        public static List <GeneInfo> GetGeneInfoByKEGGGenes(List <string> Organisms, string GeneName)
        {
            string AllInfo = HTTP_Mgt.HttpGet(KEGGREST_url_mgt.GetGenesInfoURL(Organisms, GeneName));

            Console.WriteLine(AllInfo);

            return(GetGeneInfoFromREST(AllInfo));
        }
Ejemplo n.º 3
0
        public static List <GeneInfo> GetGeneInfoByKEGGGenes(string Organizm, List <string> KEGGGenes)
        {
            string AllInfo = HTTP_Mgt.HttpGet(KEGGREST_url_mgt.GetGenesInfoURL(Organizm, KEGGGenes));

            Console.WriteLine(AllInfo);

            return(GetGeneInfoFromREST(AllInfo));
        }
Ejemplo n.º 4
0
        public static Operon FindOperon(string OrganizmName, string OrganizmAlias, string GeneName)
        {
            string URL = @"http://operons.ibt.unam.mx/OperonPredictor/svlOperons?sTypeOperon=g&sOrganismDef=" + OrganizmName +
                         "&iOption=1&sOrganism=" + OrganizmAlias + "&sTypeGeneSpecific=specific";
            string Params = @"sGeneName=" + GeneName + "&Search=Search+a+specific+gene";

            string Response = HTTP_Mgt.HTTPPost(URL, Params);

            //string[] FileContent = File.ReadAllLines(@"C:\deleteme\httppost.txt");
            //string Response = string.Join("", FileContent);

            return(ParseOperon(Response));
        }
Ejemplo n.º 5
0
        public static List <GeneInfo> GetGeneInfoByKEGGGenes(List <string> Organisms, List <string> GeneNames)
        {
            string AllInfo = HTTP_Mgt.HttpGet(KEGGREST_url_mgt.GetGenesInfoURL(Organisms, GeneNames));

            return(GetGeneInfoFromREST(AllInfo));
        }
Ejemplo n.º 6
0
        public static List <string> GetKEGGGenesIDs(string Organizm, List <string> ECList)
        {
            string Reply = HTTP_Mgt.HttpGet(KEGGREST_url_mgt.GetOrgPathwayGenesURL(Organizm, ECList));

            return(SplitREST(Reply));
        }
Ejemplo n.º 7
0
        public static List <string> GetNCBIGenesIDs(string Organizm, List <string> KEGGGenesIds)
        {
            string Reply = HTTP_Mgt.HttpGet(KEGGREST_url_mgt.GetKEGGtoNCBIconvURL(Organizm, KEGGGenesIds));

            return(SplitREST(Reply));
        }
Ejemplo n.º 8
0
 public static string GetOrthologList(string OrthologNo)
 {
     return(HTTP_Mgt.HttpGet(KEGGREST_url_mgt.GetOrthologListURL(OrthologNo)));
 }