[BioRuby-cvs] bioruby/doc KEGG_API.rd, 1.3, 1.4 KEGG_API.rd.ja, 1.9, 1.10

Katayama Toshiaki k at dev.open-bio.org
Wed Dec 27 13:32:42 UTC 2006


Update of /home/repository/bioruby/bioruby/doc
In directory dev.open-bio.org:/tmp/cvs-serv10804/doc

Modified Files:
	KEGG_API.rd KEGG_API.rd.ja 
Log Message:
* updated from KEGG API v6.0 to v6.1


Index: KEGG_API.rd.ja
===================================================================
RCS file: /home/repository/bioruby/bioruby/doc/KEGG_API.rd.ja,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** KEGG_API.rd.ja	24 Dec 2006 10:14:19 -0000	1.9
--- KEGG_API.rd.ja	27 Dec 2006 13:32:40 -0000	1.10
***************
*** 69,75 ****
--- 69,78 ----
        * ((<get_reverse_best_neighbors_by_gene>))
        * ((<get_paralogs_by_gene>))
+ #     * ((<get_neighbors_by_gene>))
+ #     * ((<get_similarity_between_genes>))
      * ((<Motif>))
        * ((<get_motifs_by_gene>))
        * ((<get_genes_by_motifs>))
+ #   * ((<KO, OC, PC>))
      * ((<KO>))
        * ((<get_ko_by_gene>))
***************
*** 77,80 ****
--- 80,86 ----
        * ((<get_genes_by_ko_class>))
        * ((<get_genes_by_ko>))
+ #     * ((<get_oc_members_by_gene>))
+ #     * ((<get_pc_members_by_gene>))
+ #     * ((<get_ko_members>))
      * ((<PATHWAY>))
        * ((<¥Ñ¥¹¥¦¥§¥¤¤Ø¤Î¿§¤Å¤±>))
***************
*** 111,120 ****
--- 117,130 ----
        * ((<convert_mol_to_kcf>))
        * ((<search_compounds_by_name>))
+       * ((<search_drugs_by_name>))
        * ((<search_glycans_by_name>))
        * ((<search_compounds_by_composition>))
+       * ((<search_drugs_by_composition>))
        * ((<search_glycans_by_composition>))
        * ((<search_compounds_by_mass>))
+       * ((<search_drugs_by_mass>))
        * ((<search_glycans_by_mass>))
        * ((<search_compounds_by_subcomp>))
+       * ((<search_drugs_by_subcomp>))
        * ((<search_glycans_by_kcam>))
  
***************
*** 604,608 ****
      ¥æ¥Ë¡¼¥¯¤Ê ID ¤Ç¤¹¡£¤¿¤È¤¨¤Ð embl:J00231 ¤Ç EMBL ¤Î¥¨¥ó¥È¥ê J00231 ¤ò
      »Ø¤·¤Þ¤¹¡£entry_id ¤Ï¡¢°Ê²¼¤Î genes_id, enzyme_id, compound_id,
!     glycan_id, reaction_id, pathway_id, motif_id ¤Ê¤É¤ò´Þ¤ß¤Þ¤¹¡£
  
    * genes_id ¤Ï keggorg ¤È°äÅÁ»Ò̾¤ò ':' ¤Ç·ë¹ç¤·¤¿ KEGG ¤Î°äÅÁ»Ò ID ¤Ç¤¹¡£
--- 614,618 ----
      ¥æ¥Ë¡¼¥¯¤Ê ID ¤Ç¤¹¡£¤¿¤È¤¨¤Ð embl:J00231 ¤Ç EMBL ¤Î¥¨¥ó¥È¥ê J00231 ¤ò
      »Ø¤·¤Þ¤¹¡£entry_id ¤Ï¡¢°Ê²¼¤Î genes_id, enzyme_id, compound_id,
!     drug_id, glycan_id, reaction_id, pathway_id, motif_id ¤Ê¤É¤ò´Þ¤ß¤Þ¤¹¡£
  
    * genes_id ¤Ï keggorg ¤È°äÅÁ»Ò̾¤ò ':' ¤Ç·ë¹ç¤·¤¿ KEGG ¤Î°äÅÁ»Ò ID ¤Ç¤¹¡£
***************
*** 615,618 ****
--- 625,631 ----
      C00158 ¤Î²½¹çʪ¤Ç¤¢¤ë¥¯¥¨¥ó»À¤ò»Ø¤·¤Þ¤¹¡£
  
+   * drug_id ¤Ï dr: ¤ò¤Ä¤±¤¿²½¹çʪ¤Î ID ¤Ç¤¹¡£dr:D00201 ¤Ï¥É¥é¥Ã¥°ÈÖ¹æ
+     D00201 ¤Î¥É¥é¥Ã¥°¤Ç¤¢¤ë¥Æ¥È¥é¥µ¥¤¥¯¥ê¥ó¤ò»Ø¤·¤Þ¤¹¡£
+ 
    * glycan_id ¤Ï gl: ¤ò¤Ä¤±¤¿²½¹çʪ¤Î ID ¤Ç¤¹¡£gl:G00050 ¤ÏÅüº¿ÈÖ¹æ
      G00050 ¤ÎÅüº¿¤Ç¤¢¤ë Paragloboside ¤ò»Ø¤·¤Þ¤¹¡£
***************
*** 1123,1126 ****
--- 1136,1153 ----
    * ((<URL:http://www.genome.jp/kegg/ssdb/>))
  
+ #--- get_neighbors_by_gene(string:genes_id, string:org, int:offset, int:limit)
+ #
+ #»ØÄꤷ¤¿ genes_id ¤Î°äÅÁ»Ò¤Ë¥Û¥â¥í¥¸¡¼¤Î¤¢¤ëÁ´°äÅÁ»Ò¤ò»ØÄꤷ¤¿À¸Êª¤«¤é
+ #¸¡º÷¤·¤Þ¤¹¡£¤Þ¤¿ org ¤Ë 'all' ¤ò»ØÄꤹ¤ë¤ÈÁ´À¸Êª¼ï¤«¤é¸¡º÷¤·¤Þ¤¹¡£
+ #
+ #ÌáÃÍ¡§
+ #  ArrayOfSSDBRelation
+ #
+ #Î㡧
+ #  # ÂçIJ¶Ý¤Î°äÅÁ»Ò b0002 ¤ËÁêƱÀ­¤Î¤¢¤ë°äÅÁ»Ò¤òÁ´¤Æ¸¡º÷¤·¤Æ¡¢·ë²Ì¤Î£±ÈÖ
+ #  # ¤«¤é£±£°ÈÖÌܤޤǤòÊÖ¤·¤Þ¤¹
+ #  get_neighbors_by_gene('eco:b0002', 'all' 1, 10)
+ #  # ¼¡¤Î£±£°¸Ä¤ò offset = offset + limit ¤È¤·¤Æ¼è¤ê¤Þ¤¹
+ #  get_neighbors_by_gene('eco:b0002', 'all' 11, 10)
    
  --- get_best_best_neighbors_by_gene(string:genes_id, int:offset, int:limit)
***************
*** 1172,1175 ****
--- 1199,1212 ----
    get_paralogs_by_gene('eco:b0002', 11, 10)
  
+ #--- get_similarity_between_genes(string:genes_id1, string:genes_id2)
+ #
+ #»ØÄꤷ¤¿£²¤Ä¤Î°äÅÁ»Ò´Ö¤Î Smith-Waterman ¥¹¥³¥¢¤ò´Þ¤à¥Ç¡¼¥¿¤òÊÖ¤·¤Þ¤¹¡£
+ #
+ #ÌáÃÍ¡§
+ #  SSDBRelation
+ #
+ #Î㡧
+ #  # ÂçIJ¶Ý¤Î b0002 °äÅÁ»Ò¤È b3940 °äÅÁ»Ò´Ö¤Î¥¹¥³¥¢¤ä¥¢¥é¥¤¥á¥ó¥ÈÎΰè¤òÆÀ¤ë
+ #  get_similarity_between_genes('eco:b0002', 'eco:b3940')
  
  ==== Motif
***************
*** 1218,1221 ****
--- 1255,1268 ----
    get_ko_by_gene('eco:b0002')
  
+ #--- get_ko_members(string:ko_id)
+ #
+ #»ØÄꤷ¤¿ ko_id ¤Î KO ¥¨¥ó¥È¥ê¤Ë´Þ¤Þ¤ì¤ë°äÅÁ»Ò¤Î¥ê¥¹¥È¤òÊÖ¤·¤Þ¤¹¡£
+ #
+ #ÌáÃÍ¡§
+ #  ArrayOfstring (genes_id)
+ #
+ #Î㡧
+ #  # KO ÈÖ¹æ K02208 ¤Î¥¢¥µ¥¤¥ó¤µ¤ì¤Æ¤¤¤ë°äÅÁ»Ò¤Î¥ê¥¹¥È
+ #  get_ko_by_gene('ko:K02598')
  
  --- get_ko_by_ko_class(string:ko_class_id)
***************
*** 1256,1260 ****
--- 1303,1329 ----
    get_genes_by_ko('ko:K00010', 'all')
  
+ #--- get_oc_members_by_gene(string:genes_id, int:offset, int:limit)
+ #
+ #»ØÄꤷ¤¿°äÅÁ»Ò¤ÈƱ¤¸ OC ¤Ë°¤¹¤ë°äÅÁ»Ò¤Î¥ê¥¹¥È¤òÊÖ¤·¤Þ¤¹¡£
+ #
+ #ÌáÃÍ¡§
+ #  ArrayOfstring (genes_id)
+ #
+ #Î㡧
+ #  # eco:b0002 °äÅÁ»Ò¤ÈƱ¤¸¥ª¡¼¥½¥í¥°¥¯¥é¥¹¥¿¡¼¤Ë´Þ¤Þ¤ì¤ë°äÅÁ»Ò¤Î¥ê¥¹¥È
+ #  get_oc_members_by_gene('eco:b0002', 1, 10)
+ #  get_oc_members_by_gene('eco:b0002', 11, 10)
  
+ #--- get_pc_members_by_gene(string:genes_id, int:offset, int:limit)
+ #
+ #»ØÄꤷ¤¿°äÅÁ»Ò¤ÈƱ¤¸ PC ¤Ë°¤¹¤ë°äÅÁ»Ò¤Î¥ê¥¹¥È¤òÊÖ¤·¤Þ¤¹¡£
+ #
+ #ÌáÃÍ¡§
+ #  ArrayOfstring (genes_id)
+ #
+ #Î㡧
+ #  # eco:b0002 °äÅÁ»Ò¤ÈƱ¤¸¥Ñ¥é¥í¥°¥¯¥é¥¹¥¿¡¼¤Ë´Þ¤Þ¤ì¤ë°äÅÁ»Ò¤Î¥ê¥¹¥È
+ #  get_pc_members_by_gene('eco:b0002', 1, 10)
+ #  get_pc_members_by_gene('eco:b0002', 11, 10)
  
  ==== PATHWAY
***************
*** 1672,1675 ****
--- 1741,1754 ----
    search_compounds_by_name("shikimic acid")
  
+ --- search_drugs_by_name(string:name)
+ 
+ ¥É¥é¥Ã¥°¤ò̾Á°¤Ç¸¡º÷¤·¤Þ¤¹¡£
+ 
+ ÌáÃÍ¡§
+   ArrayOfstring (drug_id)
+ 
+ Î㡧
+   search_drugs_by_name("tetracyclin")
+ 
  --- search_glycans_by_name(string:name)
  
***************
*** 1694,1697 ****
--- 1773,1788 ----
    search_compounds_by_composition("C7H10O5")
  
+ --- search_drugs_by_composition(string:composition)
+ 
+ ¥É¥é¥Ã¥°¤òÁÈÀ®¤Ç¸¡º÷¤·¤Þ¤¹¡£
+ ÁÈÀ®¤Ï¸µÁǤȸĿô¤ò¤Ä¤Ê¤²¤¿Ê¸»úÎó¤Ç»ØÄꤷ¤Þ¤¹¡£
+ ¸µÁǤνçÈÖ¤Ï̵´Ø·¸¤Ç¤¹¡£
+ 
+ ÌáÃÍ¡§
+   ArrayOfstring (drug_id)
+ 
+ Î㡧
+   search_drugs_by_composition("HCl")
+ 
  --- search_glycans_by_composition(string:composition)
  
***************
*** 1717,1720 ****
--- 1808,1822 ----
    search_compounds_by_mass(174.05, 0.1)
  
+ --- search_drugs_by_mass(float:mass, float:range)
+ 
+ ¥É¥é¥Ã¥°¤òʬ»ÒÎ̤Ǹ¡º÷¤·¤Þ¤¹¡£
+ mass ¤òÃæ¿´¤È¤·¤Æ ¡Þrange ¤Î½Å¤µ¤Î¥É¥é¥Ã¥°¤¬¸¡º÷¤µ¤ì¤Þ¤¹¡£
+ 
+ ÌáÃÍ¡§
+   ArrayOfstring (drug_id)
+ 
+ Î㡧
+   search_drugs_by_mass(150, 1.0)
+ 
  --- search_glycans_by_mass(float:mass, float:range)
  
***************
*** 1746,1749 ****
--- 1848,1869 ----
    * ((<URL:http://www.genome.jp/ligand-bin/search_compound>))
  
+ --- search_drugs_by_subcomp(string:mol, int:offset, int:limit)
+ 
+ ¶¦ÄÌÉôʬ¹½Â¤¤ò»ý¤Ä¥É¥é¥Ã¥°¤ò subcomp ¥×¥í¥°¥é¥à¤ò»È¤Ã¤Æ¸¡º÷¤·¤Þ¤¹¡£
+ 
+ ¥¢¥é¥¤¥ó¥á¥ó¥È¤µ¤ì¤¿¶¦ÄÌÉôʬ¤Î¥Î¡¼¥ÉÈֹ椬ÇÛÎó¤ÇÊÖ¤µ¤ì¤ë¤Î¤Ç¡¢
+ ¥¢¥é¥¤¥ó¥á¥ó¥È¤µ¤ì¤¿¥É¥é¥Ã¥°¤Î¹½Â¤¤ò bget ¥³¥Þ¥ó¥É¤Ë "-f m"
+ ¥ª¥×¥·¥ç¥ó¤ò¤Ä¤±¤Æ MOL ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¼èÆÀ¤·¡¢Âбþ¤ò³Îǧ¤·¤Þ¤¹¡£
+ 
+ ÌáÃÍ¡§
+   ArrayOfStructureAlignment
+ 
+ Î㡧
+   mol = bget("-f m dr:D00201")
+   search_drugs_by_subcomp(mol, 1, 5)
+ 
+ ´ØÏ¢ URL¡§
+   * ((<URL:http://www.genome.jp/ligand-bin/search_compound>))
+ 
  --- search_glycans_by_kcam(string:kcf, string:program, string:option, int:offset, int:limit)
  
***************
*** 1771,1775 ****
  == Notes
  
! Last updated: November 20, 2006
  
  =end
--- 1891,1895 ----
  == Notes
  
! Last updated: December 27, 2006
  
  =end

Index: KEGG_API.rd
===================================================================
RCS file: /home/repository/bioruby/bioruby/doc/KEGG_API.rd,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** KEGG_API.rd	24 Dec 2006 10:14:19 -0000	1.3
--- KEGG_API.rd	27 Dec 2006 13:32:39 -0000	1.4
***************
*** 118,124 ****
--- 118,127 ----
        * ((<get_reverse_best_neighbors_by_gene>))
        * ((<get_paralogs_by_gene>))
+ #     * ((<get_neighbors_by_gene>))
+ #     * ((<get_similarity_between_genes>))
      * ((<Motif>))
        * ((<get_motifs_by_gene>))
        * ((<get_genes_by_motifs>))
+ #   * ((<KO, OC, PC>))
      * ((<KO>))
        * ((<get_ko_by_gene>))
***************
*** 126,129 ****
--- 129,135 ----
        * ((<get_genes_by_ko_class>))
        * ((<get_genes_by_ko>))
+ #     * ((<get_oc_members_by_gene>))
+ #     * ((<get_pc_members_by_gene>))
+ #     * ((<get_ko_members>))
      * ((<PATHWAY>))
        * ((<Coloring pathways>))
***************
*** 160,169 ****
--- 166,179 ----
        * ((<convert_mol_to_kcf>))
        * ((<search_compounds_by_name>))
+       * ((<search_drugs_by_name>))
        * ((<search_glycans_by_name>))
        * ((<search_compounds_by_composition>))
+       * ((<search_drugs_by_composition>))
        * ((<search_glycans_by_composition>))
        * ((<search_compounds_by_mass>))
+       * ((<search_drugs_by_mass>))
        * ((<search_glycans_by_mass>))
        * ((<search_compounds_by_subcomp>))
+       * ((<search_drugs_by_subcomp>))
        * ((<search_glycans_by_kcam>))
  
***************
*** 599,604 ****
      the database name and the identifier of an entry joined by a colon sign
      as 'database:entry' (e.g. 'embl:J00231' means an EMBL entry 'J00231').
!     'entry_id' includes 'genes_id', 'enzyme_id', 'compound_id', 'glycan_id',
!     'reaction_id', 'pathway_id' and 'motif_id' described in below.
  
    * 'genes_id' is a gene identifier used in KEGG/GENES which consists of
--- 609,614 ----
      the database name and the identifier of an entry joined by a colon sign
      as 'database:entry' (e.g. 'embl:J00231' means an EMBL entry 'J00231').
!     'entry_id' includes 'genes_id', 'enzyme_id', 'compound_id', 'drug_id',
!     'glycan_id', 'reaction_id', 'pathway_id' and 'motif_id' described in below.
  
    * 'genes_id' is a gene identifier used in KEGG/GENES which consists of
***************
*** 606,622 ****
  
    * 'enzyme_id' is an enzyme identifier consisting of database name 'ec'
!     and an enzyme code used in KEGG/LIGAND (e.g. 'ec:1.1.1.1' means an
!     alcohol dehydrogenase enzyme)
  
!   * 'compound_id' is a compound identifier consisting of database name 'cpd'
!     and a compound number used in KEGG/LIGAND (e.g. 'cpd:C00158' means a
!     citric acid).  Note that some compounds also have 'glycan_id' and
!     both IDs are accepted and converted internally by the corresponding
!     methods.
  
    * 'glycan_id' is a glycan identifier consisting of database name 'gl'
!     and a glycan number used in KEGG/GLYCAN (e.g. 'gl:G00050' means a
!     Paragloboside).  Note that some glycans also have 'compound_id' and
!     both IDs are accepted and converted internally by the corresponding
      methods.
  
--- 616,636 ----
  
    * 'enzyme_id' is an enzyme identifier consisting of database name 'ec'
!     and an enzyme code used in KEGG/LIGAND ENZYME database.
!     (e.g. 'ec:1.1.1.1' means an alcohol dehydrogenase enzyme)
  
!   * 'compound_id' is a compound identifier consisting of database name
!     'cpd' and a compound number used in KEGG COMPOUND / LIGAND database
!     (e.g. 'cpd:C00158' means a citric acid).  Note that some compounds
!     also have 'glycan_id' and both IDs are accepted and converted internally
!     by the corresponding methods.
! 
!   * 'drug_id' is a drug identifier consisting of database name 'dr'
!     and a compound number used in KEGG DRUG / LIGAND database
!     (e.g. 'dr:D00201' means a tetracycline).
  
    * 'glycan_id' is a glycan identifier consisting of database name 'gl'
!     and a glycan number used in KEGG GLYCAN database (e.g. 'gl:G00050'
!     means a Paragloboside).  Note that some glycans also have 'compound_id'
!     and both IDs are accepted and converted internally by the corresponding
      methods.
  
***************
*** 692,695 ****
--- 706,724 ----
    length2           amino acid length of the genes_id2 (int)
  
+ #Notice (26 Nov, 2004):
+ #
+ #We found a serious bug with the 'best_flag_1to2' and 'best_flag_2to1'
+ #fields in the SSDBRelation data type.  The methods returning the
+ #SSDBRelation (and ArrayOfSSDBRelation) data type had returned the
+ #opposite values of the intended results with the both fields.
+ #The following methods had been affected by this bug:
+ #
+ ## * get_neighbors_by_gene
+ #  * get_best_neighbors_by_gene
+ #  * get_reverse_best_neighbors_by_gene
+ #  * get_paralogs_by_gene
+ ## * get_similarity_between_genes
+ #
+ #This problem is fixed in the KEGG API version 3.2.
  
  + ArrayOfSSDBRelation
***************
*** 1136,1139 ****
--- 1165,1182 ----
    * ((<URL:http://www.genome.jp/kegg/ssdb/>))
  
+ #--- get_neighbors_by_gene(string:genes_id, string:org, int:offset, int:limit)
+ #
+ #Search homologous genes of the user specified 'genes_id' from specified
+ #organism (or from all organisms if 'all' is given as org).
+ #
+ #Return value:
+ #  ArrayOfSSDBRelation
+ #
+ #Examples:
+ #  # This will search all homologous genes of E. coli gene 'b0002'
+ #  # in the SSDB and returns the first ten results.
+ #  get_neighbors_by_gene('eco:b0002', 'all', 1, 10)
+ #  # Next ten results.
+ #  get_neighbors_by_gene('eco:b0002', 'all', 11, 10)
  
  --- get_best_best_neighbors_by_gene(string:genes_id, int:offset, int:limit)
***************
*** 1185,1188 ****
--- 1228,1242 ----
    get_paralogs_by_gene('eco:b0002', 11, 10)
  
+ #--- get_similarity_between_genes(string:genes_id1, string:genes_id2)
+ #
+ #Returns data containing Smith-Waterman score and alignment positions
+ #between the two genes.
+ #
+ #Return value:
+ #  SSDBRelation
+ #
+ #Example:
+ #  # Returns a 'sw_score' between two E. coli genes 'b0002' and 'b3940'
+ #  get_similarity_between_genes('eco:b0002', 'eco:b3940')
  
  ==== Motif
***************
*** 1228,1231 ****
--- 1282,1295 ----
    get_ko_by_gene('eco:b0002')
  
+ #--- get_ko_members(string:ko_id)
+ #
+ #Returns all genes assigned to the given KO entry.
+ #
+ #Return value:
+ #  ArrayOfstring (genes_id)
+ #
+ #Example
+ #  # Returns genes_ids those which belong to KO entry 'ko:K02598'.
+ #  get_ko_members('ko:K02598')
  
  --- get_ko_by_ko_class(string:ko_class_id)
***************
*** 1267,1271 ****
--- 1331,1359 ----
    get_genes_by_ko('ko:K00010', 'all')
  
+ #--- get_oc_members_by_gene(string:genes_id, int:offset, int:limit)
+ #
+ #Search all members of the same OC (KEGG Ortholog Cluster) to which given
+ #genes_id belongs.
+ #
+ #Return value:
+ #  ArrayOfstring (genes_id)
+ #
+ #Example
+ #  # Returns genes belonging to the same OC with eco:b0002 gene.
+ #  get_oc_members_by_gene('eco:b0002', 1, 10)
+ #  get_oc_members_by_gene('eco:b0002', 11, 10)
  
+ #--- get_pc_members_by_gene(string:genes_id, int:offset, int:limit)
+ #
+ #Search all members of the same PC (KEGG Paralog Cluster) to which given
+ #genes_id belongs.
+ #
+ #Return value:
+ #  ArrayOfstring (genes_id)
+ #
+ #Example
+ #  # Returns genes belonging to the same PC with eco:b0002 gene.
+ #  get_pc_members_by_gene('eco:b0002', 1, 10)
+ #  get_pc_members_by_gene('eco:b0002', 11, 10)
  
  ==== PATHWAY
***************
*** 1684,1687 ****
--- 1772,1785 ----
    search_compounds_by_name("shikimic acid")
  
+ --- search_drugs_by_name(string:name)
+ 
+ Returns a list of drugs having the specified name.
+ 
+ Return value:
+   ArrayOfstring (drug_id)
+ 
+ Example:
+   search_drugs_by_name("tetracyclin")
+ 
  --- search_glycans_by_name(string:name)
  
***************
*** 1705,1708 ****
--- 1803,1817 ----
    search_compounds_by_composition("C7H10O5")
  
+ --- search_drugs_by_composition(string:composition)
+ 
+ Returns a list of drugs containing elements indicated by the composition.
+ Order of the elements is insensitive.
+ 
+ Return value:
+   ArrayOfstring (drug_id)
+ 
+ Example:
+   search_drugs_by_composition("HCl")
+ 
  --- search_glycans_by_composition(string:composition)
  
***************
*** 1727,1730 ****
--- 1836,1850 ----
    search_compounds_by_mass(174.05, 0.1)
  
+ --- search_drugs_by_mass(float:mass, float:range)
+ 
+ Returns a list of drugs having the molecular weight around 'mass'
+ with some ambiguity (range).
+ 
+ Return value:
+   ArrayOfstring (drug_id)
+ 
+ Example:
+   search_drugs_by_mass(150, 1.0)
+ 
  --- search_glycans_by_mass(float:mass, float:range)
  
***************
*** 1756,1759 ****
--- 1876,1897 ----
    * ((<URL:http://www.genome.jp/ligand-bin/search_compound>))
  
+ --- search_drugs_by_subcomp(string:mol, int:offset, int:limit)
+ 
+ Returns a list of drugs with the alignment having common sub-structure
+ calculated by the subcomp program.
+ 
+ You can obtain a MOL formatted structural data of matched drugs
+ using bget method with the "-f m" option to confirm the alignment.
+ 
+ Return value:
+   ArrayOfStructureAlignment
+ 
+ Example:
+   mol = bget("-f m dr:D00201")
+   search_drugs_by_subcomp(mol, 1, 5)
+ 
+ Related site:
+   * ((<URL:http://www.genome.jp/ligand-bin/search_compound>))
+ 
  --- search_glycans_by_kcam(string:kcf, string:program, string:option, int:offset, int:limit)
  
***************
*** 1780,1784 ****
  == Notes
  
! Last updated: November 20, 2006
  
  =end
--- 1918,1923 ----
  == Notes
  
! Last updated: December 27, 2006
  
  =end
+ 




More information about the bioruby-cvs mailing list