fqc - A FASTA/FASTQ sequence counter
version 1.12.0
fqc [options] [FILE1 FILE2 FILE3...]
This program parses a list of FASTA/FASTQ files printing the number of sequences found in each file. Reads both uncompressed and GZipped files. Default output is the filename, tab, sequence count. Can be changed with options.
The table "key" is the absolute path of each input file, but the printed name can be changed with options.
Print the absolute path of the filename (the absolute path is always the table key, but if relative paths are supplied, they will be printed).
Print the filename without the path.
Print reads number with a "," used as thousand separator
Default output format is the filename and reads counts, tab separated. Options formatting either filename (-a, -b) and reads counts (-d) will still work.
-a
-b
-d
Print a tabular output either tab separated (with -t) or comma separated (with -c).
-t
-c
Print full output in JSON format.
Same as JSON but in "pretty" format.
This feature requires Term::ASCIITable. Print an ASCII-art table like:
.---------------------------------------------------. | # | Name | Seqs | Gz | Parser | +---+--------------------------+------+----+--------+ | 1 | data/comments.fasta | 3 | 0 | FASTX | | 2 | data/comments.fastq | 3 | 0 | FASTQ | | 3 | data/compressed.fasta.gz | 3 | 1 | FASTX | | 4 | data/compressed.fastq.gz | 3 | 1 | FASTQ | '---+--------------------------+------+----+--------'
Sort by field: 'order' (default, that is the order of the input files as supplied by the user), 'count' (number of sequences), 'name' (filename). By default will be descending for numeric fields, ascending for 'path'. See -r, --reverse.
-r, --reverse
Reverse the sorting order.
Force FASTX reader also for files ending by .fastq or .fq (by default would use getFastqRead() )
Increase verbosity
Display this help page
Andrea Telatin <andrea@telatin.com>
This software is Copyright (c) 2019 by Andrea Telatin.
This is free software, licensed under:
The MIT (X11) License
To install FASTX::Reader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FASTX::Reader
CPAN shell
perl -MCPAN -e shell install FASTX::Reader
For more information on module installation, please visit the detailed CPAN module installation guide.