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 45 46 47 48 49 50 51 52 53 54 55 56
|
.. _count_seqs:
.. index:: count_seqs.py
*count_seqs.py* --
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**Description:**
**Usage:** :file:`count_seqs.py [options]`
**Input Arguments:**
.. note::
**[REQUIRED]**
-i, `-`-input_fps
The input filepaths (comma-separated)
**[OPTIONAL]**
-o, `-`-output_fp
The output filepath [default: write to stdout]
`-`-suppress_errors
Suppress warnings about missing files [default: False]
**Output:**
Count the sequences in a fasta file and write results to stdout.
::
count_seqs.py -i in.fasta
Count the sequences in a fasta file and a fastq file and write results to file. Note that fastq files can only be processed if they end with .fastq -- all other files are assumed to be fasta.
::
count_seqs.py -i in1.fasta,in2.fastq -o seq_counts.txt
Count the sequences all .fasta files in current directory and write results to stdout. Note that -i option must be quoted.
::
count_seqs.py -i "*.fasta"
|