| 1 |
.TH KMER-MASK "1" "May 2015" "kmer-mask 0~20150520+2004" "User Commands" |
| 2 |
.SH NAME |
| 3 |
kmer-mask \- mask and filter set of nucleotide sequences by kmer content |
| 4 |
.SH SYNOPSIS |
| 5 |
.B kmer\-mask |
| 6 |
.RB { \-novel | \-confirmed } |
| 7 |
.RB [ \-mdb |
| 8 |
.IR mer-database ] |
| 9 |
.RB [ \-ms |
| 10 |
.IR mer-size ] |
| 11 |
.RB [ \-edb |
| 12 |
.IR exist-database ] |
| 13 |
.RB [ \-m |
| 14 |
.IR min-size ] |
| 15 |
.RB [ \-e |
| 16 |
.IR extend-size] |
| 17 |
.RB [ \-lowthreshold |
| 18 |
.IR l ] |
| 19 |
.RB [ \-highthreshold |
| 20 |
.IR h ] |
| 21 |
.RB [ \-t |
| 22 |
.IR threads ] |
| 23 |
.RB [ \-v ] |
| 24 |
.RB [ \-h |
| 25 |
.IR histogram ] |
| 26 |
.RB [ \-promote | \-demote | \-discard ] |
| 27 |
.BI \-1 \0in.1.fastq |
| 28 |
.RB [ \-2 |
| 29 |
.IR in.2.fastq ] |
| 30 |
.BI \-o \0output-prefix |
| 31 |
.SH DESCRIPTION |
| 32 |
Mask and filter set of sequences (presumed to be reads) by kmer content. |
| 33 |
Masking can be done to retain novel sequence not in the database, or to retain |
| 34 |
confirmed sequence present in the database. |
| 35 |
Filtering will segregate sequences fully, partially or not masked. |
| 36 |
.SH OPTIONS |
| 37 |
.TP |
| 38 |
.BI \-mdb \0mer\-database |
| 39 |
load masking kmers from |
| 40 |
.BR meryl (1) |
| 41 |
.I mer\-database |
| 42 |
.TP |
| 43 |
.BI \-ms \0mer\-size |
| 44 |
.TP |
| 45 |
.BI \-edb \0exist\-database |
| 46 |
save masking kmers to an |
| 47 |
.BR existDB (1) |
| 48 |
file |
| 49 |
.I exist\-database |
| 50 |
for faster restarts |
| 51 |
.TP |
| 52 |
.BI \-1 \0in.1.fastq |
| 53 |
.TP |
| 54 |
.BI \-2 \0in.2.fastq |
| 55 |
input reads files in fastq, fastq.gz, fastq.bz2 or fastq.xz format. |
| 56 |
The second is optional, but messes up the output classification if not present. |
| 57 |
.TP |
| 58 |
.BI \-o \0out |
| 59 |
.RS |
| 60 |
prefix for output reads |
| 61 |
.TP |
| 62 |
\fIout\fR.fullymasked.[12].fastq |
| 63 |
reads with below 'lowthreshold' bases retained |
| 64 |
.TP |
| 65 |
.IR out .partiallymasked.[12].fastq |
| 66 |
reads in between |
| 67 |
.TP |
| 68 |
.IR out .retained.[12].fastq |
| 69 |
reads with more than 'hightreshold' bases retained |
| 70 |
.TP |
| 71 |
.IR out .discarded.[12].fastq |
| 72 |
reads with conflicting status |
| 73 |
.RE |
| 74 |
.TP |
| 75 |
.BI \-m \0min\-size |
| 76 |
ignore database hits below this many consecutive kmers (0) |
| 77 |
.TP |
| 78 |
.BI \-e \0extend\-size |
| 79 |
extend database hits across this many missing kmers (0) |
| 80 |
.TP |
| 81 |
.B \-novel |
| 82 |
RETAIN novel sequence not present in the database |
| 83 |
.TP |
| 84 |
.B \-confirmed |
| 85 |
RETAIN confirmed sequence present in the database |
| 86 |
.TP |
| 87 |
.B \-promote |
| 88 |
promote the lesser RETAINED read to the status of the more RETAINED read |
| 89 |
read1=fullymasked and read2=partiallymasked \-> both are partiallymasked |
| 90 |
.TP |
| 91 |
.B \-demote |
| 92 |
demote the more RETAINED read to the status of the lesser RETAINED read |
| 93 |
read1=fullymasked and read2=partiallymasked \-> both are fullymasked |
| 94 |
.TP |
| 95 |
.B \-discard |
| 96 |
discard pairs with conflicting status (DEFAULT) |
| 97 |
read1=fullymasked and read2=partiallymasked \-> both are discarded |
| 98 |
.SS "stats on stderr, number of sequences with amount RETAINED:" |
| 99 |
.TP |
| 100 |
.BI \-lowthreshold \0t |
| 101 |
(0.3333) |
| 102 |
.TP |
| 103 |
.BI \-highthreshold \0t |
| 104 |
(0.6667) |
| 105 |
.TP |
| 106 |
.BI \-h \0histogram |
| 107 |
write a histogram of the amount of sequence RETAINED |
| 108 |
.TP |
| 109 |
.BI \-t \0t |
| 110 |
use |
| 111 |
.I t |
| 112 |
compute threads |
| 113 |
.TP |
| 114 |
\fB\-v\fR |
| 115 |
show progress |
| 116 |
.SH SEE ALSO |
| 117 |
.BR meryl (1) |
| 118 |
.BR existDB (1) |