| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8. |
| 2 |
.TH BLOOMFILTER.SH "1" "March 2019" "bloomfilter.sh 38.43" "User Commands" |
| 3 |
.SH NAME |
| 4 |
bloomfilter.sh \- Filters reads potentially sharing a kmer with a reference |
| 5 |
.SH SYNOPSIS |
| 6 |
.B bloomfilter.sh |
| 7 |
\fI\,in=<input file> out=<nonmatches> outm=<matches> ref=<reference>\/\fR |
| 8 |
.SH DESCRIPTION |
| 9 |
Filters reads potentially sharing a kmer with a reference. |
| 10 |
The more memory, the higher the accuracy. Reads going to outu are guaranteed |
| 11 |
to not match the reference, but reads going to outm might may or may not |
| 12 |
match the reference. |
| 13 |
.SH EXAMPLES |
| 14 |
bloomfilter.sh in=reads.fq outm=nonhuman.fq outm=human.fq k=31 minhits=3 ref=human.fa |
| 15 |
.PP |
| 16 |
Error correction and depth filtering can be done simultaneously. |
| 17 |
.SH OPTIONS |
| 18 |
.SS File parameters: |
| 19 |
.TP |
| 20 |
in=<file> |
| 21 |
Primary input, or read 1 input. |
| 22 |
.TP |
| 23 |
in2=<file> |
| 24 |
Read 2 input if reads are in two files. |
| 25 |
.TP |
| 26 |
outm=<file> |
| 27 |
(out) Primary matched read output. |
| 28 |
.TP |
| 29 |
outm2=<file> |
| 30 |
(out2) Matched read 2 output if reads are in two files. |
| 31 |
.TP |
| 32 |
outu=<file> |
| 33 |
Primary unmatched read output. |
| 34 |
.TP |
| 35 |
outu2=<file> |
| 36 |
Unmatched read 2 output if reads are in two files. |
| 37 |
.TP |
| 38 |
ref=<file> |
| 39 |
Reference sequence file, or a comma\-delimited list. |
| 40 |
.IP |
| 41 |
For depth\-based filtering, set this to the same as the input. |
| 42 |
.TP |
| 43 |
overwrite=t |
| 44 |
(ow) Set to false to force the program to abort rather than |
| 45 |
overwrite an existing file. |
| 46 |
.SS Hashing parameters: |
| 47 |
.TP |
| 48 |
k=31 |
| 49 |
Kmer length. |
| 50 |
.TP |
| 51 |
hashes=2 |
| 52 |
Number of hashes per kmer. Higher generally reduces |
| 53 |
false positives at the expense of speed. |
| 54 |
.TP |
| 55 |
minprob=0.5 |
| 56 |
Ignore reference kmers with probability of being correct |
| 57 |
below this (affects fastq references only). |
| 58 |
.TP |
| 59 |
memmult=1.0 |
| 60 |
Fraction of free memory to use for Bloom filter. 1.0 should |
| 61 |
generally work; if the program crashes with an out of memory |
| 62 |
error, set this lower. Higher increases specificity. |
| 63 |
.TP |
| 64 |
cells= |
| 65 |
Option to set the number of cells manually. By default this |
| 66 |
will be autoset to use all available memory. |
| 67 |
The only reason |
| 68 |
to set this is to ensure deterministic output. |
| 69 |
.TP |
| 70 |
seed=0 |
| 71 |
This will change the hash function used. |
| 72 |
.SS Reference\-matching parameters: |
| 73 |
.TP |
| 74 |
minhits=3 |
| 75 |
Consecutive kmer hits for a read to be considered matched. |
| 76 |
.IP |
| 77 |
Higher reduces false positives at the expense of sensitivity. |
| 78 |
.TP |
| 79 |
mincount=1 |
| 80 |
Minimum number of times a read kmer must occur in the |
| 81 |
reference to be considered a match. |
| 82 |
.TP |
| 83 |
requireboth=f |
| 84 |
Require both reads in a pair to match the ref in order to go |
| 85 |
to outm. |
| 86 |
.IP |
| 87 |
By default, pairs go to outm if either matches. |
| 88 |
.SS Java Parameters |
| 89 |
.TP |
| 90 |
\fB\-Xmx\fR |
| 91 |
This will set Java's memory usage, overriding autodetection. |
| 92 |
.IP |
| 93 |
\fB\-Xmx20g\fR will specify 20 gigs of RAM, and \fB\-Xmx200m\fR will |
| 94 |
specify 200 megs. The max is typically 85% of physical memory. |
| 95 |
.TP |
| 96 |
\fB\-eoom\fR |
| 97 |
This flag will cause the process to exit if an out\-of\-memory |
| 98 |
exception occurs. |
| 99 |
Requires Java 8u92+. |
| 100 |
.TP |
| 101 |
\fB\-da\fR |
| 102 |
Disable assertions. |
| 103 |
.SH AUTHOR |
| 104 |
Written by Brian Bushnell |
| 105 |
.P |
| 106 |
Please contact Brian Bushnell at [email protected] if you encounter any problems. |
| 107 |
.P |
| 108 |
This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program. |