[Bioperl-l] Bug or special design of the 'length' method for Bio::Seq ?

Tao Zhu tzhu at mail.bnu.edu.cn
Sun Jul 17 07:46:07 UTC 2011

Suppose a protein sequence like:


Do you think the length of such sequence is 19 or 20? In my opinion, the 
star "*" is only a terminal symbol of a protein sequence, so it 
shouldn't be counted into protein length. But in fact the "length" 
method of Bio::Seq results in length of 20.

Tao Zhu, College of Life Sciences, Beijing Normal University, Beijing
100875, China
Email: tzhu at mail.bnu.edu.cn

More information about the Bioperl-l mailing list