File: fastqSample.rst

package info (click to toggle)
canu 1.8%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,344 kB
  • sloc: cpp: 54,917; perl: 14,134; ansic: 4,020; makefile: 621; sh: 536; python: 102
file content (44 lines) | stat: -rw-r--r-- 1,609 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
fastqSample
~~~~~~

::

  
  usage: fastqSample [opts]
    Input Specification
      -I NAME  input name (prefix) of the reads
      -T T     total number of mate pairs in the input (if not supplied, will be counted)
      -L L     length of a single read (if not supplied, will be determined)
      -U       reads are unmated, expected in *.u.fastq
  
    Output Specification
      -O NAME  output name (prefix) of the reads (default is same as -I)
      -A       automatically include coverage or number of reads in the output name
      -m L     ignore reads shorter than L bases
      -max     don't sample randomly, pick the longest reads
  
    Method 1: specify desired output coverage:
      -g G     genome size
      -c C     desired coverage in the output reads
  
    Method 2: specify desired number of output pairs
      -p N     for mated reads, output 2N reads, or N pairs of reads
               for unmated reads, output N reads
  
    Method 3: specify a desired fraction of the input:
      -f F     output F * T pairs of reads (T as above in -t option)
               0.0 < F <= 1.0
  
    Method 4: specify a desired total length
      -b B     output reads/pairs until B bases is exceeded
  
  
  Samples reads from paired Illumina reads NAME.1.fastq and NAME.2.fastq and outputs:
      NAME.Cx.1.fastq and N.Cx.2.fastq (for coverage based sampling)
      NAME.n=N.1.fastq and N.n=N.2.fastq (for coverage based sampling)
  
  If -T is not supplied, the number of reads will be counted for you.
  
  ERROR: no name supplied with -I.
  ERROR: no method supplied with -c, -p, -f or -b