Computational tools and Interoperability in Comparative ... - CBS
Computational tools and Interoperability in Comparative ... - CBS
Computational tools and Interoperability in Comparative ... - CBS
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
quasi mktemp manual<br />
201 r e t u r n @ r e t ;<br />
202 }<br />
203<br />
204 s u b r e a d _ f a s t a {<br />
205 m y @ f a s t a ; # c o n t a i n s a l l<br />
206 m y $ i d = −1;<br />
207 w h i l e ( ) {<br />
208 c h o m p ;<br />
209 i f ( /ˆ >(.∗) / ) {<br />
210 $ i d ++;<br />
211 $ f a s t a [ $ i d ]−>{ i d } = $ 1 ;<br />
212 } e l s i f ( / ˆ ( [ A−Za−z ]+) /) {<br />
213 $ f a s t a [ $ i d ]−>{ s e q } .= $ 1 ;<br />
214 }<br />
215 }<br />
216 r e t u r n @ f a s t a ;<br />
217 }<br />
218<br />
219 s u b e r r {<br />
220 p r i n t $ _ [ 0 ] ;<br />
221 e x i t 1 ;<br />
222 }<br />
223 e x i t 0 ;<br />
224<br />
225 _ _ D A T A _ _<br />
226 [ p w m ]=−10 r e g i o n<br />
227 w e i g h t =1<br />
228 [ A ] 0 63 0 63 63 0<br />
229 [ T ] 63 0 63 0 0 63<br />
230 [ G ] 0 0 0 0 0 0<br />
231 [ C ] 0 0 0 0 0 0<br />
232 [ s p a c e r ]<br />
233 m i n =13<br />
234 c e n t e r =16<br />
235 m a x =19<br />
236 [ p w m ]=−35 r e g i o n<br />
237 w e i g h t =1<br />
238 [ A ] 0 0 0 0 0 36<br />
239 [ T ] 63 63 0 54 0 9<br />
240 [ G ] 0 0 63 0 18 9<br />
241 [ C ] 0 0 0 9 45 9<br />
242 [ s p a c e r ]<br />
243 m i n =0<br />
244 c e n t e r =3<br />
245 m a x =6<br />
246 [ p w m ]= U P<br />
247 w e i g h t =0.5<br />
248 [ A ] 18 0 45 27 45 54 54 54 18 9 45 9 2 9 18 45 54 45 9 2 0 9<br />
249 [ T ] 45 11 0 0 18 0 9 9 36 45 18 54 45 45 27 9 9 18 54 54 63 17<br />
250 [ G ] 0 9 18 36 0 0 0 0 9 9 0 0 0 9 9 0 0 0 0 7 0 0<br />
251 [ C ] 0 43 0 0 0 9 0 0 0 0 0 0 16 0 9 9 0 0 0 0 0 37<br />
252 [ s p a c e r ]<br />
253 m i n=−4<br />
254 c e n t e r =2<br />
255 m a x =4<br />
256 [ p w m ]= F I S<br />
257 w e i g h t =0.5<br />
258 t h r e s h o l d =0<br />
259 [ A ] 26 27 16 0 18 9 0 29 54 54 54 45 42 3 2 36 7 2 18 22 16<br />
260 [ T ] 36 36 45 0 0 38 43 0 0 0 9 0 18 45 0 0 0 0 1 0 45<br />
261 [ G ] 1 0 2 63 18 7 20 34 9 9 0 18 3 13 45 0 54 0 44 41 0<br />
262 [ C ] 0 0 0 0 27 9 0 0 0 0 0 0 0 2 16 27 2 61 0 0 2<br />
D.6 quasi mktemp manual<br />
1 N A M E<br />
2 q u a s i _ m k t e m p − c r e a t e a t e m p l a t e C B S W e b S e r v i c e i m p l e m e n t a t i o n<br />
3<br />
4 S Y N O P S I S<br />
5 p e r l q u a s i _ m k t e m p l [− n S E R V I C E N A M E ] [− v V E R S I O N ] [− w W S N U M B E R ] (−f ) (− r e m o v e ) (−t<br />
T E M P L A T E N A M E )<br />
6<br />
7 D E S C R I P T I O N<br />
8 T h i s s c r i p t c r e a t e s a f u n c t i o n a l t e m p l a t e S O A P W e b S e r v i c e i m p l e m e n t a t i o n u n d e r Q u a s i<br />
i n c l u d i n g<br />
9 a w o r k i n g e x a m p l e . T h e o b j e c t t y p e s t h i s s e r v i c e r e c i e v e s / g e n e r a t e s a r e t h e C B S s t a n d a r d<br />
s e q u e n c e<br />
10 d a t a o b j e c t / a n n o t a t i o n d a t a o b j e c t .<br />
11<br />
12 T h e f o l l o w i n g e l e m e n t s a r e c r e a t e d b y t h e p r o g r a m :<br />
13<br />
14 ∗ W S D L f i l e , w i t h p r o p e r n a m e s p a c e s a n d o p e r a t i o n ( s )<br />
15 ∗ A n X S D i n c l u d e d b y t h e W S D L<br />
16 ∗ A d i r e c t o r y i n / u s r / o p t / w w w / cgi−b i n / C B S / s o a p / w s / q u a s i / c o n t a i n i n g t h e P e r l m o d u l e (<br />
m o d u l e . p m )<br />
17 ∗ A d i r e c t o r y i n / u s r / o p t / w w w / p u b / C B S / w s / c o n t a i n i n g t h e XSD , W S D L a n d e x a m p l e f i l e s .<br />
18 ∗ A n e n t r y i n m y s q l . W e b S e r v i c e s . s e r v i c e s<br />
19 ∗ A n i n d e x . p h p a n d i n c l u d e . h t m l l o c a t e d i n / u s r / o p t / w w w / p u b / C B S / w s / [ S E R V I C E N A M E ]<br />
20<br />
21 To−d o l i s t , o n c e y o u h a v e c r e a t e d t h e t e m p l a t e :<br />
22<br />
23 [ ] A l t e r t h e W S D L s o i t c o n t a i n s t h e o p e r a t i o n s y o u n e e d<br />
24 [ ] A l t e r t h e X S D s o a l l o p e r a t i o n d a t a t y p e s a r e d e f i n e d<br />
172