How To Define Gap Cost In A Stepmatrix?
0
0
Entering edit mode
10.1 years ago
Yongjie Zhang ▴ 110

Hi all,

When I'm doing phylogenetic analysis, I want to define both transition/transversion stepmatrices and gap mode (to fifth base). But I found the Paup program always reported error and stopped. It gave such information:"One of more active stepmatrix definitions does not include costs for changes to the gap state. You must assign different types to these characters before changing the gap-mode setting". Or, "Character 117 is not compatible with usertype “2_1” (state '_' is not defined in the stepmatrix)".

My stepmatrix is like this:

usertype 2_1 stepmatrix = 4 acgt

'- 2 1 2 ( ' is added in the post to correctly display "-")

2 - 2 1

1 2 - 2

2 1 2 -

I realize my problem seems to be the conflict between gap mode and stepmatrix. But can I define a cost for gap in the stepmatrix? How to do that, and what cost value can be given to gap in the stepmatrix?

Please let me know if you have a solution.

Thanks.

Yongjie

P.S. The gaps are unambiguously aligned in my case and contain valuable information.

• 1.9k views
ADD COMMENT
0
Entering edit mode

This post relates to C: transition/transversion stepmatrices, but are different focus.

ADD REPLY

Login before adding your answer.

Traffic: 3138 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