File: make_otu_table.rst

package info (click to toggle)
qiime 1.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 29,704 kB
  • sloc: python: 77,837; haskell: 379; sh: 113; makefile: 103
file content (52 lines) | stat: -rw-r--r-- 2,088 bytes parent folder | download
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
.. _make_otu_table:

.. index:: make_otu_table.py

*make_otu_table.py* -- Make OTU table
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

**Description:**

The script `make_otu_table.py <./make_otu_table.html>`_ tabulates the number of times an OTU is found in each sample, and adds the taxonomic predictions for each OTU in the last column if a taxonomy file is supplied.


**Usage:** :file:`make_otu_table.py [options]`

**Input Arguments:**

.. note::

	
	**[REQUIRED]**
		
	-i, `-`-otu_map_fp
		Path to the input OTU map (i.e., the output from `pick_otus.py <./pick_otus.html>`_)
	
	**[OPTIONAL]**
		
	-t, `-`-taxonomy
		Path to taxonomy assignment, containing the assignments of \ taxons to sequences (i.e., resulting txt file from `assign_taxonomy.py <./assign_taxonomy.html>`_)  [default: None]
	-o, `-`-output_fp
		The output filepath
	-e, `-`-exclude_otus_fp
		Path to a file listing OTU identifiers that should not be included in the OTU table (e.g., the output of `identify_chimeric_seqs.py <./identify_chimeric_seqs.html>`_) or a fasta file where seq ids should be excluded (e.g., failures fasta file from `align_seqs.py <./align_seqs.html>`_)


**Output:**

The output of `make_otu_table.py <./make_otu_table.html>`_ is a tab-delimited text file, where the columns correspond to Samples and rows correspond to OTUs and the number of times a sample appears in a particular OTU.


Make an OTU table from an OTU map (i.e., result from `pick_otus.py <./pick_otus.html>`_) and a taxonomy assignment file (i.e., result from `assign_taxonomy.py <./assign_taxonomy.html>`_). Write the output file to otu_table.txt.

::

	make_otu_table.py -i otu_map.txt -t tax_assignments.txt -o otu_table.txt

Make an OTU table, excluding the sequences listed in chimeric_seqs.txt

::

	make_otu_table.py -i otu_map.txt -o otu_table.txt -e chimeric_seqs.txt