merge_replica module

merge_replica.merge_replica(inpath, meta_table, outpath)[source]

Function to merge replica with same BioSample = Case_ID and condition

Param

inpath: path to TPM/featureCounts merged table

Param

meta_table: metadata table, dataFrame

Param

outpath: path where to store merged_file, csv

Returns

merged_replica_file.csv

merge_replica.read_metadata(meta)[source]

Function to read metadata table and connect case_id to file_id Format: FileID, CaseID, Sample_Type, Project

Param

meta: inpath to metadata table

Returns

metadata: as dataFrame

Returns

dictionary: mapping case_id to sample_ids