hello everybody, i just installed perl, bioperl and clustalw. I have near one year from the last time i worked with perl. Too many errors not leeting me use bioperl modules stopped me back then fromm keeping up with perl.No i m here again and i want your help. i have a quite easy task for a monk, but for a newbie like me its a bit tricky.All i have to do is a multile allingnment of a protein fasta file using clustalw.

#!/usr/bin/perl use warnings; use strict; use Bio::AlignIO; use Bio::SeqIO; use Bio::Tools::Run::Alignment::Clustalw; my $file = shift or die; # Get filename from command prompt. my $factory = Bio::Tools::Run::Alignment::Clustalw->new(-matrix => 'BL +OSUM'); my $ktuple = 3; $factory->ktuple($ktuple); my $inseq = Bio::SeqIO->new( -file => "<$file", -format => $format ); my $seq; my @seq_array; while ($seq = $inseq->next_seq) { push(@seq_array, $seq); } # Now we do the actual alignment. my $seq_array_ref = \@seq_array; my $aln = $factory->align($seq_array_ref);

Cant see if this code actually Works,beacause of this anoynig message :Can't locate Bio/Tools/Run/Alignment/Clustalw.pm in @INC (you may need to install the Bio::Tools::Run::Alignment::Clustalw module) (@INC contains: C:/Perl64/site/lib C:/Perl64/lib .) at c3.pl line 8. BEGIN failed--compilation aborted at c3.pl line 8.

Any help will be much apreciated!Its extremely important to finish my task by any means as soon as possible


In reply to Clustalw and bioperl by dimitris852

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.