sand_filter_master(1)
π sand_filter_master β bestie's guide to filtering sequences in parallel π
okay so this is sand_filter_master(1), from the Cooperative Computing Tools manual, and it's literally the glow-up step of the SAND assembler. let's get into it π«Ά
β¨ NAME β¨
sand_filter_master β filter sequences for alignment in parallel. that's the whole vibe. π
πΈ SYNOPSIS πΈ
sand_filter_master [options] sequences.cfa candidates.cand
π¦ DESCRIPTION π¦
so. sand_filter_master is the first step in the SAND assembler, no cap. it reads in a whole body of sequences and then uses a linear-time algorithm to produce a list of candidate sequences that sand_align_master(1) is gonna align in detail later. it's giving β¨preprocessing eraβ¨.
this program uses the Work Queue system to distribute tasks among processors. so after you start sand_filter_master, you must start a bunch of work_queue_worker(1) processes on remote machines. the workers will then connect back to the master process and begin executing tasks. the actual filtering is performed by sand_filter_kernel(1) on each machine. teamwork makes the dream work fr fr π§
π OPTIONS π
-p <port>β port number for the queue master to listen on. (default:9123)-s <size>β number of sequences in each filtering task. (default:1000)-r <file>β a meryl file of repeat mers to be filtered out.-R <n>β automatically retry failed jobs up to n times. (default:100)-k <size>β the k-mer size to use in candidate selection (default is22).-w <size>β the minimizer window size. (default is22).-uβ if set, do not unlink temporary binary output files.-c <file>β checkpoint filename; will be created if necessary.-d <flag>β enable debugging for this subsystem. (try-d allto start.)-F <number>β Work Queue fast abort multiplier. (default is10.)-Z <file>β select port at random and write it out to this file.-o <file>β send debugging to this file.-vβ show version string-hβ show this help screen
π EXIT STATUS π
on success, returns zero. on failure, returns non-zero. that's it, that's the whole thing. π
π EXAMPLES π
if you begin with a FASTA formatted file of reads, use sand_compress_reads(1) to produce a compressed FASTA (cfa) file. to run filtering sequentially, start a single work_queue_worker(1) process in the background. then, invoke sand_filter_master.
% sand_compress_reads mydata.fasta mydata.cfa
% work_queue_worker localhost 9123 &
% sand_filter_master mydata.cfa mydata.cand
to speed up the process, run more work_queue_worker(1) processes on other machines, or use condor_submit_workers(1) or sge_submit_workers(1) to start hundreds of workers in your local batch system. hundreds. imagine the main character energy π₯
π COPYRIGHT π
The Cooperative Computing Tools are Copyright (C) 2005-2019 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_kernel(1)sand_align_master(1)sand_align_kernel(1)sand_compress_reads(1)sand_uncompress_reads(1)work_queue_worker(1)
and that's the tea, bestie π this whole page is CCTools 8.0.0 DEVELOPMENT era, and yeah the header said sand_filter_master(1) at the top and the footer said the same thing at the bottom, which is honestly so consistent of it π go forth and filter, you absolute icon πβ¨
π¦ where this page comes from
- debian bookworm: coop-computing-tools 9.9-2+b4 Β· GPL-2.0-only
- ubuntu jammy: coop-computing-tools 9.9-2ubuntu3 Β· GPL-2.0-only
- ubuntu noble: coop-computing-tools 9.9-4ubuntu4 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms