4 fastq-sample - sample random reads from a fastq file
7 .B fastq-sample [OPTION]... [[FILE] [FILE2]]
10 Given a FASTQ file, random reads are sampled and output, with or without
11 replacement, according to the '-r' option. The number of reads to sample can be
12 specifed with the '-n' option, or in terms of the proportion of total reads
15 If two files are given, the input is treated as paired-end, and matching pairs
16 are sampled and output into seperate files: [prefix].1.fastq and
17 [prefix].2.fastq, where [prefix] is set with the '-o' option.
22 The number of reads to sample and output
25 The number of reads to sample in terms of the proportion of total reads. If
26 sampling with replacement, this number may be greater than 1.0.
28 \fB\-o\fR, \fB\-\-output=PREFIX\fR
29 The filename prefix to which output should be written. If single-end data is
30 being sampled, the output file is [PREFIX].fastq, and with paired-end,
31 [PREFIX].1.fastq and [PREFIX].2.fastq.
33 \fB\-r\fR, \fB\-\-with\-replacement\fR
34 Sample with replacement. (By default, sampling is done without replacement.)
36 \fB\-h\fR, \fB\-\-help\fR
37 Output a help message and exit.
39 \fB\-V\fR, \fB\-\-version\fR
40 Output version information and exit.
44 Written by Daniel C. Jones <dcjones@cs.washington.edu>