Skip Menu |

This queue is for tickets about the InSilicoSpectro CPAN distribution.

Report information
The Basics
Id: 20427
Status: open
Priority: 0/
Queue: InSilicoSpectro

People
Owner: Nobody in particular
Requestors: amsalter [...] uhnres.utoronto.ca
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Distribution Version: 0.9.24 Perl Version: 5.8.7 OS: MS Windows XP I downloaded the module hoping to take advantage of some of your nice retention time calculations and your Mascot dat parser, but I guess I need Phenyx to make it work. The script mascot2pept.pl throws the following error: Can't locate Phenyx/Config/GlobalParam.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/site/lib/InSilic oSpectro.pm line 103. The required file is not included with this distribution. I gather it is a part of Phenyx; however, Phenyx is not listed as a requirement in the documentation for the module. It would be nice if the file could either be included or if the documentation could be altered to indicate that Phenyx is needed. Thanks! -Anne Marie ----------------- Anne Marie Salter Bioinformatics Specialist, Proteomics Group Campbell Family Institute for Breast Cancer Research Princess Margaret Hospital Toronto, ON
Subject: InSilicoSpectro/Phenyx spurioius dependance
From: olav [...] genebio.com
Hello Anne Marie, having Phenyx or not should not restrict the use of InSilicoSpectro (if phenyx is there, there might be some more definitions or so, that's all). We investigate your problem. I understand you're using a perl install on Windows (not activeperl?) Can you please send me your installed file C:/Perl/site/lib/InSilicoSpectro.pm as for me, line 103 in release 0.924 is within comments... regards Alex On Wed Jul 12 12:26:58 2006, guest wrote: Show quoted text
> Distribution Version: 0.9.24 > Perl Version: 5.8.7 > OS: MS Windows XP > > I downloaded the module hoping to take advantage of some of your nice > retention time calculations and your Mascot dat parser, but I guess I > need Phenyx to make it work. > > The script mascot2pept.pl throws the following error: > > Can't locate Phenyx/Config/GlobalParam.pm in @INC (@INC contains: > C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/site/lib/InSilic > oSpectro.pm line 103. > > The required file is not included with this distribution. I gather it > is a part of Phenyx; however, Phenyx is not listed as a requirement in > the documentation for the module. It would be nice if the file could > either be included or if the documentation could be altered to > indicate that Phenyx is needed. > > Thanks! > > -Anne Marie > > ----------------- > Anne Marie Salter > Bioinformatics Specialist, Proteomics Group > Campbell Family Institute for Breast Cancer Research > Princess Margaret Hospital > Toronto, ON
Subject: InSilicoSpectro spurious dependence
From: amsalter [...] uhnres.utoronto.ca
Hi Alex, Oouf, my apologies: I'm not sure what I was looking at yesterday, but I gave you the wrong version number. I've actually got version 1.2.5. As requested, I've attached my InSilicoSpectro.pm file. Yes, I am using ActiveState Perl: Z:\>perl -v This is perl, v5.8.7 built for MSWin32-x86-multi-thread (with 14 registered patches, see perl -V for more detail) Copyright 1987-2005, Larry Wall Binary build 815 [211909] provided by ActiveState http://www.ActiveState.com ActiveState is a division of Sophos. Built Nov 2 2005 08:44:52 Thanks for looking at this (and for providing such useful tools in the first place!). -Anne Marie On Thu Jul 13 03:11:43 2006, guest wrote: Show quoted text
> Hello Anne Marie, > > having Phenyx or not should not restrict the use of InSilicoSpectro
(if Show quoted text
> phenyx is there, there might be some more definitions or so, that's
all). Show quoted text
> > We investigate your problem. > > I understand you're using a perl install on Windows (not activeperl?) > > Can you please send me your installed file > C:/Perl/site/lib/InSilicoSpectro.pm > as for me, line 103 in release 0.924 is within comments... > > regards > Alex
=head1 NAME InSilicoSpectro - InSilico Mass Spectrometry toolkit =head1 DESCRIPTION =head1 INSTALL =head1 FUNCTIONS =head3 saveInSilicoDef([$out]) Saves all registred definitions into $out (eg insilicodef.xml) =head3 getInSilicoDefFile() returns the default insilicodeffile, from environament variable named by $InSilicoSpectro::DEF_FILENAME_ENV (default is $INSILICOSPECTRO_DEFFILE) =head1 SEE ALSO InSilicoSpectro::InSilico::CleavEnzyme, InSilicoSpectro::InSilico::ModRes, InSilicoSpectro::Spectra, InSilicoSpectro::Utils =head1 COPYRIGHT Copyright (C) 2004-2005 Geneva Bioinformatics www.genebio.com This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA =head1 AUTHORS Jacques Colinge, fh-hagenberg.at Alexandre Masselot, www.genebio.com =cut use strict; package InSilicoSpectro; require Exporter; use Carp; use InSilicoSpectro::InSilico::CleavEnzyme; use InSilicoSpectro::InSilico::ModRes; our (@ISA, @EXPORT, @EXPORT_OK, $VERSION); @ISA = qw(Exporter); @EXPORT = qw($VERSION &saveInSilicoDef &init &getInSilicoDefFile $DEF_FILENAME_ENV); @EXPORT_OK = (); $VERSION = "1.2.5"; our $DEF_FILENAME_ENV='INSILICOSPECTRO_DEFFILE'; sub saveInSilicoDef{ my $out=shift; $out=">$out" if ((defined $out) and not $out=~/^>/); my $saver=(defined $out)?(new SelectSaver(InSilicoSpectro::Utils::io->getFD($out) or die "cannot open [$out]: $!")):\*STDOUT; print <<EOT; <inSilicoDefinitions> <elements/> <aminoAcids/> <codons/> <cleavEnzymes> EOT foreach (InSilicoSpectro::InSilico::CleavEnzyme::getList()){ $_->getXMLTwigElt->print(); print "\n"; } print <<EOT; </cleavEnzymes> <fragTypeDescriptions/> <modRes> EOT foreach (InSilicoSpectro::InSilico::ModRes::getList()){ $_->getXMLTwigElt->print(); print "\n"; } print <<EOT; </modRes> </inSilicoDefinitions> EOT } sub init{ my @tmp=@_; push(@tmp, getInSilicoDefFile()) if ((not @tmp) and getInSilicoDefFile()); unless(@tmp){ print STDERR "no default found, opening config file from Phenyx::Config::GlobalParam\n" if $InSilicoSpectro::Utils::io::VERBOSE; require Phenyx::Config::GlobalParam; Phenyx::Config::GlobalParam::readParam(undef, 1); require Phenyx::Manage::User; my $tmp=Phenyx::Manage::User->new(name=>'default')->getFile('insilicodef.xml'); push @tmp, $tmp; } @tmp or croak "must provide at least one file argument"; InSilicoSpectro::InSilico::ModRes::init(@tmp); InSilicoSpectro::InSilico::CleavEnzyme::init(@tmp); InSilicoSpectro::InSilico::MassCalculator::init(@tmp); } sub getInSilicoDefFile{ return $ENV{$DEF_FILENAME_ENV}; } 1;
Subject: InSilicoSpectro spurious dependence
From: olav [...] genebio.com
Hello Anne-Marie your are a victim of a (rather stupid) manipulation we made in the firt day of releasing the InSilicoSpectro. We first released it with number 1.2.xxx (which was internal version we had in Phenyx modules). But after some discussion we decided to downgrade release number to 0.9.xxx and start calmly (at that point nobody had installed the libraries). With CPAN, there was no problem, we could remove all mention to 1.2.xxx. How did you install the module with ActivePerl? With the perl package manager? what url did you give it to look for InSilicoSpectro? thanks for your effort regards Alex On Thu Jul 13 10:35:58 2006, guest wrote: Show quoted text
> Hi Alex, > > Oouf, my apologies: I'm not sure what I was looking at yesterday, but > I gave you the wrong version number. I've actually got version > 1.2.5. As requested, I've attached my InSilicoSpectro.pm file. Yes, > I am using ActiveState Perl: > > Z:\>perl -v > > This is perl, v5.8.7 built for MSWin32-x86-multi-thread > (with 14 registered patches, see perl -V for more detail) > > Copyright 1987-2005, Larry Wall > > Binary build 815 [211909] provided by ActiveState > http://www.ActiveState.com > ActiveState is a division of Sophos. > Built Nov 2 2005 08:44:52 > > > Thanks for looking at this (and for providing such useful tools in the > first place!). > > -Anne Marie > >
Subject: InSilicoSpectro spurious dependence
From: amsalter [...] uhnres.utoronto.ca
Hi Alex, I did indeed use ppm, and it looks like I got the module from ActiveState's repository, so they must have the wrong version there: Show quoted text
ppm> properties InSilicoSpectro
==================== Name: InSilicoSpectro Version: 1.2.5 Author: Alexandre Masselot (alexandre.masselot@genebio.com) Title: InSilicoSpectro Abstract: InSilico Mass Spectrometry toolkit InstDate: Wed Jul 12 11:51:16 2006 Location: http://ppm.ActiveState.com/PPM/ppmserver-5.8-windows.plex? urn:/PPM/Server/SQL Prerequisites: 1. Archive-Zip 0.0 2. File-Find-Rule 0.0 3. XML-Twig 0.0 Available Platforms: 1. MSWin32-x86-multi-thread-5.8 ==================== However, when I removed the copy from ppm, and manually reinstalled the correct module from CPAN, I still get the same error message, but from a different line: C:\Perl\InSilicoSpectro-0.9.24\scripts\peptSpectra>perl mascot2pept.pl d:\msms_test\F001368.dat >test.xml Can't locate Phenyx/Config/GlobalParam.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/site/lib/InSilic oSpectro.pm line 261. I double-checked and I am definitely using 0.9.24 this time: C:\Perl\site\lib>type InSilicoSpectro.pm | grep $VERSION our (@ISA, @EXPORT, @EXPORT_OK, $VERSION); @EXPORT = qw($VERSION &saveInSilicoDef &init &getInSilicoDefFiles $DEF_FILENAME_ENV); $VERSION = "0.9.24"; Thanks, Anne Marie On Thu Jul 13 11:07:26 2006, guest wrote: Show quoted text
> Hello Anne-Marie > > your are a victim of a (rather stupid) manipulation we made in the
firt Show quoted text
> day of releasing the InSilicoSpectro. > > We first released it with number 1.2.xxx (which was internal version
we Show quoted text
> had in Phenyx modules). > But after some discussion we decided to downgrade release number to > 0.9.xxx and start calmly (at that point nobody had installed the
libraries). Show quoted text
> > With CPAN, there was no problem, we could remove all mention to
1.2.xxx. Show quoted text
> > How did you install the module with ActivePerl? > With the perl package manager? > what url did you give it to look for InSilicoSpectro? > > thanks for your effort > regards > Alex