File: obicount.rst

package info (click to toggle)
obitools 1.2.13%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,652 kB
  • sloc: python: 18,199; ansic: 1,542; makefile: 98
file content (42 lines) | stat: -rw-r--r-- 1,047 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
.. automodule:: obicount


   :py:mod:`obicount` specific options
   -----------------------------------  

   .. cmdoption::  -a, --all   

                   Prints only the sum of ``count`` attributes.
                   If a sequence has no `count` attribute, its default count is 1.

      *Example:*
    
         .. code-block:: bash
    
           > obicount -a seq.fasta
       
        For all sequence records contained in the ``seq.fasta`` file, prints only 
        the sum of ``count`` attributes.
   

   .. cmdoption::  -s, --sequence  

                   Prints only the number of sequence records.

      *Example:*
    
        .. code-block:: bash
    
           > obicount -s seq.fasta
    
        Prints only the number of sequence records contained in the ``seq.fasta`` file.

   .. include:: ../optionsSet/inputformat.txt

   .. include:: ../optionsSet/defaultoptions.txt

   :py:mod:`obicount` added sequence attribute
   -------------------------------------------  

           - :doc:`count <../attributes/count>`