---
name: "qiime2lefse.py"
section: "1"
platform: "linux"
package: "lefse"
version: "1.1.2-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/qiime2lefse.py"
---

# qiime2lefse.py(1)

determine features of organisms, clades, taxonomic units, genes

## NAME

qiime2lefse.py - determine features of organisms, clades, taxonomic units, genes

## DESCRIPTION

usage: qiime2lefse.py \[-h\] \[--in \[INPUT\_FILE\]\] \[--md \[METADATA\_FILE\]\]

- \[--out \[OUTPUT\_FILE\]\] \[-c class attribute\]

  \[-s subclass attribute\] \[-u subject attribute\]

Script will convert QIIME TSV BIOM table for use with lefse. It is imperative that this table has taxa metadata associated with it named 'Consensus Lineage', this can be down with e.g. the follow biom convert script: **----** biom convert **-i** otu.biom **-o** otu.txt **--to-tsv** **--header-key** Taxonomy **--outputmetadata-id** 'Consensus Lineage'

### optional arguments:

- **-h**, **--help**

  show this help message and exit

- **--in** \[INPUT\_FILE\]

  the Qiime OTU table file \[ stdin if not present \]

- **--md** \[METADATA\_FILE\]

  the Qiime OTU table file \[ only OTU table without metadata if not present \]

- **--out** \[OUTPUT\_FILE\]

  the output file \[stdout if not present\]

- **-c** class attribute

  the attribute to use as class

- **-s** subclass attribute

  the attribute to use as subclass

- **-u** subject attribute

  the attribute to use as subject

## AUTHOR

This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program.
