Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-M
perl-MRS-Client
perl-MRS-Client.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-MRS-Client.spec of Package perl-MRS-Client
# # spec file for package perl-MRS-Client # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-MRS-Client Version: 1.0.1 Release: 0 %define cpan_name MRS-Client Summary: SOAP-based client of the MRS Retrieval server License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/MRS-Client/ Source0: http://www.cpan.org/authors/id/T/TU/TULSOFT/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(XML::Compile::SOAP11) >= 2.26 BuildRequires: perl(XML::Compile::Transport::SOAPHTTP) BuildRequires: perl(XML::Compile::WSDL11) Requires: perl(XML::Compile::SOAP11) >= 2.26 Requires: perl(XML::Compile::Transport::SOAPHTTP) Requires: perl(XML::Compile::WSDL11) %{perl_requires} %description This module is a SOAP-based (Web Services) client that can talk, and get data from an *MRS server*, a search engine for biological and medical databanks that searches well over a terabyte of indexed text. See details about MRS and its author Maarten Hekkelman in the /"ACKNOWLEDGMENTS" manpage. Because this module is only a client, you need an MRS server running. You can install your own (see details in the MRS distribution), or you need to know a site that runs it. By default, this module contacts the MRS server at CMBI (_http://mrs.cmbi.ru.nl/m6/_). The usual scenario is the following: * * Create a new instance of a client by calling: my $client = MRS::Client->new (%args); * * Optionally, find out what databanks are available by calling: my @ids = map { $_->id } $client->db; print "Names:\n" . join ("\n", @ids) . "\n"; * * Make one or more queries on a selected databanks and iterate over the result: my $query = $client->db ('enzyme')->find (['cone', 'snail']); while (my $record = $query->next) { print $record . "\n"; } Or, make the same query on all available databanks: my $query = $client->find (['cone', 'snail']); while (my $record = $query->next) { print $record . "\n"; } The format of returned records is specified by a parameter of the _find_ method (see more in the "METHODS" manpage). * * Additionally, this module provides access to _blastp_ program, using MRS indexed databases. And it can invoke multiple alignment program _clustalw_. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc ChangeLog docs LICENSE README README.md %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor