.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8. .TH BLOOMFILTER.SH "1" "March 2019" "bloomfilter.sh 38.43" "User Commands" .SH NAME bloomfilter.sh \- Filters reads potentially sharing a kmer with a reference .SH SYNOPSIS .B bloomfilter.sh \fI\,in= out= outm= ref=\/\fR .SH DESCRIPTION Filters reads potentially sharing a kmer with a reference. The more memory, the higher the accuracy. Reads going to outu are guaranteed to not match the reference, but reads going to outm might may or may not match the reference. .SH EXAMPLES bloomfilter.sh in=reads.fq outm=nonhuman.fq outm=human.fq k=31 minhits=3 ref=human.fa .PP Error correction and depth filtering can be done simultaneously. .SH OPTIONS .SS File parameters: .TP in= Primary input, or read 1 input. .TP in2= Read 2 input if reads are in two files. .TP outm= (out) Primary matched read output. .TP outm2= (out2) Matched read 2 output if reads are in two files. .TP outu= Primary unmatched read output. .TP outu2= Unmatched read 2 output if reads are in two files. .TP ref= Reference sequence file, or a comma\-delimited list. .IP For depth\-based filtering, set this to the same as the input. .TP overwrite=t (ow) Set to false to force the program to abort rather than overwrite an existing file. .SS Hashing parameters: .TP k=31 Kmer length. .TP hashes=2 Number of hashes per kmer. Higher generally reduces false positives at the expense of speed. .TP minprob=0.5 Ignore reference kmers with probability of being correct below this (affects fastq references only). .TP memmult=1.0 Fraction of free memory to use for Bloom filter. 1.0 should generally work; if the program crashes with an out of memory error, set this lower. Higher increases specificity. .TP cells= Option to set the number of cells manually. By default this will be autoset to use all available memory. The only reason to set this is to ensure deterministic output. .TP seed=0 This will change the hash function used. .SS Reference\-matching parameters: .TP minhits=3 Consecutive kmer hits for a read to be considered matched. .IP Higher reduces false positives at the expense of sensitivity. .TP mincount=1 Minimum number of times a read kmer must occur in the reference to be considered a match. .TP requireboth=f Require both reads in a pair to match the ref in order to go to outm. .IP By default, pairs go to outm if either matches. .SS Java Parameters .TP \fB\-Xmx\fR This will set Java's memory usage, overriding autodetection. .IP \fB\-Xmx20g\fR will specify 20 gigs of RAM, and \fB\-Xmx200m\fR will specify 200 megs. The max is typically 85% of physical memory. .TP \fB\-eoom\fR This flag will cause the process to exit if an out\-of\-memory exception occurs. Requires Java 8u92+. .TP \fB\-da\fR Disable assertions. .SH AUTHOR Written by Brian Bushnell .P Please contact Brian Bushnell at bbushnell@lbl.gov if you encounter any problems. .P This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program.