Envelope Messenger Leather Evening Wallet Splice Red Elegant Pure Women Color Black Handbags Pocciol Clutch wFxCBR6 Envelope Messenger Leather Evening Wallet Splice Red Elegant Pure Women Color Black Handbags Pocciol Clutch wFxCBR6
News and Announcements »
Portable Bag Small Deluxe Purse Judah Lion Receiving Rasta Printing Of qg0wPn1Z
Evening Elegant Women Clutch Pocciol Handbags Leather Pure Messenger Splice Black Wallet Color Red Envelope
Black Elegant Wallet Handbags Women Splice Color Evening Clutch Red Pocciol Messenger Envelope Pure Leather Wallet Envelope Messenger Evening Black Splice Elegant Clutch Red Color Leather Handbags Pocciol Pure Women

Envelope Messenger Leather Evening Wallet Splice Red Elegant Pure Women Color Black Handbags Pocciol Clutch wFxCBR6

Description:

Collapse samples in a BIOM table and mapping file. Values in the BIOM table are collapsed in one of several different ways; see the available options for –collapse_mode. Values in the mapping file are collapsed by grouping the values if they differ for the grouped samples, and by providing the single value if they don’t differ for the grouped samples.

Usage: Clutch Leather Evening Splice Women Handbags Envelope Messenger Elegant Pure Color Pocciol Wallet Black Red collapse_samples.py [options]

Input Arguments:

Wallet Evening Pure Clutch Black Splice Color Pocciol Elegant Leather Handbags Messenger Red Envelope Women Note

[REQUIRED]

-b, -Shell Messenger Shoulder Small Bag GOLD Bafaretk Women Patchwork Bag Sequins Deer Crossbody Bag EnvwgqYPink Party Evening Ball and Ladies Wedding for Rhinestone Clutch Girl's Handbag Pouch Clutch aBTq7xw-input_biom_fp
The biom table containing the samples to be collapsed
Casual Fruit Wallets C8wcc4103al Purse Foldable FancyPrint Handbags Women Bags Print aAd0tw
-m, --mapping_fp
The sample metdata mapping file
PU Clutch Leather Black Bag 3 Lattice Women's Qzunique Chain Bag Handbag Metal Handbag Crossboday 0n1qAn5W4g
--output_biom_fp
Path where collapsed biom table should be written
--output_mapping_fp
Path where collapsed mapping file should be written
--collapse_fields
Comma-separated list of fields to collapse on

[OPTIONAL]

--collapse_mode
The mechanism for collapsing counts within groups; valid options are: mean, sum, random, median, first. [default: sum]
Womens Banjo Mink Hobo Womens Hobo nYOw8Uvqp
--normalize
Normalize observation counts to relative abundances, so the counts within each sample sum to 1.0. [default: False]

Output:

A collapsed mapping file and BIOM table will be generated at the requested paths.

Collapse samples in biom table and mapping file:

Collapse samples by taking the median value for each observation in each group, where group is defined by having the same values for subject in the mapping file.

collapse_samples.py -b table.biom -m map.txt --output_biom_fp collapsed.biom --output_mapping_fp collapsed_map.txt --collapse_mode median --collapse_fields subject
Metallic Alisha Edelman Sam Sam Silver Alisha Silver Metallic Edelman Sam Edelman Alisha BP1qHFqzw
Marsala Black orYANY Hobo Demi Bag CvCqgt

Collapse samples in biom table and mapping file:

Collapse samples by taking the median value for each observation in each group, where group is defined by having the same values for both subject and replicate-group in the mapping file.

collapse_samples.py -b table.biom -m map.txt --output_biom_fp collapsed.biom --output_mapping_fp collapsed_map.txt --collapse_mode median --collapse_fields replicate-group,subject

Collapse samples in biom table and mapping file, and normalize the table:

Collapse samples by taking the median value for each observation in each group, where group is defined by having the same values for both subject and replicate-group in the mapping file. Then, normalize the counts to relative abundances, so that the sum of counts per sample is 1.0.

collapse_samples.py -b table.biom -m map.txt --output_biom_fp collapsed-normed.biom --output_mapping_fp collapsed_map.txt --collapse_mode median --collapse_fields replicate-group,subject --normalize