---
name: "sand_filter_kernel"
section: "1"
platform: "linux"
package: "coop-computing-tools"
version: "1:7.14.5-1+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/sand_filter_kernel"
---

# sand\_filter\_kernel(1)

filter read sequences sequentially

## NAME

**sand\_filter\_kernel** - filter read sequences sequentially

## SYNOPSIS

FCsand\_filter\_kernel \[options\] *\<sequence file\>* \[second sequence file\]FT

## DESCRIPTION

**sand\_filter\_kernel** filters a list of genomic sequences, and produces a list of candidate pairs for more detailed alignment. It is not normally called by the user, but is invoked by **[sand\_filter\_master(1)](/sand_filter_master/1.md)** for each sequential step of a distributed alignment workload.

If one sequence file is given, **sand\_filter\_kernel** will look for similarities between all sequences in that file.  If given two files, it will look for similarities between sequences in the first file and the second file.  The output is a list of candidate pairs, listing the name of the candidate sequences and a starting position for alignment.

## OPTIONS

- **-s *\<size\>***

  Size of "rectangle" for filtering. You can determine the size dynamically by passing in d rather than a number.

- **-r *\<file\>***

  A meryl file of repeat mers to be ignored.

- **-k *\<size\>***

  The k-mer size to use in candidate selection (default is 22).

- **-w *\<number\>***

  The minimizer window size to use in candidate selection (default is 22).

- **-o *\<filename\>***

  The output file. Default is stdout.

- **-d *\<subsystem\>***

  Enable debug messages for this subsystem.  Try **-d all** to start.

- **-v**

  Show version string.

- **-h**

  Show help screen.

## EXIT STATUS

On success, returns zero.  On failure, returns non-zero.

## EXAMPLES

Users do not normally invoke **sand\_filter\_kernel** directly.  Instead, options such as the k-mer size, minimizer window, and repeat file may be specified by the same arguments to **[sand\_filter\_master(1)](/sand_filter_master/1.md)** instead.  For example, to run a filter with a k-mer size of 20, window size of 24, and repeat file of FCmydata.repeatsFT:

```

```

-

  % sand\_filter\_master -k 20 -w 24 -r mydata.repeats mydata.cfa mydata.cand

## COPYRIGHT

The Cooperative Computing Tools are Copyright (C) 2022 The University of Notre Dame.  This software is distributed under the GNU General Public License.  See the file COPYING for details.

## SEE ALSO

- •

  **Cooperative Computing Tools Documentation**

- •

  **SAND User Manual**

- •

  **[sand\_filter\_master(1)](/sand_filter_master/1.md)**  **[sand\_filter\_kernel(1)](/sand_filter_kernel/1.md)**  **[sand\_align\_master(1)](/sand_align_master/1.md)**  **[sand\_align\_kernel(1)](/sand_align_kernel/1.md)**  **[sand\_compress\_reads(1)](/sand_compress_reads/1.md)**  **[sand\_uncompress\_reads(1)](/sand_uncompress_reads/1.md)**  **[work\_queue\_worker(1)](/work_queue_worker/1.md)**
