Aligning protein sequences using Muscle through Perl
0
0
Entering edit mode
9.7 years ago
Andrea ▴ 60

I get this error when i m running this script:

Code

#!/usr/bin/perl

use strict;

use warnings;

use Bio::Tools::Run::Alignment::Muscle;

# Build a muscle alignment factory

my @params = ( -outfile_name => 'outfile.fa' );

my $factory = Bio::Tools::Run::Alignment::Muscle->new(@params);

# Pass the factory a list of sequences to be aligned .

my $inputfilename = 'sequence.fasta';

# $aln is a SimpleAlign object .

my $aln = $factory->align( $inputfilename );

exit;

Error message:

'-in' not recognized as an internal or external command,

executable program or script file.

--------------------- WARNING ---------------------MSG: Muscle call crashed: 256 [command -in sequence.fa -out outfile.fa]---------------------------------------------------

Any clue pleaze???

alignment muscle perl bioperl • 2.7k views
ADD COMMENT
0
Entering edit mode

A Perl code of 256 (I think) means an exit code of $1 -- is this an error concerning your input file? Is muscle working in your path? Is there an error in your code such that the output of the first part of your code is not being passed to muscle?

ADD REPLY

Login before adding your answer.

Traffic: 1872 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6