Crate fasten_head

source
Expand description

get the first N reads or bases

§Examples

Example 1: Get the first 10 reads

fasten_head -r 10 < in.fq > out.fq

Example 2: Get the first 100 bases

fasten_head -b 100 < in.fq > out.fq

§Usage

Usage: fasten_head [-h] [-n INT] [-p] [--verbose] [--version] [-r INT] [-b INT]
Options:
    -h, --help          Print this help menu.
    -n, --numcpus INT   Number of CPUs (default: 1)
    -p, --paired-end    The input reads are interleaved paired-end
        --verbose       Print more status messages
        --version       Print the version of Fasten and exit
    -r, --reads INT     Number of reads or pairs of reads to keep, default: 10
    -b, --bases INT     Number of bases to keep, default: 0 (zero for no
                        limit). If bases are reached in the middle of a read,
                        the complete read will still be printed.

Functions§