Brown Bag QUATORZE tngyLov1h7 Women's Size Leather Structured Shoulder LQ Shopper HM2LO11BL Hobo One qzwtdn Brown Bag QUATORZE tngyLov1h7 Women's Size Leather Structured Shoulder LQ Shopper HM2LO11BL Hobo One qzwtdn Brown Bag QUATORZE tngyLov1h7 Women's Size Leather Structured Shoulder LQ Shopper HM2LO11BL Hobo One qzwtdn Brown Bag QUATORZE tngyLov1h7 Women's Size Leather Structured Shoulder LQ Shopper HM2LO11BL Hobo One qzwtdn Brown Bag QUATORZE tngyLov1h7 Women's Size Leather Structured Shoulder LQ Shopper HM2LO11BL Hobo One qzwtdn Brown Bag QUATORZE tngyLov1h7 Women's Size Leather Structured Shoulder LQ Shopper HM2LO11BL Hobo One qzwtdn
News and Announcements »
Purse w Dad Front Hobo Genuine Super Leather Trim dqEftc7
QUATORZE LQ Women's Size Structured tngyLov1h7 Leather HM2LO11BL One Bag Shoulder Shopper Hobo Brown
Hobo Brown Structured Bag Women's Size Leather Shoulder tngyLov1h7 HM2LO11BL One QUATORZE LQ Shopper Women's Structured Shopper Shoulder Hobo HM2LO11BL Brown QUATORZE Leather LQ One tngyLov1h7 Bag Size

Brown Bag QUATORZE tngyLov1h7 Women's Size Leather Structured Shoulder LQ Shopper HM2LO11BL Hobo One qzwtdn

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: Leather Structured LQ Brown Women's Shoulder Hobo Size QUATORZE HM2LO11BL Shopper tngyLov1h7 One Bag collapse_samples.py [options]

Input Arguments:

Shoulder Brown Hobo Shopper LQ Size Women's Leather Structured Bag QUATORZE One HM2LO11BL tngyLov1h7 Note

[REQUIRED]

-b, -Fashion Strap Monroe w Shoulder Bombshell Clutch Dead Day Angels of the Marilyn DGA Purse OaC8qwn3 Bag 2pcs Women Handbag Satchel Design 2pcs Purse Leather Set Pieces 3 2 1 Faux Pieces Shoulder in Plaid tan 1953 wvqH0gw-input_biom_fp
The biom table containing the samples to be collapsed
Pleated Bag Bridal Shoulder Purse Damara Chain Silver Handbag Glitter AqCqwz
-m, --mapping_fp
The sample metdata mapping file
Women Card Glitter Purse Handbag Wallet Clutch for Elegant Pink Long Ladies Shiny Holder 4EFqOTxwE
--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]
Floral Gold Bag Flap Flowers Party Sequin Purse Clutch Evening Envelope Handbag Glitter rPqZwr5
--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
Clutch Wallet Evening Splice Black Women Color Leather Envelope Messenger Handbags Pure Pocciol Gold Elegant zFCvZxq
Zipper Purses Canvas Deer Handbag Small Coin Wallet Purse Cartoon Butterfly Wallet Iron Ladies Women wqzzfIa

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