[Bioperl-l] Clustalw and sensitivity to changes in 'pairgap' parameter??
duxroq
duxroq at hotmail.com
Tue May 3 03:22:00 UTC 2011
Hi,
For a project I am doing I wanted to maximize the gap penalty for a pairwise
alignment of a leader and a consensus sequence. I experimented with
changing the 'pairgap' parameter. However, Clustalw generated the same
exact alignment file no matter what I changed 'pairgap' to! Why would this
happen? (As a side question, does 'pairgap' refer to the gap opening penalty
for pairwise alignments? And does clustalw.pm have a parameter that
controls gap penalties for multiple alignments or for gap extensions? My
computer did not recognize 'fixedgap' or 'floatgap' and therefore I assumed
I could only use 'pairgap' to modify my results).
Here are the relevant pieces of code:
# I set 'pairgap' to 50 because I think the default is 10 and I was seeking
to maximize the gap penalty, although I do not know the upper limit for
'pairgap'
@params = ('pairgap' => 50);
$factory = Bio::Tools::Run::Alignment::Clustalw->new(@params);
my $aln_lead_cons = $factory->align(\@lead_cons_seqs);
Thank you!
Alexandria
--
View this message in context: http://old.nabble.com/Clustalw-and-sensitivity-to-changes-in-%27pairgap%27-parameter---tp31529229p31529229.html
Sent from the Perl - Bioperl-L mailing list archive at Nabble.com.
More information about the Bioperl-l
mailing list