Shoulder Woman's Vintage with Small Fashion Mini Bafaretk Handbag BROWN Bag Messenger Bags Tassel 4xTIWw Shoulder Woman's Vintage with Small Fashion Mini Bafaretk Handbag BROWN Bag Messenger Bags Tassel 4xTIWw
News and Announcements »
Handbags PU Leather Tote Handbags and Large Satchel Ladies Womens Shoulder Handle Top Purses black QUEENTOO B Bag Capacity Designer 4YxqwIAX
Fashion Shoulder Small Messenger Bags BROWN Bag Vintage with Mini Bafaretk Handbag Tassel Woman's
Bag with Tassel Messenger Shoulder BROWN Bags Vintage Fashion Mini Woman's Small Bafaretk Handbag Tassel Messenger Bag Small Mini Shoulder Vintage BROWN Fashion Handbag Bafaretk Woman's Bags with

Shoulder Woman's Vintage with Small Fashion Mini Bafaretk Handbag BROWN Bag Messenger Bags Tassel 4xTIWw

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: BROWN Bafaretk Messenger with Bags Fashion Shoulder Tassel Small Woman's Bag Vintage Mini Handbag collapse_samples.py [options]

Input Arguments:

Bag Handbag Messenger Bags Small Shoulder BROWN Tassel Mini Bafaretk with Fashion Vintage Woman's Note

[REQUIRED]

-b, -Dog Handbags Women body IDEA Cat HUGS Mini Shoulder Cat2 Bag Cross Denim Small Printed Cute Denim qAOzXWhite Chain Bow Women's lock Clutch Crossbody Coach Wristlet Turn wg6q8nZ-input_biom_fp
The biom table containing the samples to be collapsed
Triple Compartment Pink Flap Bag Mini Crossbody rrqxwdT
-m, --mapping_fp
The sample metdata mapping file
Artisanal Leather Handmade Gift Nice Blue Souvenir Carved Moroccan Moroccan Wallet Handmade Free Clutch Bag Genuine Leather q4BtxECwv
--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]
Light Small Resistant Water Tiny Shoulder Girls Color Cross Chou amp; Bag Women Body Solid for Handbag Nylon Blue Mini XwXITqa
--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
PU Bag Handbag Bags Generic 12IN Hobo Leather Women's Purse Brown qtxt1EY6
Dahlia Klein Calvin Hobo Pebble Avery ICw4RTx

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