# Combine Variants

Due to fundamental differences between the statistical models employed by different variant detection tools, as well as varying parameter optimizations within tools selected for discrete discovery goals, there can be a large number of unique and common variants identified between each instance of variant detection. In some cases the goal of the study is to provide a list of all possible variants, whereas in other studies the goal is to generate a list of variants with increased confidence of true polymorphic sites. To facilitate both possible goals, Partek Flow provides a *Combine variants* tool to generate either the union or intersection of two variants data nodes. This task provides a means to identify common and unique variant calls in samples that have undergone two discrete variant calling tasks. The *Combine variants* task can be invoked from any *Variants* or *Annotated variants* data node, assuming at least discrete variants node(s) exists in the project. The task will generate two new variant data nodes and underlying vcf files: one for the union and one for the intersection of the variant data (Figure 1).

<figure><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-097132e312506bdb28a39aaf7c887e51b03e1abe%2Fimage%20(85).png?alt=media" alt=""><figcaption><p>Figure 1. Generating data nodes from the Combine variants task</p></figcaption></figure>

To run the task, select a *Variants* data node and then click the **Combine variants** from the task menu. The task dialog (Figure 2) will allow you to select a second *Variants* data node to be combined with the first. The selection allows for only one other data node to be used in the task. If there are no other valid variant tasks available within the project, a message stating "No connections to upstream task found" will be displayed.

<figure><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-8749050273f7a239389931e3097e33c42fe320bc%2Fimage%20(87).png?alt=media" alt=""><figcaption><p>Figure 2. Selecting a variant node for use in the Combine variants task</p></figcaption></figure>

Currently, this is the only task in Partek Flow that requires two *input* data nodes and then generates two *output* data nodes.

## Additional Assistance

If you need additional assistance, please visit [our support page](http://www.partek.com/support) to submit a help ticket or find phone numbers for regional support.
