# What happened to composition function of BioSequences?

**URL:** https://discourse.julialang.org/t/what-happened-to-composition-function-of-biosequences/78759
**Category:** Biology, Health, and Medicine
**Tags:** biology
**Created:** [March 30, 2022, 6:04pm UTC](https://discourse.julialang.org/t/what-happened-to-composition-function-of-biosequences/78759 "2022-03-30T18:04:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kwicher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kwicher/32/12239_2.png) [@kwicher](https://discourse.julialang.org/u/kwicher)
#### Post date: [March 30, 2022, 6:04pm UTC](https://discourse.julialang.org/t/what-happened-to-composition-function-of-biosequences/78759/1 "2022-03-30T18:04:32Z")

</div>

I am trying to implement an older package that uses BioSequences, especially the composition function. This function is however gone from the newest BioSequences, so e everything breaks.

Has composition been replaced by something else?

Thanks

---

<div class="post-metadata">

### Author: ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)
#### Post date: [March 30, 2022, 7:38pm UTC](https://discourse.julialang.org/t/what-happened-to-composition-function-of-biosequences/78759/2 "2022-03-30T19:38:37Z")

</div>

Pretty specialized, but [this](https://github.com/BioJulia/BioSequences.jl/issues/138) might explain things?

---

<div class="post-metadata">

### Author: ![kwicher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kwicher/32/12239_2.png) [@kwicher](https://discourse.julialang.org/u/kwicher)
#### Post date: [March 30, 2022, 10:45pm UTC](https://discourse.julialang.org/t/what-happened-to-composition-function-of-biosequences/78759/3 "2022-03-30T22:45:42Z")

</div>

Makes sense, thank you.

I found a work around.

Cheers
