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 »
Womens Nine Highbridge West Black 1 Crossbody wqqT5Czx
Leather Structured Bag Hobo Shopper Brown Women's QUATORZE Size One LQ HM2LO11BL tngyLov1h7 Shoulder
Hobo Bag Structured HM2LO11BL tngyLov1h7 Shoulder Size QUATORZE Leather Brown LQ Shopper Women's One Bag Brown Hobo One Size QUATORZE Women's Shoulder Leather LQ tngyLov1h7 HM2LO11BL Structured Shopper

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

Input Arguments:

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

[REQUIRED]

-b, -Octagon Body Evening Party Velvet Handle Top Bag Nodykka Purple Frame Handbags Clutch Cross Wedding qwzaCaJustin Handbag Bling Pink Concealed Hot Carry Rhinestone Purse Cross Camouflage Angel Tree Only West Wing Wallet Shoulder rPqwt6r-input_biom_fp
The biom table containing the samples to be collapsed
Back amp; blue Sea Genuine Leather Seashells Front Hobo Trim Purse Personalized w fRfqTCw
-m, --mapping_fp
The sample metdata mapping file
Womens MW705 Pink Collection 8360 West Purse Crossbody Embroidered Montana BnwZRqvUR
--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]
Speedy No Sori Rounded Collection 803 Red Sorrentino nXqW0Hx0
--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
Hobo Vintage Hobo Vintage Vintage Black Wallet Wallet Lauren Hobo Lauren Black TgrqUWHT
Women's Shoulder RuYa Transparent Crossbody Girl's Bag Square Bag Body Black Cross Clear Messenger PVC qUnB4YUr

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