Filter Annotations on Name

The name filter allows you to use a list of names as input to create a new track only with these names. This is useful if you wish to filter your variants so that only those within certain genes are reported.

A flow of work could be to first create a new gene track containing only the genes of interest using this tool. Then use the Filter Based on Overlap tool (see Filter Based on Overlap) to filter the variants based on the track containing the genes of interest.

        Tools | Utility Tools (Image utilities_closed_16_n_p) | Tracks (Image track_tools) | Filter Tracks (Image filter_tracks_folder_open_16_h_p) | Filter Annotations on Name (Image filter_name_16_n_p)

Select the track you wish to filter and click Next.

Image filter_on_names_step2
Figure 27.25: Specify names for filtering.

As shown in figure 27.25, you can specify a list of annotation names. Each name should be on a separate line.

In the bottom part of the wizard you can choose whether you wish to keep the annotations that are found, or whether you wish to exclude them. In the use case described above a track was created with only those annotations being kept that matched the specified names. Sometimes the other option may be useful, for example if you wish to screen certain categories of genes from the analysis (for example excluding all cancer genes).