# Adjusting an existing pipeline to use the new Wave containers

**URL:** <https://community.seqera.io/t/adjusting-an-existing-pipeline-to-use-the-new-wave-containers/255>\
**Category:** Ask for help\
**Tags:** nextflow, wave\
**Created:** [November 2, 2023, 11:56am UTC](https://community.seqera.io/t/adjusting-an-existing-pipeline-to-use-the-new-wave-containers/255 "2023-11-02T11:56:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ltosti-tagomics](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/ltosti-tagomics/32/274_2.png) [@ltosti-tagomics](https://community.seqera.io/u/ltosti-tagomics)\
**Post date:** [November 2, 2023, 11:56am UTC](https://community.seqera.io/t/adjusting-an-existing-pipeline-to-use-the-new-wave-containers/255/1 "2023-11-02T11:56:08Z")

</div>

Hi there, I was very impressed by the Wave demo at the recent summit and I would like to give it a go in some internal pipelines we’re currently developing. My questions is: I’m using [Quay](http://quay.io/biocontainers) at the moment; do I understand correctly that by enabling wave in the config file, it automatically pulls the correct tool/version? Or shall I specify a conda package:version for each process, replacing my quay-io/biocontainers? Thank you!

---

<div class="post-metadata">

**Author:** ![Adam\_Talbot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.seqera.io/adam_talbot/32/62_2.png) [@Adam\_Talbot](https://community.seqera.io/u/Adam_Talbot)\
**Post date:** [November 2, 2023, 4:49pm UTC](https://community.seqera.io/t/adjusting-an-existing-pipeline-to-use-the-new-wave-containers/255/2 "2023-11-02T16:49:03Z")

</div>

Wave is pretty flexible, you can configure it to do whatever you want. The key is setting the `wave.strategy` to what you want: [Wave containers — Nextflow 23.10.0 documentation](https://www.nextflow.io/docs/latest/wave.html#build-module-containers). The default order is `'container,dockerfile,conda,spack'`, which means Wave will build from the container directive in the process, if that is not available it will use the Dockerfile, then conda, then Spack. But you can rearrange this order by changing the setting.

With that in mind, if you want to continue using the [quay.io](http://quay.io) biocontainers, you can just enable Wave, it will grab the existing container definition and use that. If you want to rebuild with Conda, you can either remove the container and Dockerfile _or_ switch the `wave.strategy` order around, e.g. `wave.strategy = ['conda']`. You can mix and match within your pipeline based on your container requirements.
