obicount: counts the number of sequence records¶
obicount counts the number of sequence records and/or the sum of the count attributes.
Example:
> obicount seq.fastaPrints the number of sequence records contained in the
seq.fastafile and the sum of theircountattributes.
obicount specific options¶
-
-a,--all¶ - Prints only the sum of
countattributes. If a sequence has no count attribute, its default count is 1.Example:
> obicount -a seq.fasta
For all sequence records contained in the
seq.fastafile, prints only the sum ofcountattributes.
-
-s,--sequence¶ - Prints only the number of sequence records.
Example:
> obicount -s seq.fasta
Prints only the number of sequence records contained in the
seq.fastafile.
Options to specify input format¶
Restrict the analysis to a sub-part of the input file¶
-
--skip<N>¶ The N first sequence records of the file are discarded from the analysis and not reported to the output file
-
--only<N>¶ Only the N next sequence records of the file are analyzed. The following sequences in the file are neither analyzed, neither reported to the output file. This option can be used conjointly with the –skip option.