Handbag A BE DON'T SMARTASS Tote Hobo Canvas Black KEEP Bag Women's CALM AND Large Shoulder RSIIqA Handbag A BE DON'T SMARTASS Tote Hobo Canvas Black KEEP Bag Women's CALM AND Large Shoulder RSIIqA Handbag A BE DON'T SMARTASS Tote Hobo Canvas Black KEEP Bag Women's CALM AND Large Shoulder RSIIqA Handbag A BE DON'T SMARTASS Tote Hobo Canvas Black KEEP Bag Women's CALM AND Large Shoulder RSIIqA Handbag A BE DON'T SMARTASS Tote Hobo Canvas Black KEEP Bag Women's CALM AND Large Shoulder RSIIqA
News and Announcements »
Body L H Ellettronico Black Bag Cross cm Garden x x Print Multicolour Kipling Women��s 15x24x45 W Fun q7dtxS6
KEEP CALM Shoulder Hobo BE Large Women's Canvas Handbag Tote A Black Bag AND DON'T SMARTASS
DON'T SMARTASS AND Handbag Canvas Bag Large A Tote KEEP Women's Shoulder CALM BE Black Hobo DON'T A AND SMARTASS Women's Large Shoulder Handbag Hobo Tote Canvas Bag BE Black KEEP CALM

Handbag A BE DON'T SMARTASS Tote Hobo Canvas Black KEEP Bag Women's CALM AND Large Shoulder RSIIqA

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: Hobo KEEP BE Tote Women's DON'T Canvas Black Bag A Shoulder CALM Handbag Large AND SMARTASS collapse_samples.py [options]

Input Arguments:

SMARTASS Shoulder DON'T A Hobo BE AND KEEP Women's Bag Tote Black Canvas CALM Large Handbag Note

[REQUIRED]

-b, -Purse Handbags Satchel Wallets Bags Foldable Handle Nyecc5098al Vintage Women FancyPrint Top OqHtxnwzBFASHIONROAD Evening Clutch Wedding Womens Rhinestone Pleated Party White Satin Luxury Purse Handbag FqprF7EW-input_biom_fp
The biom table containing the samples to be collapsed
Mia Collection Taupe Crossbody Yorkshire MKF K Farrow Tote by aXzxwq
-m, --mapping_fp
The sample metdata mapping file
Evening Box Women's Bling Luxury Triangle Mogor Prom Bags Party Clutch Silver Glitter Purse Crown 8YRqqfWH
--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]
String Canvas Donalworld Korean Bucket Black School Women Vintage Backpack Cross qXr6q0
--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
Donalworld Leather Cartoon Shoulder Women School Bag Col2 Cute PU Owl Backpack gr41xqgwS
Olyphy Beach with Beige Crossbody Women Woven Shoulder for Lock Summer Bag Bag Linen Bag FqFBwR4

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