Our Sweet API
for SOAP
General information
 Sweet2 

 

Calling
The client invokes the server function called gen_sweet($string) and gets back a struc.
The address of the SOAP-Script is: ("www.dkfz-heidelberg.de/spec/sweet2/soap/function_soap.php)

 

Input (1 Parameter: String)
Input:          a-D-Manp-(1-2)-a-D-Manp-(1-6)+
                                             |
                                        a-D-Manp-(1-6)+
                                             |        |
                a-D-Manp-(1-2)-a-D-Manp-(1-3)+   b-D-Manp-(1-4)-b-D-GlcpNAc-(1-4)-b-D-GlcpNAc-(1-4)-Asn
                                                      |
          a-D-Manp-(1-2)-a-D-Manp-(1-2)-a-D-Manp-(1-3)+

 

Output (Struct with 3 String elements)

Output: 
  Associated array with this elements:

    [pdb] => AUTHOR  Sweet Program 2.0
	REMARK  This file was generated by the SWEET-programm.
	REMARK  Molecular:
	ATOM      1  C1  adma    1       4.367 -28.632   5.745  0.00  0.00  C1
	ATOM      2  C2  adma    1       5.508 -28.909   6.719  0.00  0.00  C2
	ATOM      3  C3  adma    1       6.861 -28.907   6.029  0.00  0.00  C3
	ATOM      4  C4  adma    1       6.836 -29.806   4.814  0.00  0.00  C4
	[...]


    [swt] => # Sweet Program 2.0
	# Molecular: /tmp/sweet_1074249218.0867.swt
	# This file was generated by the SWEET-programm.
	!>>>:   259   269    11
	!SWEET-SOURCE:
	[][a-D-Manp]{[(1-2)][a-D-Manp]{[(1-6)][a-D-Manp]{[(3+1)][a-D-Manp]{[(2+1)][a-D-M
	anp]{}}[(1-6)][b-D-Manp]{[(3+1)][a-D-Manp]{[(2+1)][a-D-Manp]{[(2+1)][a-D-Manp]{}
	}}[(1-4)][b-D-GlcpNAc]{[(1-4)][b-D-GlcpNAc]{[(1-4)][Asn]{}}}}}}}
	[...]
	
	
    [tnk] =>    259
	     1  C01    4.366736  -28.632324    5.744884     1      2    14     9    20
	     2  C02    5.507690  -28.908754    6.719387     1      3    15     1    21
	     3  C03    6.860826  -28.906960    6.028631     1      4     7     2    22
	     4  C04    6.836370  -29.806324    4.813882     1      8     5     3    23
	     5  C05    5.672450  -29.415548    3.902847     1      4     9     6    17
	     6  C06    5.525717  -30.261429    2.657068     1      5    18    19    10
	     7  O07    7.847040  -29.388660    6.949448     6      3    11
	     [...]


    [out] =>  Welcome to SWEET2
	/www/sweet/sweet2
	Reading paths.dat from /www/sweet/paths2.dat
	Enviromentvariable: BABEL_DIR =/www/bin/babel-1.6x
	Enviromentvariable: SWEET_DIR is not set. Automatical set to ./
	Enviromentvariable: SWEET_OUTPUT =/tmp
	Name  :|sweet_1074249218.0867|
	[...]


    [err] => warning (output:mimik2all: suche Wasserstoff: 0 135950456
	warning (output:mimik2all: suche Wasserstoff: 0 4
	[...]



 

PHP Client

Please use our  php client  for Sweet.
You need this include file: phpsoap.tgz (especially the nusoap.php) 


Questions or remarks, please mail Andreas Bohne