missionbio.mosaic.io.merge

missionbio.mosaic.io.merge(samples)

Merge multiple samples into one.

3 bases are appended to the barcodes in each sample to avoid the collision of barcodes across samples.

Parameters
sampleslist

The list of samples to merge.

Returns
combomissionbio.mosaic.sample.Sample

A new sample with ‘sample_id’ added to the row_attrs showing the sample that the barcode belongs to.