Scroll to navigation

OBISTAT(1) OBITools OBISTAT(1)

NAME

obistat - description of obistat

obistats computes basic statistics for attribute values of sequence records. The sequence records can be categorized or not using one or several -c options. By default, only the number of sequence records and the total count are computed for each category. Additional statistics can be computed for attribute values in each category, like:

  • minimum value (-m option)
  • maximum value (-M option)
  • mean value (-a option)
  • variance (-v option)
  • standard deviation (-s option)



The result is a contingency table with the different categories in rows, and the computed statistics in columns.

OBISTAT SPECIFIC OPTIONS

Attribute used to categorize the sequence records. Several -c options can be combined.

TIP:

The <KEY> can be simply the key of an attribute, or a Python expression similarly to the -p option of obigrep.




Example:

> obistat -c sample -c seq_length seq.fasta


This command prints the number of sequence records and total count for each combination of sample and sequence length.




Computes the minimum value of attribute <KEY> for each category.


Example:

> obistat -c sample -m seq_length seq.fastq


This command computes the minimum sequence length observed for each sample.




Computes the maximum value of attribute <KEY> for each category.


Example:

> obistat -c sample -M seq_length seq.fastq


This command computes the maximum sequence length observed for each sample.




Computes the mean value of attribute <KEY> for each category.


Example:

> obistat -c sample -a seq_length seq.fastq


This command computes the mean sequence length observed for each sample.



Computes the variance of attribute <KEY> for each category.

Example:

> obistat -c genus_name -v reverse_error seq.fastq


This command computes the variance of the number of errors observed in the reverse primer for each genus.



Computes the standard deviation of attribute <KEY> for each category.

Example:

> obistat -c genus_name -s reverse_error seq.fastq


This command computes the standard deviation of the number of errors observed in the reverse primer for each genus.




OPTIONS TO SPECIFY INPUT FORMAT

Restrict the analysis to a sub-part of the input file

The N first sequence records of the file are discarded from the analysis and not reported to the output file

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.

Sequence annotated format

Input file is in genbank format.

Input file is in embl format.

Input file is in fasta format (including OBITools fasta extensions).

Input file is in Sanger fastq format (standard fastq used by HiSeq/MiSeq sequencers).

Input file is in fastq format produced by Solexa (Ga IIx) sequencers.

Input file is in ecoPCR format.

Input is an ecoPCR database.

Specifying the sequence type

Input file contains nucleic sequences.

Input file contains protein sequences.

TAXONOMY RELATED OPTIONS

ecoPCR taxonomy Database name

NCBI Taxonomy dump repository name

COMMON OPTIONS

Shows this help message and exits.

Sets logging in debug mode.

OBISTAT USED SEQUENCE ATTRIBUTE

count



AUTHOR

The OBITools Development Team - LECA

COPYRIGHT

2019 - 2015, OBITool Development Team

July 27, 2019 1.02 13