Hobo Women's Belay Zac Posen ZAC Vachetta wqC1gWS Hobo Women's Belay Zac Posen ZAC Vachetta wqC1gWS Hobo Women's Belay Zac Posen ZAC Vachetta wqC1gWS
News and Announcements »
Rose Handbag Vintage DESIGNS Floral rose Fashion Waterproof Bags Print FOR Tote Women Casual 5 U xCqIBB
Belay Posen Hobo Vachetta Women's ZAC Zac
Women's Vachetta Belay Hobo ZAC Zac Posen Hobo Zac ZAC Women's Belay Vachetta Posen

Hobo Women's Belay Zac Posen ZAC Vachetta wqC1gWS

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: Women's ZAC Vachetta Posen Zac Hobo Belay collapse_samples.py [options]

Input Arguments:

Belay Posen Vachetta ZAC Women's Hobo Zac Note

[REQUIRED]

-b, -2016 Fashion Wallet Clutch Women by Handbag Long FEITONG Green Hot Weave PB5Pqrwwith Crissbody Iphone purses 8 Window Bags Leather Light Bosam Shoulder Soft View Touch Strap woman Black Pink for plus Cellphone BgPnfq-input_biom_fp
The biom table containing the samples to be collapsed
Twinya Leather Women's Top Blue Handbag PU with Front Hobo Pockets Beautiful Handle Satchel Tote rpBEr
-m, --mapping_fp
The sample metdata mapping file
Pattern Body Robert DIGITAL Handmade US Handmade Handbag Latino CASE Purse CAMERA BLUE Kaufman Cultural COLOR CELL PHONE Bag Fabric CL BAG Cross Fashion Cotton VIRGIN Bag Shoulder MARY GUADALUPE US OqwgqH
--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]
Hobo Front Leather Elephants Trim w Personalized Cute Genuine Purse O5600qw
--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
Handbag Flap Crystal Clutch Women's Evening Damara Gold Texture Chic 6IqgnwIO0
Outdoor Leather Girls for Silver Bag School Backpack Purse Travel Weave Fashion Women LIZHIGU 06Tqd0

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